Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.6.6 (build 3082) - 1 June 2020 (please see important announcement regarding releases since 3.5.0)
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 the NOAA report and Snow Index drop-down menus to 2030)

See the Wiki to download the software or click on the Downloads link in the Forum Banner.

CuMX on RPi3 not updating website

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

Chapel
Posts: 86
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

Re: CuMX on RPi3 not updating website

Post by Chapel »

I thought that was the log from WU as opposed to direct from my machine to the website? If that is the case the lack of logging was because I had the wrong pass for WU. I say this because the Wind run did update, this image is just before I downed it in favour of the Win10 box.

Is the ftp logging via CuMX or on the Raspbian OS?
Rpi image.PNG
You do not have the required permissions to view the files attached to this post.

User avatar
mcrossley
Posts: 6483
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CuMX on RPi3 not updating website

Post by mcrossley »

OK, yes that dashboard does get its data from WU, so the wrong WU password would prevent it updating!
FTP logging would not trace WU updates, the responses for those are logged in the normal diags file.

Chapel
Posts: 86
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

Re: CuMX on RPi3 not updating website

Post by Chapel »

Hmm... I just realised I had the ftp update set to 1 second which is probably not ideal, I have set it to 60 seconds and enabled all logging and will leave it for a few minutes and see how it looks.

Where are the ftp log files stored?

Chapel
Posts: 86
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

Re: CuMX on RPi3 not updating website

Post by Chapel »

The MXDiag still shows time outs on ftp even with the 60 second interval:

2019-04-27 12:05:41.743 Response from station: 'rdlv,8.1,8.5,,992.8,3.0,226,107.99,2.33,86'
2019-04-27 12:05:41.745 Sending: RDST,14
2019-04-27 12:05:41.753 Discarding input: RDST,14
2019-04-27 12:05:42.254 Reading response from station, attempt 1
2019-04-27 12:05:42.254 Response from station: 'rdst,14,21019,92'
2019-04-27 12:05:42.985 Error uploading realtime.txt to realtime.txt : Timed out trying to connect!
2019-04-27 12:05:44.255 Sending: RDLV
2019-04-27 12:05:44.278 Discarding input: RDLV
2019-04-27 12:05:44.779 Reading response from station, attempt 1
2019-04-27 12:05:44.780 Response from station: 'rdlv,8.0,8.5,,992.8,4.9,241,107.99,2.33,80'
2019-04-27 12:05:44.780 Sending: RDST,14

Chapel
Posts: 86
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

Re: CuMX on RPi3 not updating website

Post by Chapel »

..and the ftplog.txt I cannot see it even trying to connect based on my webserver IP or name 213.175.209.189

ftp.log.txt
You do not have the required permissions to view the files attached to this post.

freddie
Posts: 726
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: Ubuntu 18.04 (LXC container)
Location: Dorrington, Shropshire, UK
Contact:

Re: CuMX on RPi3 not updating website

Post by freddie »

It is connecting to something:

Code: Select all

Status:   Connecting to 92.242.132.15:21
Status:   Disposing FtpSocketStream...
The transfer doesn't appear to happen every time, though.

What are your FTP host details in Cumulus.ini?
Freddie
Image

Chapel
Posts: 86
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

Re: CuMX on RPi3 not updating website

Post by Chapel »

Well thank you for that freddie, I just compared the cumulus.ini files between boxes; user/pass were correct however I was using an IP for the ftp on the Win10 and server.name on the RPi box and I had a typo in it, so I changed it to IP for the RPi, restarted CumulusMX and it is updating temperature and wind run etc. I will leave it running again and see how it looks in an hour or so.

Thank you again all for your help with this.

Post Reply