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

Weather station offline

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

malmeida
Posts: 93
Joined: Thu 06 Oct 2016 7:16 pm
Weather Station: Maplin N96FY
Operating System: Raspbian

Weather station offline

Post by malmeida »

My Gauges page shows "The weather station is currently offloine. Last update 14 days ago". I restarted the router, changed FTP logging and Enablerealtime.
I attach the last MXdiafgs.
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Weather station offline

Post by mcrossley »

Your FTP is not connecting...

Code: Select all

I won't open a connection to 100.88.97.106 (only to 78.137.220.68)
You also have a lot of duplicate entries in your day file that need sorting out...

Code: Select all

ERROR: Duplicate entry in dayfile for 30/03/2018
ERROR: Duplicate entry in dayfile for 31/03/2018
ERROR: Duplicate entry in dayfile for 01/04/2018
ERROR: Duplicate entry in dayfile for 02/04/2018
ERROR: Duplicate entry in dayfile for 09/04/2018
ERROR: Duplicate entry in dayfile for 10/04/2018
ERROR: Duplicate entry in dayfile for 28/11/2018
ERROR: Duplicate entry in dayfile for 29/11/2018
ERROR: Duplicate entry in dayfile for 30/11/2018
ERROR: Duplicate entry in dayfile for 23/08/2020
ERROR: Duplicate entry in dayfile for 24/08/2020
ERROR: Duplicate entry in dayfile for 25/08/2020
ERROR: Duplicate entry in dayfile for 24/12/2020
ERROR: Duplicate entry in dayfile for 25/12/2020
ERROR: Duplicate entry in dayfile for 24/08/2021
ERROR: Duplicate entry in dayfile for 09/09/2021
ERROR: Duplicate entry in dayfile for 10/09/2021
ERROR: Duplicate entry in dayfile for 12/09/2021
ERROR: Duplicate entry in dayfile for 13/09/2021
ERROR: Duplicate entry in dayfile for 14/09/2021
ERROR: Duplicate entry in dayfile for 25/04/2022
ERROR: Duplicate entry in dayfile for 26/04/2022
ERROR: Duplicate entry in dayfile for 27/04/2022
ERROR: Duplicate entry in dayfile for 28/04/2022
ERROR: Duplicate entry in dayfile for 07/07/2022
ERROR: Duplicate entry in dayfile for 08/07/2022
ERROR: Duplicate entry in dayfile for 31/07/2022
ERROR: Duplicate entry in dayfile for 23/09/2022
ERROR: Duplicate entry in dayfile for 25/09/2022
ERROR: Duplicate entry in dayfile for 26/09/2022
ERROR: Duplicate entry in dayfile for 27/09/2022
ERROR: Duplicate entry in dayfile for 25/09/2022
ERROR: Duplicate entry in dayfile for 26/09/2022
ERROR: Duplicate entry in dayfile for 27/09/2022
ERROR: Duplicate entry in dayfile for 23/10/2022
ERROR: Duplicate entry in dayfile for 24/10/2022
ERROR: Duplicate entry in dayfile for 25/10/2022
ERROR: Duplicate entry in dayfile for 26/10/2022
ERROR: Duplicate entry in dayfile for 27/10/2022
ERROR: Duplicate entry in dayfile for 28/10/2022
ERROR: Duplicate entry in dayfile for 29/10/2022
ERROR: Duplicate entry in dayfile for 30/10/2022
ERROR: Duplicate entry in dayfile for 31/10/2022
ERROR: Duplicate entry in dayfile for 17/11/2022
ERROR: Duplicate entry in dayfile for 19/11/2022
ERROR: Duplicate entry in dayfile for 22/11/2022
ERROR: Duplicate entry in dayfile for 25/12/2022
ERROR: Duplicate entry in dayfile for 21/01/2023
ERROR: Duplicate entry in dayfile for 22/01/2023
ERROR: Duplicate entry in dayfile for 23/01/2023
ERROR: Duplicate entry in dayfile for 24/01/2023
ERROR: Duplicate entry in dayfile for 25/01/2023
ERROR: Duplicate entry in dayfile for 26/01/2023
ERROR: Duplicate entry in dayfile for 27/01/2023
LoadDayFile: Error at line 2708 of data/dayfile.txt : Error at record 1 = "<LOTS of NULL CHARS>"
Please edit the file to correct the error
ERROR: Duplicate entry in dayfile for 11/11/2024
ERROR: Duplicate entry in dayfile for 12/11/2024
ERROR: Duplicate entry in dayfile for 13/11/2024
ERROR: Duplicate entry in dayfile for 14/11/2024
ERROR: Duplicate entry in dayfile for 15/11/2024
ERROR: Duplicate entry in dayfile for 16/11/2024
ERROR: Duplicate entry in dayfile for 17/11/2024
ERROR: Duplicate entry in dayfile for 18/11/2024
ERROR: Duplicate entry in dayfile for 19/11/2024
LoadDayFile: Found 63 duplicate entries, please correct your dayfile and try again
And a corrupt line at line 2708 that needs deleting.
malmeida
Posts: 93
Joined: Thu 06 Oct 2016 7:16 pm
Weather Station: Maplin N96FY
Operating System: Raspbian

Re: Weather station offline

Post by malmeida »

I deleted the duplicated lines of dayfile with the interface in Datalogs and restarted Cumulus. But MXdiags keeped saying that there were duplicated lines. As the interface dind't found those lines, I deleted them transfering dayfile.txt with WinSCP. Now the interface doesn't shows those lines and the Gauges page keeps saying that "The Weather station is offline".
malmeida
Posts: 93
Joined: Thu 06 Oct 2016 7:16 pm
Weather Station: Maplin N96FY
Operating System: Raspbian

Re: Weather station offline

Post by malmeida »

I attach the last MXdiags
20241127-120843.txt
You do not have the required permissions to view the files attached to this post.
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Weather station offline

Post by water01 »

You still have errors in the dayfile
2024-11-27 12:09:21.302 LoadDayFile: Error at line 2654 of data/dayfile.txt : Error at record 52 = "15:,0" - Input string was not in a correct format.
Although your FTP connects when it tries to upload files it rejects the upload with these messages.
2024-11-27 12:10:11.933 FTP[0]: Error uploading www/realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2024-11-27 12:10:11.935 FTP[0]: Inner Exception: Code: 500 Message: I won't open a connection to 100.88.97.106 (only to 78.137.220.68)
2024-11-27 12:10:41.521 FTP[1]: Error uploading www/realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2024-11-27 12:10:41.522 FTP[1]: Inner Exception: Code: 500 Message: I won't open a connection to 100.88.97.106 (only to 78.137.220.68)
2024-11-27 12:11:11.464 FTP[2]: Error uploading www/realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2024-11-27 12:11:11.465 FTP[2]: Inner Exception: Code: 500 Message: I won't open a connection to 100.88.97.106 (only to 78.137.220.68)
2024-11-27 12:11:41.443 FTP[3]: Error uploading www/realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2024-11-27 12:11:41.443 FTP[3]: Inner Exception: Code: 500 Message: I won't open a connection to 100.88.97.106 (only to 78.137.220.68)
2024-11-27 12:11:45.905 Pausing for 13 seconds to unsynchronise data reads with 48 second updates...
2024-11-27 12:12:11.476 FTP[4]: Error uploading www/realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2024-11-27 12:12:11.477 FTP[4]: Inner Exception: Code: 500 Message: I won't open a connection to 100.88.97.106 (only to 78.137.220.68)
Are your sure you are uploading to the right server as the message is a bit strange!!
2024-11-27 12:11:11.465 FTP[2]: Inner Exception: Code: 500 Message: I won't open a connection to 100.88.97.106 (only to 78.137.220.68)
When I looked this up it seems to infer you are connecting as an "active" connection and it will only accept "passive" connections. This is one of the settings in Internet Settings. Suggest you try a passive connection.
David
Image
malmeida
Posts: 93
Joined: Thu 06 Oct 2016 7:16 pm
Weather Station: Maplin N96FY
Operating System: Raspbian

Re: Weather station offline

Post by malmeida »

The station is still offline. It seems that the only error now is: "Inner Exception: Code: 500 Message: I won't open a connection to 100.88.97.106 (only to 78.137.220.68)"
I don´t know why because in Cumulus.ini I have:
[FTP site]
Enabled=1
Host=scomba.co.uk
Port=21
.........
FTPlogging=0
UTF8encode=1
EnableRealtime=1
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: Weather station offline

Post by freddie »

Have you done this (from @water01's reply above?:
When I looked this up it seems to infer you are connecting as an "active" connection and it will only accept "passive" connections. This is one of the settings in Internet Settings. Suggest you try a passive connection.
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: Weather station offline

Post by PaulMy »

Hi,
I won't open a connection to 100.88.97.106 (only to 78.137.220.68)"
I don´t know why because in Cumulus.ini I have:
[FTP site]
Enabled=1
Host=scomba.co.uk
Port=21
.........
FTPlogging=0
UTF8encode=1
EnableRealtime=1
That would indicate FTP logging is not enabled, I suggest to enable FTP logging so more information would be logged.
Instead of 'scomba.co.uk' have you tried: Host name: 100.88.97.106 or 78.137.220.68

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
malmeida
Posts: 93
Joined: Thu 06 Oct 2016 7:16 pm
Weather Station: Maplin N96FY
Operating System: Raspbian

Re: Weather station offline

Post by malmeida »

As I am far from the station, I don´t have access to the admnistrator interface. The last time that I was there I adjusted "Settings/Internet/Select FTP protocol to use: 0-FTP(plain old FTP)".
Since 8 years ago I allways used www. scomba.co.uk. My CPanel shows: Shared IP Address: 178.159.12.246 and Last Login Address: 93.108.74.91. Shall I use one of these?
malmeida
Posts: 93
Joined: Thu 06 Oct 2016 7:16 pm
Weather Station: Maplin N96FY
Operating System: Raspbian

Re: Weather station offline

Post by malmeida »

I replaced FTP site Host, in Cumulus.ini from www.scomba.co.uk to 178.159.12.246 and the situation is the same. I attach the last MXdiags.
20241128-184435.7z
You do not have the required permissions to view the files attached to this post.
malmeida
Posts: 93
Joined: Thu 06 Oct 2016 7:16 pm
Weather Station: Maplin N96FY
Operating System: Raspbian

Re: Weather station offline

Post by malmeida »

I changed FTP site/Enabled of Cumulus.ini from 1 to 0 and corrected an error in dayfile. It seems that the last (attached) MXdiags has no errors but the station is offline.
20241128-192313.7z
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Weather station offline

Post by mcrossley »

If you enable debug and data logging we should be able to see what is happening.
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Weather station offline

Post by SamiS »

Of course you must also re-enable the site upload after enabling debug logging (if that was the thing what is broken and needing a fix). My guess is same as water01’s, that the error is caused by active ftp and might be resolved by switching to passive mode.
malmeida
Posts: 93
Joined: Thu 06 Oct 2016 7:16 pm
Weather Station: Maplin N96FY
Operating System: Raspbian

Re: Weather station offline

Post by malmeida »

My old Cumulus.ini had the sentence Active FTP but now it doesn't have.
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: Weather station offline

Post by PaulMy »

Hi,
malmeida wrote:
My old Cumulus.ini had the sentence Active FTP but now it doesn't have.
Have you looked in CMX > Internet Settings > Advanced Settings - Enable Active FTP(S) mode ?
It looks like that is the same as in CU1 > Configuration > Internet Settings > Web Settings
[ ] Use active FTP mode

Code: Select all

Advanced Settings
 Here be dragons! Only alter these settings if you understand what they do.

Enable Automatic Connection
 Enabling this means the FTP client attempts to discover a working configuration for your server Note that using this setting may slow down the connection process a little
Disable EPSV mode in FTP(S)
 Not normally required - use with caution Extended passive mode is a newer standard of PSV. Disabling this forces PSV mode connections
Enable Active FTP(S) mode
 Not normally required - use with caution
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
Post Reply