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

Trouble Uploading NOAA 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

User avatar
SJG1976
Posts: 367
Joined: Wed 21 Dec 2011 11:04 am
Weather Station: Davis WLL, with Airlink
Operating System: Raspberry Pi3 MX on USB Drive
Location: Glemsford, Suffolk
Contact:

Trouble Uploading NOAA Reports

Post by SJG1976 »

Not sure what I'mdoing wrong here,

It's on my Test Build, but I can't seem to get the NOAA Reports to Upload.

Code: Select all

2022-02-03 00:00:00.345 Creating NOAA monthly report for 02 February 2022
2022-02-03 00:00:00.374 Saving monthly report as Reports\NOAAMO0222.txt
2022-02-03 00:00:00.375 Creating NOAA yearly report
2022-02-03 00:00:00.449 Saving yearly report as Reports\NOAAYR2022.txt
2022-02-03 00:00:00.449 NOAA reports will be uploaded at next web update
2022-02-03 00:00:00.521 If required the daily graph data files will be uploaded at next web update
2022-02-03 00:00:00.521 === Day reset complete
2022-02-03 00:00:00.521 Now recording data for day=3 month=2 year=2022
2022-02-03 00:00:00.521 Reset sunshine hours, yesterday = 1.46666666666667
2022-02-03 00:00:00.521 Writing yesterday.ini
2022-02-03 00:00:00.522 Written yesterday.ini
2022-02-03 00:00:00.530 DoLogFile: Writing log entry for 03/02/2022 00:00:00
2022-02-03 00:00:00.531 DoLogFile: log entry for 03/02/2022 00:00:00 written
2022-02-03 00:00:00.531 Writing today.ini, LastUpdateTime = 03/02/2022 00:00:00 raindaystart = 8.6 rain counter = 8.6
2022-02-03 00:00:00.534 BackupData: Creating backup folder backup\daily\20220203000000\
2022-02-03 00:00:00.561 Created backup folder backup\daily\20220203000000\
2022-02-03 00:00:02.167 SFTP[Int]: Error uploading Reports\NOAAMO0222.txt to /Reports/NOAAMO0222.txttmp : No such file
2022-02-03 00:00:02.175 SFTP[Int]: The SFTP object is disposed - skipping upload of Reports\NOAAYR2022.txt

The Local File <CUMULUSMXINSTALLDIR>\Reports\NOAAMO0222.txt Is There and I can view the file on Windows fine.
The FTP location /Reports is also there with the correct case for Capital R

