Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

NOAA reports-Reports

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
User avatar
HansR
Posts: 5954
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

NOAA reports-Reports

Post by HansR »

I have some issues:

My local NOAA directory is Reports.
My remote NOAA directory is reports.

With the most recent version suddenly CMX tries to move the daily NOAA report to the remote directory Reports.

1)
That is strange as I definitely did not change that setting. It also disturbs the subsequent uploads for the FTP frequency.
I also noticed that the moon image was switched on for generation and FTP copy while I was sure I switched that off.
So some settings seem to be reset to their default.
Are you aware of any change in CMX here?

2)
If I look in the logfile I notice the Daily Graph files are send every minute (my logging frequency) and not every FTP frequency (10 minutes). Is that correct?
NOTE: this frequency changes when DEBUG is switched on (look for Uploading daily graph data files from bottom up)

3)
FTP now! does not seem to transfer the NOAA files (after I corrected the destination)

Code: Select all

2021-09-18 00:00:56.584 SFTP[Int]: Error uploading Reports/NOAAMO0921.txt to /.../public_html/Reports/NOAAMO0921.txt : No such file
2021-09-18 00:00:56.603 SFTP[Int]: The SFTP object is disposed - skipping upload of Reports/NOAAYR2021.txt
2021-09-18 00:00:56.603 SFTP[Int]: The SFTP object is disposed - skipping upload of web/HWActueelT.txttmp
2021-09-18 00:00:56.603 SFTP[Int]: The SFTP object is disposed - skipping upload of web/HWActueelT.txttmp
2021-09-18 00:00:56.603 SFTP[Int]: The SFTP object is disposed - skipping upload of web/websitedata.json
2021-09-18 00:00:56.604 SFTP[Int]: The SFTP object is disposed - skipping upload of web/tempdata.json
2021-09-18 00:00:56.604 SFTP[Int]: The SFTP object is disposed - skipping upload of web/pressdata.json
2021-09-18 00:00:56.604 SFTP[Int]: The SFTP object is disposed - skipping upload of web/winddata.json
2021-09-18 00:00:56.604 SFTP[Int]: The SFTP object is disposed - skipping upload of web/wdirdata.json
2021-09-18 00:00:56.604 SFTP[Int]: The SFTP object is disposed - skipping upload of web/humdata.json
2021-09-18 00:00:56.604 SFTP[Int]: The SFTP object is disposed - skipping upload of web/raindata.json
2021-09-18 00:00:56.604 SFTP[Int]: The SFTP object is disposed - skipping upload of web/dailyrain.json
2021-09-18 00:00:56.605 SFTP[Int]: The SFTP object is disposed - skipping upload of web/dailytemp.json
2021-09-18 00:00:56.605 SFTP[Int]: The SFTP object is disposed - skipping upload of web/solardata.json
2021-09-18 00:00:56.605 SFTP[Int]: The SFTP object is disposed - skipping upload of web/sunhours.json
2021-09-18 00:00:56.605 SFTP[Int]: Uploading daily graph data files
2021-09-18 00:00:56.605 SFTP[Int]: The SFTP object is disposed - skipping upload of web/alldailytempdata.json
2021-09-18 00:00:56.605 SFTP[Int]: The SFTP object is disposed - skipping upload of web/alldailypressdata.json
2021-09-18 00:00:56.605 SFTP[Int]: The SFTP object is disposed - skipping upload of web/alldailywinddata.json
2021-09-18 00:00:56.605 SFTP[Int]: The SFTP object is disposed - skipping upload of web/alldailyhumdata.json
2021-09-18 00:00:56.606 SFTP[Int]: The SFTP object is disposed - skipping upload of web/alldailyraindata.json
2021-09-18 00:00:56.606 SFTP[Int]: The SFTP object is disposed - skipping upload of web/alldailysolardata.json
2021-09-18 00:00:56.606 SFTP[Int]: Done uploading daily graph data files
2021-09-18 00:00:56.606 SFTP[Int]: Uploading Moon image file
2021-09-18 00:00:56.606 SFTP[Int]: The SFTP object is disposed - skipping upload of web/moon.png
2021-09-18 00:00:56.606 SFTP[Int]: Done uploading Moon image file
2021-09-18 00:01:01.867 DoLogFile: Writing log entry for 18-9-2021 00:01:00
2021-09-18 00:01:01.868 DoLogFile: log entry for 18-9-2021 00:01:00 written
You do not have the required permissions to view the files attached to this post.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Mapantz
Posts: 1807
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: NOAA reports-Reports

