Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Cumulus 3107 crashes when I use the :8998 site

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
martinu
Posts: 93
Joined: Wed 01 Jan 2014 7:54 pm
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi: Raspbian Stretch
Location: Rudston, North Yorkshire

Cumulus 3107 crashes when I use the :8998 site

Post by martinu »

I've noticed a number of instances when Cumulus has crashed (no access to 8998 site, no mono process running) while I've been using the 8998 site.

Running on Raspberry Pi 3 B+. (Raspbian Stretch) "uname -a" gives "Linux martin-pi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux". "dpkg-query -l" output is in attached dpkg.txt file.


It's happened when I've been accessing the Select-a-Chart (typically when I add the first data line - which displays OK - and I then add a second line), or when I've been in the Settings menu (when I tried to enable Spike Removal in alarms, or when I tried to turn on Debug).

The log files in MXdiags don't really help. I was hoping that I could turn on debugging so you'd get more diagnostics, but as soon as I press Save after ticking the Debug logging and Data logging, it crashes. Is there a way for me to hand-edit the Cumulus.ini file so it starts in Debug mode?


I'm starting Cumulus manually using "sudo ./cumulusmx.sh". I also auto-start it at boot time, I *think* from init.d (can't remember: it's so long ago since I set that up. for a much earlier build of Cumulus).

I've attached a couple of MXdiags files which show that Cumulus had only just started, but as soon as I went into Settings on the 8998 site to turn on debugging, it crashed. I've also attached an "ls -lR" output of the CumulusMX directory and everything below it, in case there's a permissions problem, and the output of "ps -alef | grep Cum" to show the command line options for the "mono CumulusMX.exe" process.

As far as I can remember, the CumulusMX tree structure is unchanged from when I was running b3086, apart from expanding the 3107 ZIP over the top of it and then modifying the web/*T.htm templates, and the webfiles/js/*.js and interfaces/js/*.js files to customise the graphs (eg labelling the 00:00 time on the graphs in red to make it easier to see when a new date starts, and disabling the display of the navigation panel when graphs are exported to PNG, PDF, SVG etc).
dpkg.txt
20210209-114139.txt
20210209-114348.txt
ps.txt
ls.txt
20210207-161943.zip
(the last log file is for the first time I ran b3107, when it ran for 3 days until it crashed when I was running Select-a-Graph on the 8998 site).

Cumulus seems run reliably until I start using the 8998 site...

All accesses to the 8998 site have been from Firefox on a Windows 7 PC, rather from a browser on the Pi.
You do not have the required permissions to view the files attached to this post.
sutne
Posts: 577
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2560 (WS80) and HP2550 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: Cumulus 3107 crashes when I use the :8998 site

Post by sutne »

You are running mono version 4.
This is a known problem.
You must upgrade to mono version 5 or 6.
martinu
Posts: 93
Joined: Wed 01 Jan 2014 7:54 pm
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi: Raspbian Stretch
Location: Rudston, North Yorkshire

Re: Cumulus 3107 crashes when I use the :8998 site

Post by martinu »

Ah. I must have missed the mention in one of the build release notes to upgrade to Mono 5 or 6. Do I need to uninstall Mono 4, or if I install Mono 5 or 6, will it remove/update the Mono 4 files? I've been keeping the Pi up to date with sudo apt update and sudo apt full-upgrade, but evidently this doesn't update Mono.
sutne
Posts: 577
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2560 (WS80) and HP2550 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: Cumulus 3107 crashes when I use the :8998 site

Post by sutne »

Following this link you will have the latest version.

It will overwrite existing mono.

https://www.mono-project.com/download/s ... n-raspbian
martinu
Posts: 93
Joined: Wed 01 Jan 2014 7:54 pm
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi: Raspbian Stretch
Location: Rudston, North Yorkshire

Re: Cumulus 3107 crashes when I use the :8998 site

Post by martinu »

Excellent: the link that I found was the same one, so I'm doing it correctly! And the ongoing status messages talk about overwriting 6.x.x over 4.x.x.


UPDATE: Cumulus started OK and seems to be behaving itself now. Thanks for you help, sutne.
Post Reply