Not sure what I'm missing.
Is it saying it can't find the Source File, or it can't put the remote file?
As on the FTP Server (Web Server in the /Reports there isn't a /Reports/NOAAMO0222.txttmp as I though that this was the temp file that gets created whilst it's renamed?

On My Normal Working NOAA Reports going to the Real Webserver it all works fine.
As far as I can see the paths are correct
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Trouble Uploading NOAA Reports

Post by PaulMy »

Code: Select all

2022-02-03 00:00:02.167 SFTP[Int]: Error uploading Reports\NOAAMO0222.txt to /Reports/NOAAMO0222.txttmp : No such file
Possibly an extra '/' forward slash in your NOAA Settings ?
If it is working on one then it should on the other as well, with appropriate changes for remote file location.

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
SJG1976
Posts: 367
Joined: Wed 21 Dec 2011 11:04 am
Weather Station: Davis WLL, with Airlink
Operating System: Raspberry Pi3 MX on USB Drive
Location: Glemsford, Suffolk
Contact:

Re: Trouble Uploading NOAA Reports

Post by SJG1976 »

Thanks Paul,

I'm not use to the Windows version now, so maybe I do need to just remove the leading / despite having it on the Unix (Raspberry Version)

On the Raspberry Pi I'm sending it it to a Internet Webhost and have it set-up as following

On Raspberry Pi
Pi_NOAA.PNG
(Note the Report Directory on the Webserver is /reports with lowercase r)

On the PC
PC_NOAA.PNG
(Note the Report Directory on the Webserver is /Reports with an uppercase R)

So apart from I have different report directory names, and on the PC the Source Directory paths are different being windows based, but as far as I can see you don't set where the source file is.

I'm sure I've done something wrong, but for the life of me I can't see it.
You do not have the required permissions to view the files attached to this post.
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Trouble Uploading NOAA Reports

Post by PaulMy »

Hi,
I am using Windows 10. For this site http://www.komokaweather.com/cumulusmx/noaareport.htm I have the NOAA files in remote cumulusmx/Reports
i.e. http://www.komokaweather.com/cumulusmx/ ... MO0222.txt

I have my NOAA settings for NOAA FTP folder: public_html/cumulusmx/Reports

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Trouble Uploading NOAA Reports

Post by freddie »

On your web server path, try using Reports - i.e. without the preceding "/"
Freddie
Image
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Trouble Uploading NOAA Reports

Post by PaulMy »

Hi,
So apart from I have different report directory names, and on the PC the Source Directory paths are different being windows based, but as far as I can see you don't set where the source file is.
Actually I had never thought of it on the local side as always (for over 10 years) presumed it was fixed as \Reports and that is how the Download Distribution Zips have come until that was dropped a few months ago. I know the file names and FTP settings allow for different remote folders.

From my cumulus.ini file

Code: Select all

[NOAA]
Name=KomokaWeather
City=Komoka
State=ON  Canada
12hourformat=0
HeatingThreshold=18.300000000000001
CoolingThreshold=18.300000000000001
MaxTempComp1=27
MaxTempComp2=0
MinTempComp1=0
MinTempComp2=-18
RainComp1=0.20000000000000001
RainComp2=2
RainComp3=20
AutoSave=1
AutoFTP=1
FTPDirectory=public_html/cumulusmx/Reports
AutoCopy=0
CopyDirectory=
MonthFileFormat='NOAAMO'MMyy'.txt'
YearFileFormat='NOAAYR'yyyy'.txt'
NOAAUseUTF8=1
UseDotDecimal=0
UseMinMaxAvg=0
NOAATempNormJan=-6.4000000000000004
NOAATempNormFeb=-5.5
NOAATempNormMar=-0.29999999999999999
NOAATempNormApr=6.2999999999999998
NOAATempNormMay=13
NOAATempNormJun=18
NOAATempNormJul=20.5
NOAATempNormAug=19.5
NOAATempNormSep=15.300000000000001
NOAATempNormOct=9
NOAATempNormNov=3.1000000000000001
NOAATempNormDec=-3
NOAARainNormJan=74.200000000000003
NOAARainNormFeb=60
NOAARainNormMar=78.400000000000006
NOAARainNormApr=82.200000000000003
NOAARainNormMay=82.900000000000006
NOAARainNormJun=82.200000000000003
NOAARainNormJul=82.200000000000003
NOAARainNormAug=85.299999999999997
NOAARainNormSep=97.700000000000003
NOAARainNormOct=77.599999999999994
NOAARainNormNov=91.099999999999994
NOAARainNormDec=88.599999999999994
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
SJG1976
Posts: 367
Joined: Wed 21 Dec 2011 11:04 am
Weather Station: Davis WLL, with Airlink
Operating System: Raspberry Pi3 MX on USB Drive
Location: Glemsford, Suffolk
Contact:

Re: Trouble Uploading NOAA Reports

Post by SJG1976 »

Thanks both.

I'll try both options, also is there a way to Force an FTP Upload of the NOAA Data, as far as I can tell it only happens at Rollover, and the FTP NOW only does the Graphs and normal Web files?

If so I'll have to make the change, and then see what happens.

I'm sure I've already tried the full FTP path as it would appear on my Raspberry Pi

/var/www/html/Reports
And I'm sure that didn't work.

I'm not sure if I have tried just Reports with no Prefixed /


Hmmmm.

It's not going to be this Option on the General FTP Settings is it?
FTP_Rename.PNG
I'm not sure if the Raspberry Pi STP supports an FTP rename?
I won; try that yet, will just try one thing at a time,
You do not have the required permissions to view the files attached to this post.
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Trouble Uploading NOAA Reports

Post by PaulMy »

Hi,
Correct, processed, and FTP if set, at rollover. However you can use the (Re)Generate Report to create past reports which would then be placed in your CumulusMX\Reports folder and you can then manual FTP to your site.

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
SJG1976
Posts: 367
Joined: Wed 21 Dec 2011 11:04 am
Weather Station: Davis WLL, with Airlink
Operating System: Raspberry Pi3 MX on USB Drive
Location: Glemsford, Suffolk
Contact:

Re: Trouble Uploading NOAA Reports

Post by SJG1976 »

Thank Paul for confirming.

I'll wait and see what happens tonight, (oh and just wathing one of my realtime files update on the Server)
It seems the rename does work as my vars.php was uploaded as vars,phptmp and then was renamed.

So I think it's probably the report file path name,

I've change mione now too

Code: Select all

[NOAA]
Name=CM2Weather
City=Chelmsford
State=Essex
12hourformat=0
HeatingThreshold=18.300000000000001
CoolingThreshold=18.300000000000001
MaxTempComp1=27
MaxTempComp2=0
MinTempComp1=0
MinTempComp2=-18
RainComp1=0.20000000000000001
RainComp2=2
RainComp3=20
AutoSave=1
AutoFTP=1
FTPDirectory=Reports
AutoCopy=0
CopyDirectory=
MonthFileFormat='NOAAMO'MMyy'.txt'
YearFileFormat='NOAAYR'yyyy'.txt'
NOAAUseUTF8=1
UseDotDecimal=1
UseMinMaxAvg=1
If it doesn't work tonight I'll try the file remote path again as /var/www/html/Reports
Thanks both.

I'll let you know if either work!

:)
BrunswickWeather
Posts: 87
Joined: Fri 11 Mar 2011 2:04 am
Weather Station: Ecowitt GW1103
Operating System: windows 11 Pro/Raspberry pi 4
Location: Brunswick Australia

