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

trends.htm missing graphs

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Redford
Posts: 4
Joined: Sun 22 Nov 2020 12:28 pm
Weather Station: N96GY (Maplin Gadget)
Operating System: Windows 10

Re: trends.htm missing graphs

Post by Redford »

I have been following this thread since I have a similar problem except that not only do I have no graphs but neither are my gauges updating. I have set up a local server using Filezilla to enable me to review the weather data at a computer remote to the one connected to the console. All the pages appear to be working except gauges and trends. I note the comments about the server needing to support .json file types but I have no idea whether Filezilla Server does so. Can anyone help?
User avatar
mcrossley
Posts: 12691
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: trends.htm missing graphs

Post by mcrossley »

Can you provide a link to your server pages that aren't working?
Redford
Posts: 4
Joined: Sun 22 Nov 2020 12:28 pm
Weather Station: N96GY (Maplin Gadget)
Operating System: Windows 10

Re: trends.htm missing graphs

Post by Redford »

Sorry, no. It's only viewable on my home network.
freddie
Posts: 2434
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: trends.htm missing graphs

Post by freddie »

FileZilla will upload whatever you throw at it, regardless of extension. The discussion regarding JSON files was pertaining to the Apache web server.

It's a bit difficult to diagnose this as the problem is isolated on your LAN. When you access your internal website, if you press the F12 key when using your browser to view your page, this will open the developer console, then if you reload the page you will be able to see (via the network tab) whether or not resources are being found.
Freddie
Image
Redford
Posts: 4
Joined: Sun 22 Nov 2020 12:28 pm
Weather Station: N96GY (Maplin Gadget)
Operating System: Windows 10

Re: trends.htm missing graphs

Post by Redford »

Thank you. That gives me something to get my teeth into -
Access to XMLHttpRequest at 'file:///C:/Users/ajs/FTP/realtimegauges.txt?_=1607112283276' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.

I'm definitely out of my depth here!
User avatar
mcrossley
Posts: 12691
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: trends.htm missing graphs

Post by mcrossley »

You cannot load files from the filesystem from a web page. They must be loaded via the web server.

Are you actually running a web server or just loading the HTML files directly from your file system?
kannema
Posts: 19
Joined: Wed 30 Sep 2009 7:13 am
Weather Station: davis pro
Operating System: Windows
Location: Boelenslaan
Contact:

Re: trends.htm missing graphs

Post by kannema »

Having sort of the same problem, Solar is not displayed in trends my weatherstation is online
http://217.27.228.183
At the gauges the solar is normal working.
User avatar
mcrossley
Posts: 12691
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: trends.htm missing graphs

Post by mcrossley »

kannema wrote: Sat 05 Dec 2020 2:28 pm Having sort of the same problem, Solar is not displayed in trends my weatherstation is online
http://217.27.228.183
At the gauges the solar is normal working.
A different issue. Do you have solar enabled in the graph settings?
kannema
Posts: 19
Joined: Wed 30 Sep 2009 7:13 am
Weather Station: davis pro
Operating System: Windows
Location: Boelenslaan
Contact:

Re: trends.htm missing graphs

Post by kannema »

I'm not having a solar option at the graphs options, where do i find that option?
You do not have the required permissions to view the files attached to this post.
kannema
Posts: 19
Joined: Wed 30 Sep 2009 7:13 am
Weather Station: davis pro
Operating System: Windows
Location: Boelenslaan
Contact:

Re: trends.htm missing graphs

Post by kannema »

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

Re: trends.htm missing graphs

Post by mcrossley »

It looks like you may not have copied all the files from the latest zip file to your Cumulus install folder.
kannema
Posts: 19
Joined: Wed 30 Sep 2009 7:13 am
Weather Station: davis pro
Operating System: Windows
Location: Boelenslaan
Contact:

Re: trends.htm missing graphs

Post by kannema »

I've closed cumulus on my RPI and unzipped (from the newly downloaded zip file) all the files again, after restart i've got no solar graph and i've noticed there is also no daily temp graph and no sunhours graph.
kannema
Posts: 19
Joined: Wed 30 Sep 2009 7:13 am
Weather Station: davis pro
Operating System: Windows
Location: Boelenslaan
Contact:

Re: trends.htm missing graphs

Post by kannema »

made a clean installation on a new sd card with the rpi image, copied the cumulusmx dir to the /opt/CumulusMX directory and rebooted the rpi. Now i can select solar in my graph settings. Thanx
You do not have the required permissions to view the files attached to this post.
freddie
Posts: 2434
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: trends.htm missing graphs

Post by freddie »

kannema wrote: Sun 06 Dec 2020 6:24 am I've closed cumulus on my RPI and unzipped (from the newly downloaded zip file) all the files again, after restart i've got no solar graph and i've noticed there is also no daily temp graph and no sunhours graph.
You may have been a victim of the browser cache here ;)
Freddie
Image
User avatar
mcrossley
Posts: 12691
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: trends.htm missing graphs

Post by mcrossley »

freddie wrote: Sun 06 Dec 2020 11:32 am You may have been a victim of the browser cache here ;)
If that happens it is worth checking the admin interface, as Cumulus uses a no-cache directive for all JSON files there.
Post Reply