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

inmyrvm
Posts: 44
Joined: Thu 19 Nov 2020 9:16 pm
Weather Station: Davis VP2
Operating System: Windows 10

trends.htm missing graphs

Post by inmyrvm »

Hi,

I've seen several messages on this topic, though in my case I started with the MX templates as I just installed this for the first time a few weeks ago. The graphs look great on my home server (localhost:8998/charts.html), but on my godaddy web server, http://805weather.com/trends.htm, the graphs are totally missing. The buttons are there at the bottom but clicking them does nothing. It looks like I have all the files in the right places on my web server and I did select include graph data files in the settings menu. Is there something I'm missing?
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: trends.htm missing graphs

Post by PaulMy »

I did select include graph data files in the settings menu
Did you do a Save after ticking the setting?

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
inmyrvm
Posts: 44
Joined: Thu 19 Nov 2020 9:16 pm
Weather Station: Davis VP2
Operating System: Windows 10

Re: trends.htm missing graphs

Post by inmyrvm »

PaulMy wrote: Mon 30 Nov 2020 5:49 pm
I did select include graph data files in the settings menu
Did you do a Save after ticking the setting?

Enjoy,
Paul
Yes. I actually turned that on when I first set this up a few weeks ago and have saved many times since then for other settings changes so I'm sure that's not the issue. I'm just wondering if it's something with the godaddy server or another setting somewhere in MX that I might have missed. Or maybe a file is missing on the server.
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 »

Your .json files are not found on the server (that is what the graph data files are). You can see this if you press F12 to open the developer console, and then reload the page.
Freddie
Image
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: trends.htm missing graphs

Post by PaulMy »

If you turn on FTP logging in internet settings, then check the FTPlog file in your CumulusMX root to see what is happening at the regular upload FTP.

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
inmyrvm
Posts: 44
Joined: Thu 19 Nov 2020 9:16 pm
Weather Station: Davis VP2
Operating System: Windows 10

Re: trends.htm missing graphs

Post by inmyrvm »

freddie wrote: Mon 30 Nov 2020 6:12 pm Your .json files are not found on the server (that is what the graph data files are). You can see this if you press F12 to open the developer console, and then reload the page.
I have had ftp logging going for the last week or so troubleshooting other issues. Here's a snippet of the log showing the json files being uploaded. Perhaps to the wrong directory? That's the primary directory on my server.
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 12697
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 »

Use an FTP client like Filezilla to confirm they are in the correct place.

It may be that your web server is not configured to serve .json files. Is your server, or a hosting company?
inmyrvm
Posts: 44
Joined: Thu 19 Nov 2020 9:16 pm
Weather Station: Davis VP2
Operating System: Windows 10

Re: trends.htm missing graphs

Post by inmyrvm »

mcrossley wrote: Mon 30 Nov 2020 7:29 pm Use an FTP client like Filezilla to confirm they are in the correct place.

It may be that your web server is not configured to serve .json files. Is your server, or a hosting company?
I use GoDaddy. It seems pretty complete but I didn't see a specific reference to json files in the applications menu. I assumed a major web server company would have that preconfigured but maybe not.
inmyrvm
Posts: 44
Joined: Thu 19 Nov 2020 9:16 pm
Weather Station: Davis VP2
Operating System: Windows 10

Re: trends.htm missing graphs

Post by inmyrvm »

mcrossley wrote: Mon 30 Nov 2020 7:29 pm Use an FTP client like Filezilla to confirm they are in the correct place.

It may be that your web server is not configured to serve .json files. Is your server, or a hosting company?
By the way, what IS the appropriate place? I did confirm they are all in my primary web directory which is /httpdocs. Should they be in a subdirectory?
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: trends.htm missing graphs

Post by PaulMy »

Seems to be working now oops :oops: http://805weather.com/gauges.htm
By the way, what IS the appropriate place? I did confirm they are all in my primary web directory which is /httpdocs. Should they be in a subdirectory?
You have it in your http://805weather.com root with likely nothing else there other than the Cumulus webfiles. That is fine, but if you want to add something else to this website at a later time, such as another template, then it could become confusing.

Enjoy,
Paul
Last edited by PaulMy on Mon 30 Nov 2020 9:18 pm, edited 1 time in total.
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
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 »

PaulMy wrote: Mon 30 Nov 2020 9:06 pm Seems to be working now http://805weather.com/gauges.htm
It is the graphs that don't work, the gauges are fine.
It looks from your screen shots that the JSON files are uploading okay. Perhaps your ISP needs to enable serving of JSON files, as they aren't available to the JavaScript that draws the graphs.
Freddie
Image
User avatar
HansR
Posts: 5874
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: trends.htm missing graphs

Post by HansR »

graphconfig.json seems to be missing. I guess that's where it strands.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12697
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 »

If the files are definitely there then you need to contact GoDaddy support and ask them to enable the .json file type on your web server.
inmyrvm
Posts: 44
Joined: Thu 19 Nov 2020 9:16 pm
Weather Station: Davis VP2
Operating System: Windows 10

Re: trends.htm missing graphs

Post by inmyrvm »

Google helped me find the solution to this. It was pretty obscure but it worked. I guess I just assumed this was all set up by default but I guess not. After I added these lines it worked. Just posting here in case anyone else has a similar issue.

in the new plesk control panel under web server settings add mime type

text/json .json

application/json .json
User avatar
mcrossley
Posts: 12697
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 »

:thumbsup: - Yep, that is what we were saying about the web server not being configured to support .json files.
Post Reply