Re: Trouble Uploading NOAA Reports

Post by BrunswickWeather »

Uploaded to my web site I use delete before update
This month the month NOAA report cannot upload

2022-02-04 00:00:11.371 FTP[Int]: CumulusMX Connecting to www.members.optusnet.com.au
2022-02-04 00:00:11.604 FTP[Int]: Uploading NOAA reports
2022-02-04 00:00:11.605 FTP[Int]: Deleting /Reports/NOAAMO0222.txt
2022-02-04 00:00:11.638 FTP[Int]: Error deleting /Reports/NOAAMO0222.txt : /Reports/NOAAMO0222.txt: No such file or directory
2022-02-04 00:00:11.638 FTP[Int]: Deleting /Reports/NOAAYR2022.txt
2022-02-04 00:00:11.672 FTP[Int]: Uploading Reports/NOAAYR2022.txt to /Reports/NOAAYR2022.txttmp
2022-02-04 00:00:11.884 FTP[Int]: Uploaded Reports/NOAAYR2022.txt
2022-02-04 00:00:11.921 FTP[Int]: Renaming /Reports/NOAAYR2022.txttmp to /Reports/NOAAYR2022.txt
2022-02-04 00:00:12.103 FTP[Int]: Renamed /Reports/NOAAYR2022.txttmp
2022-02-04 00:00:12.103 FTP[Int]: Upload of NOAA reports complete

but if I change to not delete before update it loads.
The free web site I use is close to full so I delete before update.
Yes I could get another site but until I change from the standard web files this site will do.
User avatar
SJG1976
Posts: 367
Joined: Wed 21 Dec 2011 11:04 am
Weather Station: Davis WLL, with Airlink
Operating System: Raspberry Pi3 MX on USB Drive
Location: Glemsford, Suffolk
Contact:

Re: Trouble Uploading NOAA Reports

Post by SJG1976 »

Well Same Error this morning

Code: Select all

