Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024

(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)

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

Red light for web upload

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
perl
Posts: 52
Joined: Wed 24 Jun 2015 7:02 pm
Weather Station: Davis Vantage Pro2
Operating System: Buster Lite rPi
Location: Taasinge, Denmark
Contact:

Red light for web upload

Post by perl »

I have the new automated Raspberry Pi Imager installed and it uploads to an external website.
I have been wondering for some time to see a red warning light on for web upload and a corresponding one for new record.
Image
The lamp with the red light does not go away even if I do an upload. First when I stop cumulux ​​mx with the command: "sudo systemctl stop cumulusmx" and then "sudo systemctl start cumulusmx"
Image
Can someone give me an explanation why I have to do this and why cumulusmx doesn't automatically restart.
I also wonder why cumulusMX does not have the option to show an error log that might provide an explanation.
You do not have the required permissions to view the files attached to this post.
M1DUL
Posts: 359
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Vantage Pro2 Plus Daytime FARS.
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: Red light for web upload

Post by M1DUL »

Hello Perl,

When you are looking at the Dashboard, click on Utils, then click on Latest Errors, that should show why the web upload is failing? Or another way is to have a look in the MXdiags folder, and have a look at the logs.

I hope this information helps to sort out what is causing your errors. You might need to contact your hosting company, about the problem you are having.
Mike

OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Using firmware version 3.88 on the console with a Weather Link USB Data Logger.
Cumulus MX v.4.1.0 build 4024
https://branksomeweather.co.uk
perl
Posts: 52
Joined: Wed 24 Jun 2015 7:02 pm
Weather Station: Davis Vantage Pro2
Operating System: Buster Lite rPi
Location: Taasinge, Denmark
Contact:

Re: Red light for web upload

Post by perl »

Thanks Mike

I will try to open the log.
perl
Posts: 52
Joined: Wed 24 Jun 2015 7:02 pm
Weather Station: Davis Vantage Pro2
Operating System: Buster Lite rPi
Location: Taasinge, Denmark
Contact:

Re: Red light for web upload

Post by perl »

I found this in the log:

2024-02-15 08:32:58.274 SendLoopCommand: Starting - LOOP 50
2024-02-15 08:34:25.972 FTP[207]: Error uploading /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2024-02-15 08:34:25.973 FTP[207]: Inner Exception: Timed out trying to connect!

It seems to bee the same problem every day:
Linie 28819: 2024-02-14 03:32:57.531 FTP[46]: Error uploading /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
Linie 29163: 2024-02-14 05:13:02.705 FTP[223]: Error uploading /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
Linie 31229: 2024-02-14 15:31:03.974 FTP[215]: Error uploading /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
Linie 31235: 2024-02-14 15:33:33.940 FTP[245]: Error uploading /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
Linie 32227: 2024-02-14 20:31:19.544 FTP[234]: Error uploading /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
Linie 33287: 2024-02-15 01:34:05.135 FTP[27]: Error uploading /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
Linie 33680: 2024-02-15 03:31:40.328 FTP[158]: Error uploading /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
Linie 34687: 2024-02-15 08:34:25.972 FTP[207]: Error uploading /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.


I could only see the last errors on the server log, and nothing about this ftp error.

Previous options to set extra logging on ftp transfers from CumulusMX - I can't seem to find these? - don't they exist anymore?
water01
Posts: 3342
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Red light for web upload

Post by water01 »

Program Settings > Logging Options
David
Image
perl
Posts: 52
Joined: Wed 24 Jun 2015 7:02 pm
Weather Station: Davis Vantage Pro2
Operating System: Buster Lite rPi
Location: Taasinge, Denmark
Contact:

Re: Red light for web upload

Post by perl »

Thanks
perl
Posts: 52
Joined: Wed 24 Jun 2015 7:02 pm
Weather Station: Davis Vantage Pro2
Operating System: Buster Lite rPi
Location: Taasinge, Denmark
Contact:

Re: Red light for web upload

Post by perl »

The file realtimegauges.txt is transferred 5,760 times a day to my web server.
Is it correctly understood that a single failure to transfer the file realtimegauges.txt results in a red light for Web Update on the Dashboard and that the light is only deleted after a restart of CumulusMX ?
water01
Posts: 3342
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Red light for web upload

Post by water01 »

Look at the Alarm Settings, specifically the Latch setting and Threshhold.

The default is 24hrs and 0 occurrences. This means if it happens once in 24 hrs the Alarm is set and doesn't release until 24hrs has occured. It will then release and set again on the next occurrence.

You can play with these settings. A latch of 1hr means the Alarm will release after 1 hour. A Threshold of 10 means the Alarm will only occur once it has happened 10 times. Therefore you can set both of these to values that means you are getting a correct Alarm for your upload failing.

Code: Select all

Linie 31229: 2024-02-14 15:31:03.974 FTP[215]: Error uploading /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
Linie 31235: 2024-02-14 15:33:33.940 FTP[245]: Error uploading /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
Using these examples if you set a Latch of 1Hr and a Threshold of 2 the Alarm would only occur if you had two upload failures within an hour.
David
Image
perl
Posts: 52
Joined: Wed 24 Jun 2015 7:02 pm
Weather Station: Davis Vantage Pro2
Operating System: Buster Lite rPi
Location: Taasinge, Denmark
Contact:

Re: Red light for web upload

Post by perl »

Thanks David
That was good information you gave me. There are of course many such adjustment possibilities that I and others do not find due to language difficulties.
Thanks again for the information.
Post Reply