Page 1 of 2

Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 1:49 pm
by ConligWX
When I upload now after installing the new version all I see in the staus is "error"


Capture.PNG

log files show the following:

Code: Select all

2023-03-15 13:34:49.051 Upload Now: Specified argument was out of the range of valid values.
Parameter name: start
2023-03-15 13:34:51.843 Upload Now: Specified argument was out of the range of valid values.
Parameter name: start
2023-03-15 13:34:53.474 Upload Now: Specified argument was out of the range of valid values.
Parameter name: start
2023-03-15 13:34:55.075 Upload Now: Specified argument was out of the range of valid values.
Parameter name: start
2023-03-15 13:34:57.330 Upload Now: Specified argument was out of the range of valid values.
Parameter name: start
2023-03-15 13:34:59.025 Upload Now: Specified argument was out of the range of valid values.
Parameter name: start
all files from the zip archive uploaded and hash checked.

emailed Mark too.


anyone confirm they are getting the same issue?

Code: Select all

Command line: /usr/lib/mono/4.5/mono-service.exe -d:/CumulusMX CumulusMX.exe -service 
Cumulus MX v.3.24.2 build 3235
Mono version: 6.12.0.182 (tarball Tue Jun 14 22:35:00 UTC 2022)
Platform: Unix
OS version: Unix 5.15.0.67
Current culture: English (United Kingdom) [en-GB]
Running as a 64 bit process

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 2:47 pm
by HansR
Not that error (yet) but I do get 4 errors like below in three hours (which not often before) in the realtime uploads:

Code: Select all

2023-03-15 15:10:00.130 PHP[Int]: Error - An error occurred while sending the request.
2023-03-15 15:10:00.130 PHP[Int]: Base exception - The server returned an invalid or unrecognized response.
This is not critical though as the uploads continue fine.

Just for info.

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 2:54 pm
by HansR
And checking ConligWX's error I got:

Code: Select all

2023-03-15 15:45:00.437 DoLogFile: Writing log entry for 15-3-2023 15:45:00
2023-03-15 15:45:00.439 DoLogFile: log entry for 15-3-2023 15:45:00 written
2023-03-15 15:45:00.445 Writing today.ini, LastUpdateTime = 15-3-2023 15:45:00 raindaystart = 211,1 rain counter = 211,4
2023-03-15 15:48:54.148 Upload Now: Specified argument was out of the range of valid values.
Parameter name: start
2023-03-15 15:50:00.496 DoLogFile: Writing log entry for 15-3-2023 15:50:00
2023-03-15 15:50:00.497 DoLogFile: log entry for 15-3-2023 15:50:00 written
2023-03-15 15:50:00.500 Writing today.ini, LastUpdateTime = 15-3-2023 15:50:00 raindaystart = 211,1 rain counter = 211,4
The interface screenshot looks the same.

So just one error in the log. Uploads simply continue.
Could this have anything to do with interference with the regular realtime upload? nah...

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 2:59 pm
by Nossie
I'm also getting error similar to that top screenshot but I'm working and I don't have time to check the logs - the real time data is still updating through


Re-upload full copies of the graph data files rather than incremental
Include regenerating and transfer of daily graph data files
Include transfer of latest NOAA report files

immediate error when I try to tick and submit any of these options.

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 3:09 pm
by ConligWX
just for info I'm using ftp and not php for uploads.

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 4:01 pm
by mcrossley
Oh dear, not sure how that happened as it was working fine - I'll blame the cat again, a single character deleted from the HTML file.

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 4:19 pm
by HansR
Yes, it works (after CTRL-F5): it says Upload process invoked :D

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 4:52 pm
by HansR
Anyway, having said that the HTML is OK now there is still the arguments error:

Code: Select all

2023-03-15 17:17:45.339 Upload Now: Specified argument was out of the range of valid values.
Parameter name: start
2023-03-15 17:18:00.598 PHP[Int]: Uploading daily graph data file: alldailywinddata.json
2023-03-15 17:18:00.598 PHP[Int]: Uploading daily graph data file: alldailytempdata.json
2023-03-15 17:18:00.598 PHP[Int]: Uploading daily graph data file: alldailyhumdata.json
2023-03-15 17:18:00.598 PHP[Int]: Uploading daily graph data file: alldailyraindata.json
2023-03-15 17:18:00.598 PHP[Int]: Uploading daily graph data file: alldailysolardata.json
2023-03-15 17:18:00.598 PHP[Int]: Uploading daily graph data file: alldailypressdata.json
2023-03-15 17:20:00.051 DoLogFile: Writing log entry for 15-3-2023 17:20:00
2023-03-15 17:20:00.052 DoLogFile: log entry for 15-3-2023 17:20:00 written
2023-03-15 17:20:00.056 Writing today.ini, LastUpdateTime = 15-3-2023 17:20:00 raindaystart = 211,1 rain counter = 211,4

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 5:57 pm
by mcrossley
I'm not seeing that error, and tbh I cannot see anything in that (smallish) function relating to a parameter named start!

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 5:59 pm
by mcrossley
Any other messages from Upload Now before that in the log?

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 6:32 pm
by HansR
mcrossley wrote: Wed 15 Mar 2023 5:59 pm Any other messages from Upload Now before that in the log?
No, only in this section so just before uploading the alldaily logs.
It does not seem to be a protocol error.

[EDIT:] I lied, one more occurrence:

Code: Select all

2023-03-15 15:45:00.445 Writing today.ini, LastUpdateTime = 15-3-2023 15:45:00 raindaystart = 211,1 rain counter = 211,4
2023-03-15 15:48:54.148 Upload Now: Specified argument was out of the range of valid values.
Parameter name: start
2023-03-15 15:50:00.496 DoLogFile: Writing log entry for 15-3-2023 15:50:00
2023-03-15 15:50:00.497 DoLogFile: log entry for 15-3-2023 15:50:00 written

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 7:14 pm
by mcrossley
could you switch on debug logging and try it again?

There should be a debug message "Upload Now: Flagging the graph data files for recreation and upload/copy"

If that isn't output, then the only place before that I can see that it may fail is deserialising the JSON from html page. But nothing about that has a parameter called "start" that I can see.

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 7:20 pm
by ConligWX
Thanks for the quick fix mark much appreciated :clap:

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 7:42 pm
by HansR
mcrossley wrote: Wed 15 Mar 2023 7:14 pm could you switch on debug logging and try it again?

There should be a debug message "Upload Now: Flagging the graph data files for recreation and upload/copy"

If that isn't output, then the only place before that I can see that it may fail is deserialising the JSON from html page. But nothing about that has a parameter called "start" that I can see.
It's currently running with debug on.
The first attempt to upload all datafiles did not deliver an error (yes I noticed the flagging messages). I let it running until the error found...

Re: Upload now broken 3.24.2

Posted: Wed 15 Mar 2023 8:00 pm
by HansR
A second attempt to Upload Now! did not generate error(s).
I'll let it run with debug / rollover etc... and check tomorrow morning.
Election day over here ;)