2022-02-03 00:00:00.340 Writing today.ini, LastUpdateTime = 02/02/2022 23:55:00 raindaystart = 8.6 rain counter = 8.6
2022-02-03 00:00:00.342 Writing yesterday.ini
2022-02-03 00:00:00.345 Written yesterday.ini
2022-02-03 00:00:00.345 Creating NOAA monthly report for 02 February 2022
2022-02-03 00:00:00.374 Saving monthly report as Reports\NOAAMO0222.txt
2022-02-03 00:00:00.375 Creating NOAA yearly report
2022-02-03 00:00:00.449 Saving yearly report as Reports\NOAAYR2022.txt
2022-02-03 00:00:00.449 NOAA reports will be uploaded at next web update
2022-02-03 00:00:00.521 If required the daily graph data files will be uploaded at next web update
2022-02-03 00:00:00.521 === Day reset complete
2022-02-03 00:00:00.521 Now recording data for day=3 month=2 year=2022
2022-02-03 00:00:00.521 Reset sunshine hours, yesterday = 1.46666666666667
2022-02-03 00:00:00.521 Writing yesterday.ini
2022-02-03 00:00:00.522 Written yesterday.ini
2022-02-03 00:00:00.530 DoLogFile: Writing log entry for 03/02/2022 00:00:00
2022-02-03 00:00:00.531 DoLogFile: log entry for 03/02/2022 00:00:00 written
2022-02-03 00:00:00.531 Writing today.ini, LastUpdateTime = 03/02/2022 00:00:00 raindaystart = 8.6 rain counter = 8.6
2022-02-03 00:00:00.534 BackupData: Creating backup folder backup\daily\20220203000000\
2022-02-03 00:00:00.561 Created backup folder backup\daily\20220203000000\
2022-02-03 00:00:02.167 SFTP[Int]: Error uploading Reports\NOAAMO0222.txt to /Reports/NOAAMO0222.txttmp : No such file
2022-02-03 00:00:02.175 SFTP[Int]: The SFTP object is disposed - skipping upload of Reports\NOAAYR2022.txt
2022-02-03 00:00:02.175 SFTP[Int]: The SFTP object is disposed - skipping upload of web\websitedata.json
This was with the change to No Leading / in the Remote /Reports Folder.
I'll try the Full Path name tonight /var/www/html/Reports
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Trouble Uploading NOAA Reports

Post by Mapantz »

I use /noaa

I did set up an FTP account specifically for Cumulus MX, rather than using my global FTP details.
Image
kevinTDWX
Posts: 6
Joined: Sun 14 Jun 2020 4:49 am
Weather Station: Davis VP2 Plus
Operating System: Windows 11 Pro 23H2
Contact:

Re: Trouble Uploading NOAA Reports

Post by kevinTDWX »

I had a similar problem several years ago. My problem turned out to be that I was using "Reports" with a capital "R" as the folder name in CUMX as the FTP folder, instead of the actual folder name on my web site which was "reports" with a small "r". If you go to your web site using this link: https://cm2weather.co.uk/reports/NOAAMO0122.txt you will see your NOAAMO0122.txt in the web folder "reports" (small "r"). My set up is: public_html/Reports (www also works) so renaming your web site folder and and using public_html/ or www/ before the "Reports" web folder name should work for you after renaming your web site folder.
Regards, --Kevin

Image
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Trouble Uploading NOAA Reports

Post by freddie »

SJG1976 wrote: Fri 04 Feb 2022 8:43 am
This was with the change to No Leading / in the Remote /Reports Folder.
I'll try the Full Path name tonight /var/www/html/Reports
Are the permissions on the remote Reports directory correct?
Freddie
Image
kevinTDWX
Posts: 6
Joined: Sun 14 Jun 2020 4:49 am
Weather Station: Davis VP2 Plus
Operating System: Windows 11 Pro 23H2
Contact:

Re: Trouble Uploading NOAA Reports

Post by kevinTDWX »

kevinTDWX wrote: Fri 04 Feb 2022 11:04 am I had a similar problem several years ago. My problem turned out to be that I was using "Reports" with a capital "R" as the folder name in CUMX as the FTP folder, instead of the actual folder name on my web site which was "reports" with a small "r". If you go to your web site using this link: https://cm2weather.co.uk/reports/NOAAMO0122.txt you will see your NOAAMO0122.txt in the web folder "reports" (small "r"). My set up is: public_html/Reports (www also works) so renaming your web site folder and and using public_html/ or www/ before the "Reports" web folder name should work for you after renaming your web site folder.
Bump
Regards, --Kevin

Image
Post Reply