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 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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
Crash Cumulus MX
Moderator: mcrossley
-
- Posts: 67
- Joined: Mon 11 Oct 2021 12:38 pm
- Weather Station: HP1000 Froggit Pro
- Operating System: Windows 10
Crash Cumulus MX
Hello everyone,
Since I started it, I have seen 2 sudden stops of the cumulus which was not responding anymore.
However, the last one took place during my absence and I find myself on my site with a huge hole in the data.
Wouldn't it be possible to integrate a script on the raspberry (yes I'm on raspberry pi lite, I'm using the image provided in the wiki) that regularly checks if Cumulus is active (for example by looking at the date of edition of a file it's supposed to modify every X seconds) and if it's not the case (for example this file has been edited more than 5 minutes ago), it runs :
sudo systemctl stop cumulusmx (to make sure you stop it)
and immediately :
sudo systemctl start cumulusmx.
In this way, sudden stops would be prevented and the risk of losing data would be greatly reduced.
Thank you!
Translated with www.DeepL.com/Translator (free version)
Since I started it, I have seen 2 sudden stops of the cumulus which was not responding anymore.
However, the last one took place during my absence and I find myself on my site with a huge hole in the data.
Wouldn't it be possible to integrate a script on the raspberry (yes I'm on raspberry pi lite, I'm using the image provided in the wiki) that regularly checks if Cumulus is active (for example by looking at the date of edition of a file it's supposed to modify every X seconds) and if it's not the case (for example this file has been edited more than 5 minutes ago), it runs :
sudo systemctl stop cumulusmx (to make sure you stop it)
and immediately :
sudo systemctl start cumulusmx.
In this way, sudden stops would be prevented and the risk of losing data would be greatly reduced.
Thank you!
Translated with www.DeepL.com/Translator (free version)
-
- Posts: 2435
- 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: Crash Cumulus MX
Sudden stops are unusual - please zip up the log files from your MXdiags folder and attach to a reply to this topic.
If you run MX as a service then you can configure the service to restart on failure. But it would be good to see your log files to track down what is causing the sudden stop.
If you run MX as a service then you can configure the service to restart on failure. But it would be good to see your log files to track down what is causing the sudden stop.
-
- Posts: 67
- Joined: Mon 11 Oct 2021 12:38 pm
- Weather Station: HP1000 Froggit Pro
- Operating System: Windows 10
Re: Crash Cumulus MX
Thanks for the reply!
It was mainly during the times I was setting it up and doing a major FTP transfer or something but I'll check. Since I haven't touched it anymore it's holding.
However I am interested to know how to restart cumulus automatically in case of failure (I use it as a service indeed) ?
Thanks for your help.
It was mainly during the times I was setting it up and doing a major FTP transfer or something but I'll check. Since I haven't touched it anymore it's holding.
However I am interested to know how to restart cumulus automatically in case of failure (I use it as a service indeed) ?
Thanks for your help.
-
- Posts: 2435
- 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: Crash Cumulus MX
Add the following to the [Service] section of your cumulusmx.service unit file:
Code: Select all
Restart=always
RestartSec=10
Code: Select all
sudo systemctl daemon-reload
-
- Posts: 67
- Joined: Mon 11 Oct 2021 12:38 pm
- Weather Station: HP1000 Froggit Pro
- Operating System: Windows 10
Re: Crash Cumulus MX
Hello,
I have just one remark. I had to reboot my raspberry yesterday and I noticed that the connection with my GW100 is not very good at startup. All the data except the pressure remain at 0.
I have to do the commands: "sudo systemctl stop cumulusmx" then "sudo systemctl start cumulusmx" to make it work again.
After several boot I notice that it is systematically the case.
It is rather problematic because in case of absence or power cut the reboot will be out of order.
I have the last update of cumulus and my device is also up to date.
Thank you !
I have just one remark. I had to reboot my raspberry yesterday and I noticed that the connection with my GW100 is not very good at startup. All the data except the pressure remain at 0.
I have to do the commands: "sudo systemctl stop cumulusmx" then "sudo systemctl start cumulusmx" to make it work again.
After several boot I notice that it is systematically the case.
It is rather problematic because in case of absence or power cut the reboot will be out of order.
I have the last update of cumulus and my device is also up to date.
Thank you !
-
- Posts: 3215
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Crash Cumulus MX
I suggest you try using some of the Start-Up options in the Program Settings as Mark put this in to combat this type of problem.
You can delay a number seconds, ping the host to check it is up, base it on system up-time etc. I am sure one of these will solve the problem.
You can delay a number seconds, ping the host to check it is up, base it on system up-time etc. I am sure one of these will solve the problem.
- The Dalek Hunter
- Posts: 243
- 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: Crash Cumulus MX
I didn't know you could do this!freddie wrote: ↑Sun 17 Oct 2021 10:39 amAdd the following to the [Service] section of your cumulusmx.service unit file:
Don't forget to run the following after making a change to the unit file:Code: Select all
Restart=always RestartSec=10
Code: Select all
sudo systemctl daemon-reload
I presume this will not restart CMX after a manual shutdown via sudo systemctl stop cumulusmx
Just to confirm my cumulus.service file should look this this?
[Unit]
Description=CumulusMX service
Documentation=https://cumuluswiki.org/a/Main_Page
After=network-online.target
[Service]
User=root
Group=root
ExecStart=/usr/bin/mono-service -d:/home/pi/CumulusMX CumulusMX.exe -service
Type=forking
ExecStopPost=/bin/rm /tmp/CumulusMX.exe.lock
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
https://www.longsutton-weather.co.uk - Version 3 Site
https://www.angteck.co.uk - Version 4 Site
https://longsuttonweather.co.uk - Version 4 Site
https://www.the-holodeck.com/weather/ - Version 4 Site
https://www.angteck.co.uk - Version 4 Site
https://longsuttonweather.co.uk - Version 4 Site
https://www.the-holodeck.com/weather/ - Version 4 Site
-
- Posts: 67
- Joined: Mon 11 Oct 2021 12:38 pm
- Weather Station: HP1000 Froggit Pro
- Operating System: Windows 10
Re: Crash Cumulus MX
Thank you for the answer,
It seems that a 10 second delay after startup works.
It seems that a 10 second delay after startup works.