Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.5 (build 3282) - 23 February 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 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

Gauges not working on website since 3191 update

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
Nottub
Posts: 164
Joined: Fri 04 Dec 2020 4:35 pm
Weather Station: Davis VP2 (Cabled)
Operating System: RPi 4
Contact:

Gauges not working on website since 3191 update

Post by Nottub »

Hi,

Having troube with the gauges page on my webpage which has not updated since this morning when I updated CumulusMX.

I have FTP'd all html files, .js files 'lib files to my server which show up as up to date. The main page works OK with current readings but I'm struggling with the Gauges page which won't update the gauge values and shows as offline.

https://www.calvertoncam.co.uk/weather/gauges.htm

Any pointers gratefully received.

Thanks

Martyn
Image
User avatar
mcrossley
Posts: 12641
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Gauges not working on website since 3191 update

Post by mcrossley »

In your Internet settings do you still have real-time FTP enabled, and realtimegauges.txt set to be generated and FTP'd?
Nottub
Posts: 164
Joined: Fri 04 Dec 2020 4:35 pm
Weather Station: Davis VP2 (Cabled)
Operating System: RPi 4
Contact:

Re: Gauges not working on website since 3191 update

Post by Nottub »

Hi Mark,

Real time ftp enabled in the tickbox.

Realtime.txt specifically listed in filename box with Generate and ftp Transfer enabled

Realtimegauges.txt specifically listed in filename box with Generate and ftp Transfer enabled.

Upload interval set at 15 seconds.


Thanks

Martyn
Image
User avatar
mcrossley
Posts: 12641
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Gauges not working on website since 3191 update

Post by mcrossley »

Ok could you switch on debug and FTP logging for 5 minutes then post the latest MXdiags log file please?
Nottub
Posts: 164
Joined: Fri 04 Dec 2020 4:35 pm
Weather Station: Davis VP2 (Cabled)
Operating System: RPi 4
Contact:

Re: Gauges not working on website since 3191 update

Post by Nottub »

Thanks Mark will do.

The 'realtimegauges.txt' is updating in CumulusMX but no new server version is appearing. Explains why I can see the working gauges on my local PC but not on my remote server. Just manually copied across a copy of that file and the newer values show.

Still offline though.

Ill debug now.

Thanks

Martyn
Image
Nottub
Posts: 164
Joined: Fri 04 Dec 2020 4:35 pm
Weather Station: Davis VP2 (Cabled)
Operating System: RPi 4
Contact:

Re: Gauges not working on website since 3191 update

Post by Nottub »

Hi Mark,

As requested.

Hope this helps.


Kind regards

Martyn
You do not have the required permissions to view the files attached to this post.
Image
water01
Posts: 3201
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Gauges not working on website since 3191 update

Post by water01 »

Both your realtime.txt and realtimegauges.txt FTP uploads are failing, but the reason, to me at least, is unclear why. Suggest you also upload the FTP debugging log as per Mark's request.
David
Image
Nottub
Posts: 164
Joined: Fri 04 Dec 2020 4:35 pm
Weather Station: Davis VP2 (Cabled)
Operating System: RPi 4
Contact:

Re: Gauges not working on website since 3191 update

Post by Nottub »

Hi David, I thought I had turned on the ftp logging as well.

Here is the latest log. Note there is no separate ftp log.

Martyn
You do not have the required permissions to view the files attached to this post.
Image
Nottub
Posts: 164
Joined: Fri 04 Dec 2020 4:35 pm
Weather Station: Davis VP2 (Cabled)
Operating System: RPi 4
Contact:

Re: Gauges not working on website since 3191 update

Post by Nottub »

David,

Apologies, i found the ftp log, now attached.


Cheers

Martyn
You do not have the required permissions to view the files attached to this post.
Image
User avatar
mcrossley
Posts: 12641
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Gauges not working on website since 3191 update

Post by mcrossley »

A wild guess - check on your server and see if you have files called r"realtime.txttmp" and "realtimegauges.txttmp" and they have zero length.
If they are present delete both files.


Sorry - your log shows you are not using file renaming (though you should if your server supports it)
User avatar
mcrossley
Posts: 12641
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Gauges not working on website since 3191 update

Post by mcrossley »

Thanks for the FTP log, it appears your FTP server does not support ESPV mode.

Try disabling this mode in Internet Settings | Web/FTP Site | Advanced Settings
Nottub
Posts: 164
Joined: Fri 04 Dec 2020 4:35 pm
Weather Station: Davis VP2 (Cabled)
Operating System: RPi 4
Contact:

Re: Gauges not working on website since 3191 update

Post by Nottub »

Mark,,

That doesn't seem to work.

Latest ftplog attached.

Kind regards

Martyn
You do not have the required permissions to view the files attached to this post.
Image
Nottub
Posts: 164
Joined: Fri 04 Dec 2020 4:35 pm
Weather Station: Davis VP2 (Cabled)
Operating System: RPi 4
Contact:

Re: Gauges not working on website since 3191 update

Post by Nottub »

I'll clear the log, and start again tomorrow.

EPSV box checked to disable.

Post ftp log again in the morning.

Thanks for your help.

Martyn
Image
Nottub
Posts: 164
Joined: Fri 04 Dec 2020 4:35 pm
Weather Station: Davis VP2 (Cabled)
Operating System: RPi 4
Contact:

Re: Gauges not working on website since 3191 update

Post by Nottub »

Guys, don't ask me why, don't ask me how but it's up and running again.

I am completely baffled, but have learned a little bit. Perhaps the tweaks mentioned by Mark and following a restart of Cumulus, all seems well at the moment.

Ill leave ftp logging on overnight and see what it says tomorrow.


Really sorry to bother you but It's good to know there's always help out there.

Kind regards

Martyn :bash:
Image
User avatar
mcrossley
Posts: 12641
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Gauges not working on website since 3191 update

Post by mcrossley »

Ah, yes, I should have said, disabling ESPV mode means you have to restart CMX as the real-time connection is persistent. (from next build you can just disable/enable real-time FTP to get it to take effect)
Post Reply