Page 1 of 1

Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 7:16 am
by CarlosLSev
Good evening, I have noticed that since March 4, 2023 the Noaa reports are not being updated. If I go to the route /var/www/html/Reports, its modification date is 00:00:03, which means that CumulusMx modifies the file but does not save or modify the current days. Tried restarting CumulusMx, upgrade to latest version. Check Noaa configuration in: Settings Noaa Settings Enable reports: Create NOAA files after daily transfer (checked) charging options Automatic upload of NOAA report files (checked) Upload folder: /var/www/html/Reports If I go to Reports to Noaa Month Reports I have tried as I read the option to Regenerate the report for the month of March and it still does not create those 3 days that are missing I'll see if today's is generated at midnight. I don't know if there is a way to recover those days The strange thing is that I don't remember having touched anything these days and CumulusMX was unchanged since the end of January, which was the last time I updated it. any suggestions?
Well, at midnight it has not been generated :( Enable cumulus ftp logging 2023-03-09 00:00:03.507 SFTP[Int]: Uploading NOAA reports 2023-03-09 00:00:03.507 SFTP[Int]: Uploading /var/www/html/Reports/NOAAMO0323.txt 2023-03-09 00:00:03.580 SFTP[Int]: Uploaded /var/www/html/Reports/NOAAMO0323.txt 2023-03-09 00:00:03.580 SFTP[Int]: Completed uploading /var/www/html/Reports/NOAAMO0323.txt 2023-03-09 00:00:03.580 SFTP[Int]: Uploading /var/www/html/Reports/NOAAYR2023.txt 2023-03-09 00:00:03.653 SFTP[Int]: Uploaded /var/www/html/Reports/NOAAYR2023.txt 2023-03-09 00:00:03.653 SFTP[Int]: Completed uploading /var/www/html/Reports/NOAAYR2023.txt 2023-03-09 00:00:03.653 SFTP[Int]: Done uploading NOAA reports

https://www.meteoviso.es/wxtempdetail.php

CumulusMX (3.24.0-b3231). |

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 7:54 am
by HansR
It does not seem to be only the NOAA reports but also the Details (the link to Detalles which you give).

So could you check the basics of the system and see if any data is entered in the dayfile.txt after the 4th of march (and of course if it is logging any data at all in the march logfile).

In response, could you please post your logfile with debug/data switched on?

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 8:05 am
by ConligWX
BTW, you are running quite old saratoga templates too:

https://www.meteoviso.es/check-fetch-ti ... w=versions

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 8:27 am
by CarlosLSev
Thanks, can you tell me exactly which files should be uploaded? Yes I know some are old but I have modifications

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 8:45 am
by HansR
CarlosLSev wrote: Thu 09 Mar 2023 8:27 am Thanks, can you tell me exactly which files should be uploaded? Yes I know some are old but I have modifications
You'll have to check on Saratoga's site. His update procedure should tell you.
Modifications are yours, we can't support that.

And yes, the data is written in the dayfile.txt correctly (that is good :D )

Could you send the logfile with debug/data on. Post the logfile after the next rollover (because that should show the NOAA report creation/sending) so that will be tomorrow.

In the meantime: could you send your current logfile? It might give already a clue. Check your procedures if you have configured any External Programs and/or scheduler. Check you PHP for the Detalles. Something outside CMX seems to be going wrong.

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 12:31 pm
by CarlosLSev
This comes out of the file 20230309-000702.txt Let's see if you can help me with that Tonight I'll upload what you ask for


2023-03-09 00:11:19.240 Creating NOAA monthly report
2023-03-09 00:11:19.360 Error at line 616, column 0, value '05/03/23' of data/mar23log.txt : System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <de882a77e7c14f8ba5d298093dde82b2>:0
at System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00016] in <de882a77e7c14f8ba5d298093dde82b2>:0
at System.Int32.Parse (System.String s, System.IFormatProvider provider) [0x00017] in <de882a77e7c14f8ba5d298093dde82b2>:0
at System.Convert.ToInt32 (System.String value) [0x0000b] in <de882a77e7c14f8ba5d298093dde82b2>:0
at CumulusMX.NOAA.CreateMonthlyReport (System.DateTime thedate) [0x00a0e] in <3d595a0294ba48e18b6dd81b095c02ee>:0
2023-03-09 00:11:19.360 Please edit the file to correct the error
2023-03-09 00:11:19.364 Saving monthly NOAA report as Reports/NOAAMO0323.txt

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 12:37 pm
by CarlosLSev
Lines 615 to 620
mar23log.txt


