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

Issue with 24hour rain picking up annual total on upgrade to 3213

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
chrishudson
Posts: 22
Joined: Sun 19 Jul 2015 5:37 am
Weather Station: Davis Vantage Pro2
Operating System: Raspbian Bookworm - Pi 5
Location: Canberra, ACT

Issue with 24hour rain picking up annual total on upgrade to 3213

Post by chrishudson »

I just upgraded from 3190 to 3213 and my 24hr rainfall and max24 hour rainfall showed as 747mm despite there being no rain on the day I upgraded and the day before. The 24 hour rainfall is increasing each day. 747mm was my total annual rainfall prior to the upgrade so it seems to have somehow picked up that figure. This has also impacted my this month, this year, monthly record for October, and all time record rain figures.

I have tried editing the monthly , yearly and all-time record 24hour figure and it immediately reverts back to the 747. I tried manually editing today.ini and yesterday.ini while CumulusMX was shut done and that immediately caused a mono crash, so had to revert to the backed up ini files.

The 747mm figure has now also made it into my SQL databases dayfile.

Is there a way I can remove that 747mm figure so it no longer jumps back into the data after editing the history data.

You can see below in my MXDiags my attempt to change the all-time figure and it immediately changing back.

Code: Select all

2022-10-30 17:40:00.491 DoLogFile: Writing log entry for 30/10/2022 5:40:00 PM
2022-10-30 17:40:00.498 DoLogFile: log entry for 30/10/2022 5:40:00 PM written
2022-10-30 17:40:00.531 Writing today.ini, LastUpdateTime = 30/10/2022 5:40:00 PM raindaystart = 747 rain counter = 747
2022-10-30 17:40:59.434 New all-time record: New time = 2022-10-30 15:30, new value = 154.200 "High 24 hour rain" prev time = 2022-10-30 15:30, prev value = 747.000
2022-10-30 17:41:00.479 New all-time record: New time = 2022-10-30 17:41, new value = 747.000 "High 24 hour rain" prev time = 2022-10-30 15:30, prev value = 154.200
2022-10-30 17:41:03.436 New all-time record: New time = 2018-02-26 07:10, new value = 747.000 "High 24 hour rain" prev time = 2022-10-30 17:41, prev value = 747.000
2022-10-30 17:41:41.893 FTP[Int]: Uploading daily graph data file: web/alldailytempdata.json
Last edited by chrishudson on Mon 31 Oct 2022 7:19 am, edited 1 time in total.
Latham, ACT, Australia
http://lathamweather.net
Davis Vantage Pro 2 - Raspberry Pi 5
chrishudson
Posts: 22
Joined: Sun 19 Jul 2015 5:37 am
Weather Station: Davis Vantage Pro2
Operating System: Raspbian Bookworm - Pi 5
Location: Canberra, ACT

Re: Issue with 24hour rain picking up annual total on upgrade

Post by chrishudson »

BTW The reason I did the upgrade was that I had a loss of data input and CumulusMX seemed to have auto-stopped. It took me 2 days to notice that it wasn't running. There were a series of escalating issues that seemed to start the day before the stoppage culminating in the loss of data input. I was hoping that somewhere in the upgrades between 3190 and 3213 this issue had been fixed.

To exacerbate issues there were no daily backups as they stopped over a month before [Sep 23rd] when an issue with HTTP uploads to WeatherCloud coincided with the daily backup process and it didn't happen. It then didn't happen on all the days since then. I only noticed this during the upgrade and my attempts to fix the spurious rain data.

I have attached the MXDiag file for reference.
You do not have the required permissions to view the files attached to this post.
Latham, ACT, Australia
http://lathamweather.net
Davis Vantage Pro 2 - Raspberry Pi 5
chrishudson
Posts: 22
Joined: Sun 19 Jul 2015 5:37 am
Weather Station: Davis Vantage Pro2
Operating System: Raspbian Bookworm - Pi 5
Location: Canberra, ACT

Re: Issue with 24hour rain picking up annual total on upgrade

Post by chrishudson »

Have determined the Mono crash happens when CumulusMX tries to send an email. In this case, it was when my rain total went above 25mm.
I tried to send a test email and that also generated the same crash.

Mono version is 6.8.0.105 running on a Rasberry Pi running Raspbian 5.15.61-v7 [bullseye]

Have attached MXDiag log, and Mono crash info. Also attached a screen shot that shows the rainfall chart dropped back to 0 after crash
You do not have the required permissions to view the files attached to this post.
Latham, ACT, Australia
http://lathamweather.net
Davis Vantage Pro 2 - Raspberry Pi 5
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue with 24hour rain picking up annual total on upgrade

Post by HansR »

chrishudson wrote: Mon 31 Oct 2022 7:08 am Have determined the Mono crash happens when CumulusMX tries to send an email. In this case, it was when my rain total went above 25mm.
I tried to send a test email and that also generated the same crash.

Mono version is 6.8.0.105 running on a Rasberry Pi running Raspbian 5.15.61-v7 [bullseye]

Have attached MXDiag log, and Mono crash info. Also attached a screen shot that shows the rainfall chart dropped back to 0 after crash
See this thread (I point to the message where the solution is given).
So: update to mono 6.12!
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
chrishudson
Posts: 22
Joined: Sun 19 Jul 2015 5:37 am
Weather Station: Davis Vantage Pro2
Operating System: Raspbian Bookworm - Pi 5
Location: Canberra, ACT

Re: Issue with 24hour rain picking up annual total on upgrade to 3213

Post by chrishudson »

Thanks, I had tried to update mono to see if that was the issue, but it told me I had the latest version. I followed the doco you linked and now am running Mono 6.12.0.182 and the crashes when sending email have stopped.

I have also been able to adjust my records now that the month has rolled over to a new month. [Although my monthlyalltime.ini had been cleared so I had to get that back from a previous days backup]

I did have an issue with Cumulus failing to terminate the first time running it after the Mono upgrade. It just sat there and didn't return to the prompt so had to close the terminal window to clear it. Last line in the MXdiags file was "Releasing mutex" which appears to be normal. Tried a couple more times and they closed without issue.
Latham, ACT, Australia
http://lathamweather.net
Davis Vantage Pro 2 - Raspberry Pi 5
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue with 24hour rain picking up annual total on upgrade to 3213

Post by HansR »

chrishudson wrote: Tue 01 Nov 2022 7:57 am I did have an issue with Cumulus failing to terminate the first time running it after the Mono upgrade. It just sat there and didn't return to the prompt so had to close the terminal window to clear it. Last line in the MXdiags file was "Releasing mutex" which appears to be normal. Tried a couple more times and they closed without issue.
If you run it from the console CMX should not return to the prompt, it operates until you press ctrl-c. The console is meant to remain open.
If you want it otherwise you should run it as a service. Your profile says you are running Raspbian Stretch. It might be a good idea to upgrade that as well btw.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
chrishudson
Posts: 22
Joined: Sun 19 Jul 2015 5:37 am
Weather Station: Davis Vantage Pro2
Operating System: Raspbian Bookworm - Pi 5
Location: Canberra, ACT

Re: Issue with 24hour rain picking up annual total on upgrade to 3213

Post by chrishudson »

I do run CMX from a console. It was after hitting Ctrl-C that it didn't fully close.
HansR wrote: Tue 01 Nov 2022 8:31 am Your profile says you are running Raspbian Stretch. It might be a good idea to upgrade that as well btw.
Fixed ;)
Latham, ACT, Australia
http://lathamweather.net
Davis Vantage Pro 2 - Raspberry Pi 5
Post Reply