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
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
Graphs not updating on website
-
- Posts: 642
- Joined: Mon 25 Jan 2010 1:55 pm
- Weather Station: Watson W-8681
- Operating System: Raspian
- Location: Brighton, UK
- Contact:
Graphs not updating on website
I have two weather stations running MX each on a Raspberry Pi. One is in France, the other in the UK. The France one is working fine, updating the graphs and gauges ok on the public website.
However, the UK one won't update graphs or gauges on the website.
I have Upload Gauges ticked, but the .json files are not being uploaded/updated on the website.
I have spent a lot of time investigating and comparing the two sites, but haven't found anything wrong.
Any help would be much appreciated.
However, the UK one won't update graphs or gauges on the website.
I have Upload Gauges ticked, but the .json files are not being uploaded/updated on the website.
I have spent a lot of time investigating and comparing the two sites, but haven't found anything wrong.
Any help would be much appreciated.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Graphs not updating on website
Presumably the json files are being updated on the Pi? If so, turn on ftp logging and the ftplog.txt file should help diagnose the problem.
Steve
-
- Posts: 642
- Joined: Mon 25 Jan 2010 1:55 pm
- Weather Station: Watson W-8681
- Operating System: Raspian
- Location: Brighton, UK
- Contact:
Re: Graphs not updating on website
Hi Steve,
Thanks for the prompt reply.
The .json file aren't being generated on the UK Pi, but they have been and are being updated on the France one.
I assume they are meant to be created by MX as I don't see them in the unzipped distribution?
Thanks,
Paul
Thanks for the prompt reply.
The .json file aren't being generated on the UK Pi, but they have been and are being updated on the France one.
I assume they are meant to be created by MX as I don't see them in the unzipped distribution?
Thanks,
Paul
- mcrossley
- Posts: 12903
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Graphs not updating on website
I see the UK station is using build 3037 and the France one is 3031. Did the location of the json files change to the web folder in b3037?
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Graphs not updating on website
Yes, it did.mcrossley wrote:Did the location of the json files change to the web folder in b3037?
Steve
-
- Posts: 642
- Joined: Mon 25 Jan 2010 1:55 pm
- Weather Station: Watson W-8681
- Operating System: Raspian
- Location: Brighton, UK
- Contact:
Re: Graphs not updating on website
The issue was still present for me pre-b3037.steve wrote:Yes, it did.mcrossley wrote:Did the location of the json files change to the web folder in b3037?
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Graphs not updating on website
So to clarify, the json files are not being updated in the web folder on your Pi, with 3037?
Steve
-
- Posts: 642
- Joined: Mon 25 Jan 2010 1:55 pm
- Weather Station: Watson W-8681
- Operating System: Raspian
- Location: Brighton, UK
- Contact:
Re: Graphs not updating on website
Correct, there are only .htm files and the realtimegaugesT.txt and realtimegauges.txt files in the web folder on the UK Pi (b3037).steve wrote:So to clarify, the json files are not being updated in the web folder on your Pi, with 3037?
On the France Pi running b3031, the .json files are being updated successfully in the CumulusMX folder.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Graphs not updating on website
Which .htm files - just the templates (the ones with T in them) or the processed files, e.g. index.htm and if so, are the files without the T in them being updated? In particular, the gauges.htm file, as that's the last one it creates before creating the json files.Synewave wrote:Correct, there are only .htm files and the realtimegaugesT.txt and realtimegauges.txt files in the web folder on the UK Pi (b3037).
Is the realtimegauges.txt file being updated? I'm wondering if it's a permissions problem and it can't write to the web folder.
Are there any errors in the current MXdiags file?
Steve
-
- Posts: 642
- Joined: Mon 25 Jan 2010 1:55 pm
- Weather Station: Watson W-8681
- Operating System: Raspian
- Location: Brighton, UK
- Contact:
Re: Graphs not updating on website
Hi Steve,
The htm files are not being updated, could that be because I have Include Standard Files unchecked? (I don't use these).
This is a capture of the files in the web folder on the UK Pi showing the update timestamps:
I've attached the latest file from MXdiags, I can't see anything wrong in there.
The htm files are not being updated, could that be because I have Include Standard Files unchecked? (I don't use these).
This is a capture of the files in the web folder on the UK Pi showing the update timestamps:
I've attached the latest file from MXdiags, I can't see anything wrong in there.
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Graphs not updating on website
It should still create the .htm pages (but not upload them) without "include standard files" as long as you have 'auto update' selected and a valid interval specified.
You're getting an error when you change the internet settings:
2016-03-06 09:33:46.731 Updating internet settings
2016-03-06 09:33:46.732 Object reference not set to an instance of an object
I don't know whether that's related to the problem you're having.
It seems to have successfully created the realtimegauges.txt file at least once, but not since 0929. That does seem to rule out a permissions problem, and you're running MX as root anyway?
Perhaps it would be useful to see your internet settings screen - the "Web/ftp site" section, and the "Web/ftp settings" section, and your "extra files" page.
You're getting an error when you change the internet settings:
2016-03-06 09:33:46.731 Updating internet settings
2016-03-06 09:33:46.732 Object reference not set to an instance of an object
I don't know whether that's related to the problem you're having.
It seems to have successfully created the realtimegauges.txt file at least once, but not since 0929. That does seem to rule out a permissions problem, and you're running MX as root anyway?
Perhaps it would be useful to see your internet settings screen - the "Web/ftp site" section, and the "Web/ftp settings" section, and your "extra files" page.
Steve
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Graphs not updating on website
What update interval are you using? It looks like there's a bug where updates don't happen if you use an interval that isn't synchronised to the clock time, i.e. not a factor of 60.
Steve
-
- Posts: 642
- Joined: Mon 25 Jan 2010 1:55 pm
- Weather Station: Watson W-8681
- Operating System: Raspian
- Location: Brighton, UK
- Contact:
Re: Graphs not updating on website
CumulusMX is running under root on UK Pi:
ps -ef|grep Cumulus
root 467 1 1 09:18 ? 00:01:45 mono /home/pi/CumulusMX/CumulusMX.exe
I've attached the screenshots as requested.
I do get the Object Error when I change Internet settings. That seems to have started in b3037. But the changes seem to still take effect.
I don't get that error on the France b3031 build. I was going to let you know about this in a different topic.
Many thanks with all your help with this so far Steve.
ps -ef|grep Cumulus
root 467 1 1 09:18 ? 00:01:45 mono /home/pi/CumulusMX/CumulusMX.exe
I've attached the screenshots as requested.
I do get the Object Error when I change Internet settings. That seems to have started in b3037. But the changes seem to still take effect.
I don't get that error on the France b3031 build. I was going to let you know about this in a different topic.
Many thanks with all your help with this so far Steve.
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Graphs not updating on website
Have you changed the interval or has it been 15 minutes all along?
Perhaps the best way forward would be for you to send me your Cumulus.ini file (you can edit out the passwords) and I should at least be able to see what the cause of the settings error is.
Perhaps the best way forward would be for you to send me your Cumulus.ini file (you can edit out the passwords) and I should at least be able to see what the cause of the settings error is.
Steve
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Graphs not updating on website
It looks like you have a leading slash missing from the local filename of realtimegaugesT.txt?
Steve