05/03/23;07:50;9,5;83;6,8;0,0;0,0;0;0,0;0,0;1017,1;31,5;14,8;68;0,0;9,5;9,5;0,0;0;0,00;101,32;8,7;0;0,0;185;0,0;0,0;9,5;9,5
05/03/23;10:10;11,9;76;7,8;0,0;0,0;0;0,0;0,0;1017,8;31,5;14,6;67;0,0;11,9;11,9;2,0;242;0,00;101,32;11,4;432;0,0;152;0,0;0,0;11,9;12,2
05/03/23;10:20;12,0;75;7,7;0,0;0,0;0;0,0;0,0;1018,0;31,5;14,6;66;0,0;12,0;12,0;2,0;259;0,00;101,32;11,5;465;0,0;172;0,0;0,0;12,0;12,3
05/03/23;10:30;12,7;70;7,4;0,0;1,8;327;0,0;0,0;1018,1;31,5;14,6;66;0,0;12,7;12,7;2,0;240;0,00;101,32;12,1;497;0,0;159;0,0;0,0;12,7;12,8
05/03/23;10:40;12,4;69;6,9;0,4;3,6;209;0,0;0,0;1017,9;31,5;14,6;66;0,0;12,4;12,4;2,0;215;0,00;101,32;11,6;528;0,0;160;0,0;0,0;12,3;12,4
05/03/23;10:50;12,2;67;6,2;1,6;9,4;243;0,0;0,0;1018,0;31,5;14,6;66;6,5;12,2;12,2;1,0;183;0,00;101,32;11,0;558;0,0;236;0,0;0,0;12,1;11,9

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 1:15 pm
by ConligWX
CarlosLSev wrote: Thu 09 Mar 2023 8:27 am Thanks, can you tell me exactly which files should be uploaded? Yes I know some are old but I have modifications
To update your template set to current script version(s), use the updates tool page with a query set for 27-Dec-2022 for Base-World, CU-plugin, then click "check for updates".

Capture.PNG

Before uploading the files, open each original file and the new file, and then compare it using notepad++ (and "compare" plugin) side by side. you can then add your changes to the new files, save them and upload to the web etc. you will need to do this for each new file, so take your time.

make sure you have backed up all your original files first of all.

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 1:29 pm
by CarlosLSev
ConligWX wrote: Thu 09 Mar 2023 1:15 pm
CarlosLSev wrote: Thu 09 Mar 2023 8:27 am Thanks, can you tell me exactly which files should be uploaded? Yes I know some are old but I have modifications
To update your template set to current script version(s), use the updates tool page with a query set for 27-Dec-2022 for Base-World, CU-plugin, then click "check for updates".


Capture.PNG


Before uploading the files, open each original file and the new file, and then compare it using notepad++ (and "compare" plugin) side by side. you can then add your changes to the new files, save them and upload to the web etc. you will need to do this for each new file, so take your time.

make sure you have backed up all your original files first of all.
Thanks, if I know the option, I will try to fix the Noaa reports error first and then with more time I will update the templates.

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 1:41 pm
by HansR
CarlosLSev wrote: Thu 09 Mar 2023 12:37 pm Lines 615 to 620
mar23log.txt


05/03/23;07:50;9,5;83;6,8;0,0;0,0;0;0,0;0,0;1017,1;31,5;14,8;68;0,0;9,5;9,5;0,0;0;0,00;101,32;8,7;0;0,0;185;0,0;0,0;9,5;9,5
05/03/23;10:10;11,9;76;7,8;0,0;0,0;0;0,0;0,0;1017,8;31,5;14,6;67;0,0;11,9;11,9;2,0;242;0,00;101,32;11,4;432;0,0;152;0,0;0,0;11,9;12,2
05/03/23;10:20;12,0;75;7,7;0,0;0,0;0;0,0;0,0;1018,0;31,5;14,6;66;0,0;12,0;12,0;2,0;259;0,00;101,32;11,5;465;0,0;172;0,0;0,0;12,0;12,3
05/03/23;10:30;12,7;70;7,4;0,0;1,8;327;0,0;0,0;1018,1;31,5;14,6;66;0,0;12,7;12,7;2,0;240;0,00;101,32;12,1;497;0,0;159;0,0;0,0;12,7;12,8
05/03/23;10:40;12,4;69;6,9;0,4;3,6;209;0,0;0,0;1017,9;31,5;14,6;66;0,0;12,4;12,4;2,0;215;0,00;101,32;11,6;528;0,0;160;0,0;0,0;12,3;12,4
05/03/23;10:50;12,2;67;6,2;1,6;9,4;243;0,0;0,0;1018,0;31,5;14,6;66;6,5;12,2;12,2;1,0;183;0,00;101,32;11,0;558;0,0;236;0,0;0,0;12,1;11,9
Can you post the mar23log.txt and I will see if I can detect the error in there by reading it with my tool. I cannot find it just by looking at it.

