Updated Mono and now will not run on startup
Posted: Thu 19 May 2022 6:31 am
I have two instances of CMX running - one on a Davis Station and the other on an Ecowitt Station. They are both running on a Raspberry Pi with Bullseye and both are the latest version of CMX. There was an update to Mono this morning which I applied to both.
https://longsuttonweather.co.uk
https://longsutton-weather.co.uk
After the update CMX starts on the Davis one after a reboot but not on the Ecowitt (both are started as a service).
If I manually start the Ecowitt one with systemctl restart cumulusmx it works fine.
systemctl status cumulusmx gives a Mono error
May 19 07:19:39 Ecowitt-Pi mono[401]: CumulusMX.exe: Sequence contains no elements
No idea why one is working and the other isn't.
I have a startup delay of 30 second for both of them.
Any ideas.
**EDIT**
I found this post viewtopic.php?t=20382
and added ExecStartPre=/bin/sleep 10 to the service file and it seems to work fine now!
But why the problem on the Ecowitt station and not the Davis?
https://longsuttonweather.co.uk
https://longsutton-weather.co.uk
After the update CMX starts on the Davis one after a reboot but not on the Ecowitt (both are started as a service).
If I manually start the Ecowitt one with systemctl restart cumulusmx it works fine.
systemctl status cumulusmx gives a Mono error
May 19 07:19:39 Ecowitt-Pi mono[401]: CumulusMX.exe: Sequence contains no elements
No idea why one is working and the other isn't.
I have a startup delay of 30 second for both of them.
Any ideas.
**EDIT**
I found this post viewtopic.php?t=20382
and added ExecStartPre=/bin/sleep 10 to the service file and it seems to work fine now!
But why the problem on the Ecowitt station and not the Davis?