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

Updating records

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
GaxUser
Posts: 29
Joined: Thu 19 May 2022 9:26 pm
Weather Station: davis vp2
Operating System: windows
Contact:

Updating records

Post by GaxUser »

I recently upgraded CumulusMx and Utils. I've noticed that the monthy records in MX do not go back before the month that I upgraded. It is working in Utils however. How do I regenerate these records?
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Updating records

Post by water01 »

Check your start date is set to the date you started taking readings.
David
Image
GaxUser
Posts: 29
Joined: Thu 19 May 2022 9:26 pm
Weather Station: davis vp2
Operating System: windows
Contact:

Re: Updating records

Post by GaxUser »

StartDateIso=2017-03-20
GaxUser
Posts: 29
Joined: Thu 19 May 2022 9:26 pm
Weather Station: davis vp2
Operating System: windows
Contact:

Re: Updating records

Post by GaxUser »

I seem to be able to use the admin editor to edit the records. Is there no other way?
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Updating records

Post by water01 »

Not sure what you mean by "other way". The Editors in MX allow you to alter most data within the various files maintained by MX, so what else do you need to edit?
David
Image
GaxUser
Posts: 29
Joined: Thu 19 May 2022 9:26 pm
Weather Station: davis vp2
Operating System: windows
Contact:

Re: Updating records

Post by GaxUser »

Instead of manually editing each field in all the records, isn't there a way for cumulus to fill in the fields? In other words regenerate the monthly/yearly /alltime records automatically.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Updating records

Post by water01 »

Have you tried the function in the top right hand corner to read the monthly record data (can take some time depending on the amount of data) and then use those results to populate the incorrect fields?
David
Image
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: Updating records

Post by HansR »

GaxUser wrote: Thu 06 Jul 2023 12:09 am Instead of manually editing each field in all the records, isn't there a way for cumulus to fill in the fields? In other words regenerate the monthly/yearly /alltime records automatically.
No there is no way to recalculate the records by the machine, manual editing is the way.
(afaik)

But I don't think it is not the StartDateIso nor the records, changing the records does not solve the problem. There must be something else wrong because the daily rain and sun hours charts don't go beyond June either and that is not correct. Could you post the MXdiags file with debug/dat switched on? We definitely can be sure the data is there as CUtils uses them (which uses several other techniques) ;)
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
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: Updating records

Post by HansR »

I just realised I may be wrong about the charts but I still am not sure about the cause because the records should have been there.
Are you sure the records were there before the update of CMX?
Did you move all files in the data directory? Do you still have a backup of the inifiles (like alltime.ini) from before the update?
And note that you have several extreme data in your database (zero temperature and pressure etc...).
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
GaxUser
Posts: 29
Joined: Thu 19 May 2022 9:26 pm
Weather Station: davis vp2
Operating System: windows
Contact:

Re: Updating records

Post by GaxUser »

I'm afraid I don't remember the steps I used to upgrade. I effectively created a new install. i.e. new directory and copied over the data files. I do have the original .ini files.

The MXdiags files have many "LogFluentFtpMessage: Error = Object reference not set to an instance of an object." errors. If I understand correctly that is a different bug, and are false errors? I've turned off ftp logging for now.

Thanks for pointing out the data extremes (different issue). Seems gaps in the data record can cause 0's for some fields.
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: Updating records

Post by HansR »

GaxUser wrote: Thu 06 Jul 2023 5:16 pm I do have the original .ini files.
Copy the current CumulusMX directory to a safe place and copy the old ini files to the current installation.
If that does not work restore from the copy you made.
It could well be you just started over with new records because it did not have the ini files (the records database). Restoring the original ini files from before the update is worth a try.
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
GaxUser
Posts: 29
Joined: Thu 19 May 2022 9:26 pm
Weather Station: davis vp2
Operating System: windows
Contact:

Re: Updating records

Post by GaxUser »

Excellent, that did the trick. Thanks for all your help.
Post Reply