Obviously there are missing several lines but that should not give the error although there may be something specific in the build/calculation of the NOAA report.

It may be that there is an invalid character (or more) in the file which I can't see in what you show here.

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 1:53 pm
by CarlosLSev
HansR wrote: Thu 09 Mar 2023 1:41 pm
CarlosLSev wrote: Thu 09 Mar 2023 12:37 pm Lines 615 to 620
mar23log.txt


05/03/23;07:50;9,5;83;6,8;0,0;0,0;0;0,0;0,0;1017,1;31,5;14,8;68;0,0;9,5;9,5;0,0;0;0,00;101,32;8,7;0;0,0;185;0,0;0,0;9,5;9,5
05/03/23;10:10;11,9;76;7,8;0,0;0,0;0;0,0;0,0;1017,8;31,5;14,6;67;0,0;11,9;11,9;2,0;242;0,00;101,32;11,4;432;0,0;152;0,0;0,0;11,9;12,2
05/03/23;10:20;12,0;75;7,7;0,0;0,0;0;0,0;0,0;1018,0;31,5;14,6;66;0,0;12,0;12,0;2,0;259;0,00;101,32;11,5;465;0,0;172;0,0;0,0;12,0;12,3
05/03/23;10:30;12,7;70;7,4;0,0;1,8;327;0,0;0,0;1018,1;31,5;14,6;66;0,0;12,7;12,7;2,0;240;0,00;101,32;12,1;497;0,0;159;0,0;0,0;12,7;12,8
05/03/23;10:40;12,4;69;6,9;0,4;3,6;209;0,0;0,0;1017,9;31,5;14,6;66;0,0;12,4;12,4;2,0;215;0,00;101,32;11,6;528;0,0;160;0,0;0,0;12,3;12,4
05/03/23;10:50;12,2;67;6,2;1,6;9,4;243;0,0;0,0;1018,0;31,5;14,6;66;6,5;12,2;12,2;1,0;183;0,00;101,32;11,0;558;0,0;236;0,0;0,0;12,1;11,9
Can you post the mar23log.txt and I will see if I can detect the error in there by reading it with my tool. I cannot find it just by looking at it.

Obviously there are missing several lines but that should not give the error although there may be something specific in the build/calculation of the NOAA report.

It may be that there is an invalid character (or more) in the file which I can't see in what you show here.
Ye

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 2:38 pm
by HansR
When opened with a correct editor it was possible to see a lot of nulls between the 7h50 line and the 10h10 line.
I removed all nulls and think the file is OK now.

Just replace the file in your CMX installation with the one attached to this post.
I think this solves it.

NOTE: in some editors you will see and empty line. Removing that does the trick as well.

Re: Noaa Reports have not been created since day 4Noaa Reports have not been created since day 4

Posted: Thu 09 Mar 2023 3:04 pm
by CarlosLSev
Thank you, correct from the mobile the lines appeared fine, I did not notice the time jump, and the NUL line from the pc with notepad++ if it can be seen, after deleting that I regenerated the Noaa Report and uploaded to the ftp and perfect, I will observe it tonight , thank you so much

05/03/23;07:50;9,5;83;6,8;0,0;0,0;0;0,0;0,0;1017,1;31,5;14,8;68;0,0;9,5;9,5;0,0;0;0,00;101,32;8,7;0;0,0;185;0,0;0,0;9,5;9,5
NULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNUL 05/03/23;10:10;11,9;76;7,8;0,0;0,0;0;0,0;0,0;1017,8;31,5;14,6;67;0,0;11,9;11,9;2,0;242;0,00;101,32;11,4;432;0,0;152;0,0;0,0;11,9;12,2