Page 1 of 1
Upgraded from v3 to v4. Serial port won't open.
Posted: Wed 01 Jan 2025 1:14 am
by rbuxton
The transition from v3 to v4 looks all good except that the serial port for the weather station will not open. Below is the first few lines from the error message upon executing the dotnet cumulusmx.dll command.
I'm working from a RPi, Bullseye OS. Seems GLIBC_2.34 is missing but what would I know.
2024-12-31 14:48:44.079 Opening station type 1 - Davis Vantage Pro2
2024-12-31 14:48:44.357 Last update: 2024-12-31T13:20:00
2024-12-31 14:48:45.571 Error opening serial port - Unable to load shared library 'libSystem.IO.Ports.Native' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
/lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.34' not found (required by /home/pi/CumulusMX/runtimes/linux-arm/native/libSystem.IO.Ports.Native.so)
Re: Upgraded from v3 to v4. Serial port won't open.
Posted: Wed 01 Jan 2025 10:02 am
by SamiS
I think you need to upgrade your OS to Bookworm. Bullseye is no longer supported for .NET 8 regarding to CMX v4 installation instructions.
viewtopic.php?t=22051
Re: Upgraded from v3 to v4. Serial port won't open.
Posted: Wed 01 Jan 2025 12:59 pm
by sutne
I think you need to upgrade your OS to Bookworm. Bullseye is no longer supported for .NET 8 regarding to CMX v4 installation instructions.
I am running CMX v4 on Bullseye, Net8 needs different libraries, as mentioned in the instruction:
Re: Upgraded from v3 to v4. Serial port won't open.
Posted: Wed 01 Jan 2025 4:59 pm
by rbuxton
sutne wrote: ↑Wed 01 Jan 2025 12:59 pm
I think you need to upgrade your OS to Bookworm. Bullseye is no longer supported for .NET 8 regarding to CMX v4 installation instructions.
I am running CMX v4 on Bullseye, Net8 needs different libraries, as mentioned in the instruction:
Thanks. I'm going to read the install instructions again and check out the Microsoft link. I'll report back.
-Randy
Re: Upgraded from v3 to v4. Serial port won't open.
Posted: Wed 01 Jan 2025 5:37 pm
by mcrossley
I think the problem is GLIBC_2.34 or later is not available for Bullseye. So far, the restriction only seems to affect stations that use a serial connection afaik.
Re: Upgraded from v3 to v4. Serial port won't open.
Posted: Wed 01 Jan 2025 6:01 pm
by rbuxton
mcrossley wrote: ↑Wed 01 Jan 2025 5:37 pm
I think the problem is GLIBC_2.34 or later is not available for Bullseye. So far, the restriction only seems to affect stations that use a serial connection afaik.
I can't fix the problem. I'll just upgrade to Bookworm.
Re: Upgraded from v3 to v4. Serial port won't open.
Posted: Fri 03 Jan 2025 2:32 pm
by rbuxton
Some progress.... I upgraded the RPi to Bookworm. CumulusMX v4 now receives data from the Davis VP2 Wx station.
Now a new problem,,,,, MQTT Explorer does not receive the MQTT data from CumulusMX. I'm wondering if the MQTT template files need some fine tuning. It worked when I was on Bullseye OS and CumulusMX v3.
Re: Upgraded from v3 to v4. Serial port won't open.
Posted: Fri 03 Jan 2025 6:10 pm
by rbuxton
User error (I think),,,,, I restarted CumulusMX. MQTT now functions as expected.
Thanks all for talking me through this.
-Randy