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?
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Updated Mono and now will not run on startup
Moderator: mcrossley
- The Dalek Hunter
- Posts: 256
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
-
- Posts: 2477
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Updated Mono and now will not run on startup
Which version of Mono did you upgrade to? Other Pi users may be interested in this...
- The Dalek Hunter
- Posts: 256
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
Re: Updated Mono and now will not run on startup
The one that was offered via the standard update ie sudo apt update && sudo apt upgrade -y
mono -V returns
Mono JIT compiler version 6.12.0.179 (tarball Tue May 17 21:57:31 UTC 2022)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(610)
Suspend: preemptive
GC: sgen (concurrent by default)
mono -V returns
Mono JIT compiler version 6.12.0.179 (tarball Tue May 17 21:57:31 UTC 2022)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(610)
Suspend: preemptive
GC: sgen (concurrent by default)
-
- Posts: 717
- Joined: Thu 20 Aug 2020 8:35 am
- Weather Station: Davis VP2 Plus
- Operating System: RPiv4 64bit Linux 12 Bookworm
- Location: Jersey Channel Islands
- Contact:
Re: Updated Mono and now will not run on startup
Hi there
I just ran the mono upgrade from my RPi via the usual method after preparing a backup copy of CMX.
So sudo apt update and sudo apt update, the update is quite slow but mono always does update slowly, then sudo reboot and check CMX restarts OK.
Since my CMX software data was not moved CMX started with no problem, a restart of CUtils produced no unexpected issues and my website looks as expected.
The new version of mono is Mono JIT compiler version 6.12.0.179 (tarball Tue May 17 21:57:31 UTC 2022)
For completeness I run a Davis VP2 console through a RPi 4 model B Rev 1.1 using Raspbian GNU/Linux 11 (bullseye)
I just ran the mono upgrade from my RPi via the usual method after preparing a backup copy of CMX.
So sudo apt update and sudo apt update, the update is quite slow but mono always does update slowly, then sudo reboot and check CMX restarts OK.
Since my CMX software data was not moved CMX started with no problem, a restart of CUtils produced no unexpected issues and my website looks as expected.
The new version of mono is Mono JIT compiler version 6.12.0.179 (tarball Tue May 17 21:57:31 UTC 2022)
For completeness I run a Davis VP2 console through a RPi 4 model B Rev 1.1 using Raspbian GNU/Linux 11 (bullseye)
- The Dalek Hunter
- Posts: 256
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
Re: Updated Mono and now will not run on startup
As I said in my first post - my Davis setup worked fine after the Mono update, it was only the Ecowitt one that failed to restart on boot and needed tweaking.
Interested to know why. Both are running on a Raspberry Pi 4b with the same memory and the latest version of Bullseye with all the latest updates. Both have a 32 gb SD card of the same class. Both are connected via ethernet. Both have a 30 second startup delay in their settings.
The Davis uses a WLL and the Ecowitt uses the GW1000B Gateway.
Interested to know why. Both are running on a Raspberry Pi 4b with the same memory and the latest version of Bullseye with all the latest updates. Both have a 32 gb SD card of the same class. Both are connected via ethernet. Both have a 30 second startup delay in their settings.
The Davis uses a WLL and the Ecowitt uses the GW1000B Gateway.