Welcome to the Cumulus Support forum.

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

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

Web charts not updating....

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
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Web charts not updating....

Post by jon_iz »

I'm pretty sure this is something i have done or not done.....

I updated Cumulus MX to 3269 back in January.
I noticed yesterday that the uploaded graphs were not updating at the configured 5 minute interval..
Local host is fine.
Forcing an update from utils will update the graphs.

Other pages seem to be working ok
Pages: https://duncreggan.net/cumulusmx/trends.htm#temp

So I have updated again today to 3282 and still see the same problem.

My usual method to update cmx is:

Save a copy of the cmx folder
save a copy of the website folders
Unpack the new CMX package into the original cmx folder, overwriting existing files
amend the .js files that needed editing in webfiles
Upload the webfiles into a clean folder on the webhost.
restart CMX and let it catchup from Weatherlink

This has always worked up until now.
My graph interval is set to 5 mins in cumulus.ini and gauges.js - I've included these for reference, with credentials replaced with *

Is there another setting i have missed thats stopping my charts updating?
You do not have the required permissions to view the files attached to this post.
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: Web charts not updating....

Post by jon_iz »

I've appended a log file to the original post.
I can see that a number of the graphs are failing with "Response code = 406: NotAcceptable - Skipping this increment"
What causes this?
User avatar
mcrossley
Posts: 12905
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Web charts not updating....

Post by mcrossley »

It's saying that the incremental upload is empty - there is no new date = []

Could you edit the upload.php file on your server, and at line 23 change $debug to = true;

Let MX go through one of its 5 minute interval uploads.

You can change the upload.php back to $debug = false;

Then upload the latest MXdiags file again please.
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: Web charts not updating....

Post by jon_iz »

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

Re: Web charts not updating....

Post by mcrossley »

Strange, everything looks OK there. The data being sent is valid, but the script is not understanding it.

What version of PHP are you running, is it particularly old?
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: Web charts not updating....

Post by jon_iz »

Yes... It was old.
It was 5.4.16..

I've just pushed it up to 8.3.3 and that looks like it might have fixed it...
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 12905
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Web charts not updating....

Post by mcrossley »

:thumbsup:
User avatar
HansR
Posts: 6028
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Web charts not updating....

Post by HansR »

There's something wrong with being conservative :lol:
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: Web charts not updating....

Post by jon_iz »

Mark,
Thanks for looking at it and for the pointer...
freddie
Posts: 2505
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Web charts not updating....

Post by freddie »

HansR wrote: Tue 27 Feb 2024 8:35 pm There's something wrong with being conservative :lol:
In the UK, yes :lol:
Freddie
Image
Post Reply