Post by Mapantz »

I'm sure FTP Now! doesn't upload the NOAA reports?! You'll have to wait until the rollover time, unless you do it manually.
Image
User avatar
HansR
Posts: 5954
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: NOAA reports-Reports

Post by HansR »

I remarked this here some time ago and Mark said the FTP now! would now also upload the NOAA reports. Maybe I confuse things with something else.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: NOAA reports-Reports

Post by mcrossley »

Hi Hans,

Regarding FTP Now!, I did add the upload of the daily graph files to this a while back, but not the NOAA reports.

Re your settings changing, the NOAA settings are not changed automatically either in the CMX code, or the settings page JS code. I tried to reproduce your issue and cannot get my FTP folder to change.

Your Daily graph files are failing to upload because the FTP process is aborting due to the NOAA "Reports" folder not being found.

This needs fixing.
You can see in your posted log extract "/public_html/Reports/NOAAMO0921.txt : No such file" and the SFTP dies (nice!).
So all the subsequent uploads fail.

Only once a daily graph has been uploaded successfully is the upload required flag cleared. As the files are skipped, the upload is re-attempted at each period until success.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: NOAA reports-Reports

Post by mcrossley »

If you switch on FTP logging you should have seen the SFTP failures
User avatar
HansR
Posts: 5954
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: NOAA reports-Reports

Post by HansR »

mcrossley wrote: Sat 18 Sep 2021 2:20 pm Hi Hans,

Regarding FTP Now!, I did add the upload of the daily graph files to this a while back, but not the NOAA reports.
Yes that was it :?
mcrossley wrote: Sat 18 Sep 2021 2:20 pm Re your settings changing, the NOAA settings are not changed automatically either in the CMX code, or the settings page JS code. I tried to reproduce your issue and cannot get my FTP folder to change.
So we have a riddle. I did not change the NOAA setting for the directory.

mcrossley wrote: Sat 18 Sep 2021 2:20 pm Your Daily graph files are failing to upload because the FTP process is aborting due to the NOAA "Reports" folder not being found.

This needs fixing.
You can see in your posted log extract "/public_html/Reports/NOAAMO0921.txt : No such file" and the SFTP dies (nice!).
So all the subsequent uploads fail.
Yes, i said daily graphs in the confusion but also the normal FTP transfer fails on the minute frequency. It should not be on the minute frequency. And it really is if you look in the non-debug part of the log.
mcrossley wrote: Sat 18 Sep 2021 2:20 pm Only once a daily graph has been uploaded successfully is the upload required flag cleared. As the files are skipped, the upload is re-attempted at each period until success.
At the beginning the daily log is transferred, at 9h05 cmx is restarted. Why is it trying the upload anyway? The daily has been uploaded at rollover! (00h00)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5954
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: NOAA reports-Reports

Post by HansR »

mcrossley wrote: Sat 18 Sep 2021 2:23 pm If you switch on FTP logging you should have seen the SFTP failures
Yes, but the normal log tells me too.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: NOAA reports-Reports

Post by mcrossley »

At the beginning the daily log is transferred, at 9h05 cmx is restarted. Why is it trying the upload anyway? The daily has been uploaded at rollover! (00h00)
It doesn't actually try to transfer them at all...
  • Each section of code (apart from NOAA**) that checks each file type has the "Uploading xxx", "Done uploading xxx" log entries around it.
  • Each file has an independent FTP required flag - this allows MX to only transfer files that are actually required. And for example if an upload of daily files fails mid-point, the files that were transferred successfully are not sent again at the next interval.
  • If none of the files have the upload flag set, then nothing happens inside that block.
I hope that is a clear explanation?

** the NOAA reports have a global FTP required flag for both files, so if that is not set, the section does not execute at all and no messages are logged.
User avatar
HansR
Posts: 5954
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: NOAA reports-Reports

Post by HansR »

@mcrossley: ok that explains it.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply