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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

realtimegauges.txt not updating locally

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
jnstllng
Posts: 12
Joined: Sun 15 Jan 2017 10:10 pm
Weather Station: WH1080
Operating System: Raspian, Windows 7, Windows 10

realtimegauges.txt not updating locally

Post by jnstllng »

I currently have an issue with my realtimegauges.txt file which is not updating anymore locally on my Raspi 3 Cumulus MX installation. All of a sudden it stopped, all other functions are working properly and also the upload to my server is ok:

https://wetter.teamstelling.de

I really have not idea what is causing this since all seems to be working. Anybody experienced this before?
Do you need some more information to somment?

I really have no idea what went wrong after nine months without any problems.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: realtimegauges.txt not updating locally

Post by steve »

Assuming that you haven’t changed any settings, you could try

Restarting Cumulus
Deleting the realtimegauges.txt file
Looking in the MXdiags file to see if there are any error messages about the file
Steve
Weerhaas
Posts: 17
Joined: Mon 31 Aug 2015 6:31 am
Weather Station: Vantage Pro 2 Plus
Operating System: Windows Pro 10 64b
Location: Zaandam, Nederland
Contact:

Re: realtimegauges.txt not updating locally

Post by Weerhaas »

Good morning.

I don't know the answer on your question.

What i see on your website that your coördinates (North / East) are switched.

Good luck.
jnstllng
Posts: 12
Joined: Sun 15 Jan 2017 10:10 pm
Weather Station: WH1080
Operating System: Raspian, Windows 7, Windows 10

Re: realtimegauges.txt not updating locally

Post by jnstllng »

What i see on your website that your coördinates (North / East) are switched.
Thanks, will have to fix that! :oops:
I only have to correct the template files for that...

Bute the Realtime issue has priority right now!
Restarting Cumulus
Deleting the realtimegauges.txt file
Looking in the MXdiags file to see if there are any error messages about the file
All done before withour any changes!
The only thing that I did three days ago, was working on the server but I think that this is just a coincidence. The main change is that FTP connections are now only allowed as FTPS on my server. I also changed the settings to use FTPS when I saw that Cumuluy wasn't uploading anymore and it started working again for everything besides the gauges view. Strangely Cumulus stopped uploading in the standard interval of 30 minutes immediately (Oct 12 at around 21:00 h) and realtime uploads stopped five hours later (Oct 13 at around 02:30 h). The MX Diag files are attached.

Only the realtime page does not update. So I started digging into this problem and found that the related files for the realtime data (realtime.txt, realtimegauges.txt) were not written anymore on my RasPi 3. So, things I did to solve this issue as suggested by Steve:
  • Changing from FTP to FTPS -> success for all data, but not for realtimegauges.txt and realtime.txt
  • Restarting Cumulus -> no change
  • Deleting the realtimegauges.txt -> no change
  • Restarting my RasPi and starting everything again -> no change
  • Checking files in the MXdiags files and found strange // errors. But do not know if this is the issue
After several restart, the situation is as follows:
  • realtime.txt is uploading, but is not present in the local web folder on the RasPi: https://wetter.teamstelling.de/realtime.txt
  • realtimegauges.txt is not uploading and not being created on basis of realtimegaugesT.txt in the web folder
  • Moreover in my Mx diags file I always see this line:

    Code: Select all

    2017-10-14 22:37:39.477 Error uploading realtime.txt to //realtime.txt : EndRead failure
I also changed back my server settings to FTP and changed Cumulus from FTPS back to FTP without any effect. The error is definitely related to Cumulus MX I think, but I cannot find it. The corresponding files are not written and therefore not uploaded anymore. But I have no idea how to fix since I did not change somethingf that is specifically related to that.

I have no idea and no clue...
You do not have the required permissions to view the files attached to this post.
User avatar
ConligWX
Posts: 1573
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: realtimegauges.txt not updating locally

Post by ConligWX »

Code: Select all

	Line 733: 2017-10-03 02:15:33.443 Error uploading realtime.txt to //realtime.txt : EndRead failure
	Line 1386: 2017-10-04 02:15:33.507 Error uploading realtime.txt to //realtime.txt : EndRead failure
	Line 1785: 2017-10-05 02:10:33.583 Error uploading realtime.txt to //realtime.txt : EndRead failure
	Line 2612: 2017-10-05 20:10:53.731 Error uploading realtime.txt to //realtime.txt : Could not resolve host 'wetter.teamstelling.de'
	Line 2614: 2017-10-05 20:11:04.341 Error uploading web/realtimegauges.txt to //realtimegauges.txt : Could not resolve host 'wetter.teamstelling.de'
	Line 2619: 2017-10-05 20:15:33.648 Error uploading realtime.txt to //realtime.txt : EndRead failure
	Line 2823: 2017-10-06 02:40:33.657 Error uploading realtime.txt to //realtime.txt : EndRead failure
	Line 3212: 2017-10-07 02:40:33.731 Error uploading realtime.txt to //realtime.txt : EndRead failure
	Line 3593: 2017-10-08 02:40:33.805 Error uploading realtime.txt to //realtime.txt : EndRead failure
	Line 3974: 2017-10-09 02:40:33.879 Error uploading realtime.txt to //realtime.txt : EndRead failure
	Line 4343: 2017-10-10 02:35:33.956 Error uploading realtime.txt to //realtime.txt : EndRead failure
	Line 4638: 2017-10-10 23:20:48.001 Error connecting ftp - Timed out trying to connect!
	Line 4639: 2017-10-10 23:21:03.005 Error uploading realtime.txt to //realtime.txt : Timed out trying to connect!
	Line 4640: 2017-10-10 23:21:18.012 Error uploading web/realtimegauges.txt to //realtimegauges.txt : Timed out trying to connect!
	Line 4641: 2017-10-10 23:25:48.000 Error connecting ftp - Timed out trying to connect!
	Line 4642: 2017-10-10 23:25:48.028 Error uploading realtime.txt to //realtime.txt : No route to host
	Line 4643: 2017-10-10 23:26:03.035 Error uploading web/realtimegauges.txt to //realtimegauges.txt : Timed out trying to connect!
	Line 5353: 2017-10-12 21:30:01.424 Error connecting ftp - SSL/TLS required on the control channel
	Line 5354: 2017-10-12 21:30:01.452 Error uploading /home/pi/CumulusMX/data/dayfile.txttmp to /dayfile.txt : SSL/TLS required on the control channel
	Line 5355: 2017-10-12 21:30:01.477 Error uploading /home/pi/CumulusMX/web/datasummaryT.htmtmp to /datasummary.php : SSL/TLS required on the control channel
	Line 5356: 2017-10-12 21:30:01.504 Error uploading /home/pi/CumulusMX/web/infoT.htmtmp to /info.htm : SSL/TLS required on the control channel
	Line 5357: 2017-10-12 21:30:01.535 Error uploading web/index.htm to /index.htm : SSL/TLS required on the control channel
	Line 5358: 2017-10-12 21:30:01.561 Error uploading web/today.htm to /today.htm : SSL/TLS required on the control channel
	Line 5359: 2017-10-12 21:30:01.591 Error uploading web/yesterday.htm to /yesterday.htm : SSL/TLS required on the control channel
	Line 5360: 2017-10-12 21:30:01.626 Error uploading web/record.htm to /record.htm : SSL/TLS required on the control channel
	Line 5361: 2017-10-12 21:30:01.667 Error uploading web/trends.htm to /trends.htm : SSL/TLS required on the control channel
	Line 5362: 2017-10-12 21:30:01.707 Error uploading web/gauges.htm to /gauges.htm : SSL/TLS required on the control channel
	Line 5363: 2017-10-12 21:30:01.745 Error uploading web/thismonth.htm to /thismonth.htm : SSL/TLS required on the control channel
	Line 5364: 2017-10-12 21:30:01.786 Error uploading web/thisyear.htm to /thisyear.htm : SSL/TLS required on the control channel
	Line 5365: 2017-10-12 21:30:01.835 Error uploading web/monthlyrecord.htm to /monthlyrecord.htm : SSL/TLS required on the control channel
	Line 5366: 2017-10-12 21:30:01.896 Error uploading web/graphconfig.json to /graphconfig.json : SSL/TLS required on the control channel
	Line 5367: 2017-10-12 21:30:01.954 Error uploading web/tempdata.json to /tempdata.json : SSL/TLS required on the control channel
	Line 5368: 2017-10-12 21:30:02.011 Error uploading web/pressdata.json to /pressdata.json : SSL/TLS required on the control channel
	Line 5369: 2017-10-12 21:30:02.072 Error uploading web/winddata.json to /winddata.json : SSL/TLS required on the control channel
	Line 5370: 2017-10-12 21:30:02.130 Error uploading web/wdirdata.json to /wdirdata.json : SSL/TLS required on the control channel
	Line 5371: 2017-10-12 21:30:02.181 Error uploading web/humdata.json to /humdata.json : SSL/TLS required on the control channel
	Line 5372: 2017-10-12 21:30:02.235 Error uploading web/raindata.json to /raindata.json : SSL/TLS required on the control channel
	Line 5373: 2017-10-12 21:30:02.293 Error uploading web/solardata.json to /solardata.json : SSL/TLS required on the control channel
	Line 5374: 2017-10-12 21:30:02.351 Error uploading web/dailyrain.json to /dailyrain.json : SSL/TLS required on the control channel
	Line 5375: 2017-10-12 21:30:02.402 Error uploading web/sunhours.json to /sunhours.json : SSL/TLS required on the control channel
	Line 5376: 2017-10-12 21:30:02.443 Error uploading web/dailytemp.json to /dailytemp.json : SSL/TLS required on the control channel
	Line 5387: 2017-10-12 22:00:02.118 Error connecting ftp - SSL/TLS required on the control channel
	Line 5388: 2017-10-12 22:00:02.150 Error uploading /home/pi/CumulusMX/data/dayfile.txttmp to /dayfile.txt : SSL/TLS required on the control channel
	Line 5389: 2017-10-12 22:00:02.186 Error uploading /home/pi/CumulusMX/web/datasummaryT.htmtmp to /datasummary.php : SSL/TLS required on the control channel
	Line 5390: 2017-10-12 22:00:02.229 Error uploading /home/pi/CumulusMX/web/infoT.htmtmp to /info.htm : SSL/TLS required on the control channel
	Line 5391: 2017-10-12 22:00:02.274 Error uploading web/index.htm to /index.htm : SSL/TLS required on the control channel
	Line 5392: 2017-10-12 22:00:02.310 Error uploading web/today.htm to /today.htm : SSL/TLS required on the control channel
	Line 5393: 2017-10-12 22:00:02.345 Error uploading web/yesterday.htm to /yesterday.htm : SSL/TLS required on the control channel
	Line 5394: 2017-10-12 22:00:02.380 Error uploading web/record.htm to /record.htm : SSL/TLS required on the control channel
	Line 5395: 2017-10-12 22:00:02.421 Error uploading web/trends.htm to /trends.htm : SSL/TLS required on the control channel
	Line 5396: 2017-10-12 22:00:02.461 Error uploading web/gauges.htm to /gauges.htm : SSL/TLS required on the control channel
	Line 5397: 2017-10-12 22:00:02.507 Error uploading web/thismonth.htm to /thismonth.htm : SSL/TLS required on the control channel
	Line 5398: 2017-10-12 22:00:02.553 Error uploading web/thisyear.htm to /thisyear.htm : SSL/TLS required on the control channel
	Line 5399: 2017-10-12 22:00:02.606 Error uploading web/monthlyrecord.htm to /monthlyrecord.htm : SSL/TLS required on the control channel
	Line 5400: 2017-10-12 22:00:02.675 Error uploading web/graphconfig.json to /graphconfig.json : SSL/TLS required on the control channel
	Line 5401: 2017-10-12 22:00:02.732 Error uploading web/tempdata.json to /tempdata.json : SSL/TLS required on the control channel
	Line 5402: 2017-10-12 22:00:02.793 Error uploading web/pressdata.json to /pressdata.json : SSL/TLS required on the control channel
	Line 5403: 2017-10-12 22:00:02.856 Error uploading web/winddata.json to /winddata.json : SSL/TLS required on the control channel
	Line 5404: 2017-10-12 22:00:02.936 Error uploading web/wdirdata.json to /wdirdata.json : SSL/TLS required on the control channel
	Line 5405: 2017-10-12 22:00:03.023 Error uploading web/humdata.json to /humdata.json : SSL/TLS required on the control channel
	Line 5406: 2017-10-12 22:00:03.109 Error uploading web/raindata.json to /raindata.json : SSL/TLS required on the control channel
	Line 5407: 2017-10-12 22:00:03.177 Error uploading web/solardata.json to /solardata.json : SSL/TLS required on the control channel
	Line 5408: 2017-10-12 22:00:03.236 Error uploading web/dailyrain.json to /dailyrain.json : SSL/TLS required on the control channel
	Line 5409: 2017-10-12 22:00:03.285 Error uploading web/sunhours.json to /sunhours.json : SSL/TLS required on the control channel
	Line 5410: 2017-10-12 22:00:03.326 Error uploading web/dailytemp.json to /dailytemp.json : SSL/TLS required on the control channel
	Line 5415: 2017-10-12 22:30:01.691 Error connecting ftp - SSL/TLS required on the control channel
	Line 5416: 2017-10-12 22:30:01.718 Error uploading /home/pi/CumulusMX/data/dayfile.txttmp to /dayfile.txt : SSL/TLS required on the control channel
	Line 5417: 2017-10-12 22:30:01.745 Error uploading /home/pi/CumulusMX/web/datasummaryT.htmtmp to /datasummary.php : SSL/TLS required on the control channel
	Line 5418: 2017-10-12 22:30:01.770 Error uploading /home/pi/CumulusMX/web/infoT.htmtmp to /info.htm : SSL/TLS required on the control channel
	Line 5419: 2017-10-12 22:30:01.800 Error uploading web/index.htm to /index.htm : SSL/TLS required on the control channel
	Line 5420: 2017-10-12 22:30:01.828 Error uploading web/today.htm to /today.htm : SSL/TLS required on the control channel
	Line 5421: 2017-10-12 22:30:01.854 Error uploading web/yesterday.htm to /yesterday.htm : SSL/TLS required on the control channel
	Line 5422: 2017-10-12 22:30:01.881 Error uploading web/record.htm to /record.htm : SSL/TLS required on the control channel
	Line 5423: 2017-10-12 22:30:01.907 Error uploading web/trends.htm to /trends.htm : SSL/TLS required on the control channel
	Line 5424: 2017-10-12 22:30:01.933 Error uploading web/gauges.htm to /gauges.htm : SSL/TLS required on the control channel
	Line 5425: 2017-10-12 22:30:01.960 Error uploading web/thismonth.htm to /thismonth.htm : SSL/TLS required on the control channel
	Line 5426: 2017-10-12 22:30:01.987 Error uploading web/thisyear.htm to /thisyear.htm : SSL/TLS required on the control channel
	Line 5427: 2017-10-12 22:30:02.013 Error uploading web/monthlyrecord.htm to /monthlyrecord.htm : SSL/TLS required on the control channel
	Line 5428: 2017-10-12 22:30:02.039 Error uploading web/graphconfig.json to /graphconfig.json : SSL/TLS required on the control channel
	Line 5429: 2017-10-12 22:30:02.067 Error uploading web/tempdata.json to /tempdata.json : SSL/TLS required on the control channel
	Line 5430: 2017-10-12 22:30:02.097 Error uploading web/pressdata.json to /pressdata.json : SSL/TLS required on the control channel
	Line 5431: 2017-10-12 22:30:02.128 Error uploading web/winddata.json to /winddata.json : SSL/TLS required on the control channel
	Line 5432: 2017-10-12 22:30:02.159 Error uploading web/wdirdata.json to /wdirdata.json : SSL/TLS required on the control channel
	Line 5433: 2017-10-12 22:30:02.189 Error uploading web/humdata.json to /humdata.json : SSL/TLS required on the control channel
	Line 5434: 2017-10-12 22:30:02.221 Error uploading web/raindata.json to /raindata.json : SSL/TLS required on the control channel
	Line 5435: 2017-10-12 22:30:02.253 Error uploading web/solardata.json to /solardata.json : SSL/TLS required on the control channel
	Line 5436: 2017-10-12 22:30:02.283 Error uploading web/dailyrain.json to /dailyrain.json : SSL/TLS required on the control channel
	Line 5437: 2017-10-12 22:30:02.313 Error uploading web/sunhours.json to /sunhours.json : SSL/TLS required on the control channel
	Line 5438: 2017-10-12 22:30:02.346 Error uploading web/dailytemp.json to /dailytemp.json : SSL/TLS required on the control channel
	Line 5450: 2017-10-12 23:00:01.353 Error connecting ftp - SSL/TLS required on the control channel
	Line 5451: 2017-10-12 23:00:01.380 Error uploading /home/pi/CumulusMX/data/dayfile.txttmp to /dayfile.txt : SSL/TLS required on the control channel
	Line 5452: 2017-10-12 23:00:01.406 Error uploading /home/pi/CumulusMX/web/datasummaryT.htmtmp to /datasummary.php : SSL/TLS required on the control channel
	Line 5453: 2017-10-12 23:00:01.432 Error uploading /home/pi/CumulusMX/web/infoT.htmtmp to /info.htm : SSL/TLS required on the control channel
	Line 5454: 2017-10-12 23:00:01.463 Error uploading web/index.htm to /index.htm : SSL/TLS required on the control channel
	Line 5455: 2017-10-12 23:00:01.489 Error uploading web/today.htm to /today.htm : SSL/TLS required on the control channel
	Line 5456: 2017-10-12 23:00:01.514 Error uploading web/yesterday.htm to /yesterday.htm : SSL/TLS required on the control channel
	Line 5457: 2017-10-12 23:00:01.541 Error uploading web/record.htm to /record.htm : SSL/TLS required on the control channel
	Line 5458: 2017-10-12 23:00:01.570 Error uploading web/trends.htm to /trends.htm : SSL/TLS required on the control channel
	Line 5459: 2017-10-12 23:00:01.596 Error uploading web/gauges.htm to /gauges.htm : SSL/TLS required on the control channel
	Line 5460: 2017-10-12 23:00:01.623 Error uploading web/thismonth.htm to /thismonth.htm : SSL/TLS required on the control channel
	Line 5461: 2017-10-12 23:00:01.650 Error uploading web/thisyear.htm to /thisyear.htm : SSL/TLS required on the control channel
	Line 5462: 2017-10-12 23:00:01.676 Error uploading web/monthlyrecord.htm to /monthlyrecord.htm : SSL/TLS required on the control channel
	Line 5463: 2017-10-12 23:00:01.702 Error uploading web/graphconfig.json to /graphconfig.json : SSL/TLS required on the control channel
	Line 5464: 2017-10-12 23:00:01.732 Error uploading web/tempdata.json to /tempdata.json : SSL/TLS required on the control channel
	Line 5465: 2017-10-12 23:00:01.763 Error uploading web/pressdata.json to /pressdata.json : SSL/TLS required on the control channel
	Line 5466: 2017-10-12 23:00:01.794 Error uploading web/winddata.json to /winddata.json : SSL/TLS required on the control channel
	Line 5467: 2017-10-12 23:00:01.823 Error uploading web/wdirdata.json to /wdirdata.json : SSL/TLS required on the control channel
	Line 5468: 2017-10-12 23:00:01.854 Error uploading web/humdata.json to /humdata.json : SSL/TLS required on the control channel
	Line 5469: 2017-10-12 23:00:01.885 Error uploading web/raindata.json to /raindata.json : SSL/TLS required on the control channel
	Line 5470: 2017-10-12 23:00:01.917 Error uploading web/solardata.json to /solardata.json : SSL/TLS required on the control channel
	Line 5471: 2017-10-12 23:00:01.947 Error uploading web/dailyrain.json to /dailyrain.json : SSL/TLS required on the contr
Plenty of errors uploading, and you cannot just think this is a coincidence. The fault in right in front of you... My guess would be a mismatch on the ftp settings somewhere from Cumulus to the Web Server.

Also I see

Could not resolve host 'wetter.teamstelling.de'

DNS issue perhaps?
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
jnstllng
Posts: 12
Joined: Sun 15 Jan 2017 10:10 pm
Weather Station: WH1080
Operating System: Raspian, Windows 7, Windows 10

Re: realtimegauges.txt not updating locally

Post by jnstllng »

Plenty of errors uploading, and you cannot just think this is a coincidence. The fault in right in front of you... My guess would be a mismatch on the ftp settings somewhere from Cumulus to the Web Server.

Also I see

Could not resolve host 'wetter.teamstelling.de'

DNS issue perhaps?
I also see plenty of errors, but it is always the same! And since I did not change path on the server or whatever, I have no idea.
Since I changed from FTP to FTPS I had some troubble, but that is fixed now. The "Could not resolve" issue was due to a port on my router not functioning, but this is also fixed.
The leftover error is that my realtimegauges.txt is not generating...
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: realtimegauges.txt not updating locally

Post by water01 »

Cumulus does not support FTPS only standard FTP there are plenty of threads that mention this and it is also in the Wiki http://wiki.sandaysoft.com/a/FAQ#How_do ... FTPS.29.3F
David
Image
jnstllng
Posts: 12
Joined: Sun 15 Jan 2017 10:10 pm
Weather Station: WH1080
Operating System: Raspian, Windows 7, Windows 10

Re: realtimegauges.txt not updating locally

Post by jnstllng »

Cumulus does not support FTPS
Ok, I changed my server setting back to also allow FTP connections again. I did not check for FTPS compatibility before.
However, this was not the final solution.

I found a fix and can report it here. Maybe some of you can comment if this is known or not.
I am using the RasPi start/stop script to start and check Cumulus. When I started Cumulus with that script and have the local web view (localhost:8998) open at the same time in Chromium on my RasPi, my Cumulus.ini was changed in the FTP site section. I configured it like that:

Code: Select all

...
EnableRealtime=1
RealtimeFTPEnabled=1
RealtimeTxtFTP=1
RealtimeGaugesTxtFTP=1
RealtimeInterval=300000
UpdateInterval=30
...
and it changed to

Code: Select all

...
EnableRealtime=1
RealtimeFTPEnabled=1
RealtimeTxtFTP=1
RealtimeGaugesTxtFTP=0
RealtimeInterval=300000
UpdateInterval=30
...
I chnaged RealtimeGaugesTxtFTP back to 1 manually in the ini file and all is fine now.
I do not know if this is normal or if I just did not know about that. But now it is working again.
Thanks for your comments anyway. I hope this is also of help for other users...
Locked