Under b4064 (and for several version prior to this) a MySQL Custom upload - Minute interval was set to 1 minute intervals.
After updating to b4067, no errors were recorded but the upload interval somehow became every 10 minutes immediately after restarting.
Cumulus.ini setting CustomMySqlMinutesIntervalIdx was =0 prior to the update, then =6 afterwards. Changing it back to 0 resolved the issue.
I have CMX running on two RPis and this bug/spontaneous mutation arose on both during their updating. One uploads to an external webserver and the other to a local one.
For the first time, the attached (crude) script was used to manage updating.
Cumulus.ini and log files can be provided if necessary.
Thanks
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
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
MySql Custom Upload b4067
Moderator: mcrossley
- billy
- Posts: 260
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi-4 bookworm
- Location: Gooseberry Hill, Western Australia
MySql Custom Upload b4067
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: MySql Custom Upload b4067
There is a bug in the code that writes the ini file that has been there since v3.20.0 - b3202
Since then, the value of the interval for the Custom uploads has been written to CustomMySqlMinutesIntervalIdx, but read from CustomMySqlMinutesIntervalIndex. Previously it was read and written to CustomMySqlMinutesIntervalIndex.
So, for v3.20.0, you should make sure the required value is in CustomMySqlMinutesIntervalIndex - the settings page will write it to CustomMySqlMinutesIntervalIdx.
I'll fix this in the next release so that CustomMySqlMinutesIntervalIndex is used by both read and write in the future.
Since then, the value of the interval for the Custom uploads has been written to CustomMySqlMinutesIntervalIdx, but read from CustomMySqlMinutesIntervalIndex. Previously it was read and written to CustomMySqlMinutesIntervalIndex.
So, for v3.20.0, you should make sure the required value is in CustomMySqlMinutesIntervalIndex - the settings page will write it to CustomMySqlMinutesIntervalIdx.
I'll fix this in the next release so that CustomMySqlMinutesIntervalIndex is used by both read and write in the future.
- billy
- Posts: 260
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi-4 bookworm
- Location: Gooseberry Hill, Western Australia
Re: MySql Custom Upload b4067
Thanks for the explanation and the fix
CustomMySqlMinutesIntervalIndex is absent from Cumulus.ini in both my installations.
And how the updating of CustomMySqlMinutesIntervalInd to =6 translates to a 10 minute upload frequency is a mystery I don't need an explanation for
CustomMySqlMinutesIntervalIndex is absent from Cumulus.ini in both my installations.
And how the updating of CustomMySqlMinutesIntervalInd to =6 translates to a 10 minute upload frequency is a mystery I don't need an explanation for