Page 1 of 1

No charts after update from v1.9.4 to Mx

Posted: Wed 02 Sep 2020 11:34 pm
by TRB
I have been happily running v1.9.4 and predecessors for 10 years.

I have just begun testing Mx 3.8.3 3039 and I migrated my current data and all seems OK except the display of charts and gauges yet both look good on the Mx dashboard.

Once uploaded to my weather site every page looks good except for charts as all I get is the 2 menu bars across the bottom but no chart above them. Please refer attached pic and ignore the background car.

Similar issue with no gauges. Am I missing the obvious in my update process?



Re: No charts after update from v1.9.4 to Mx

Posted: Thu 03 Sep 2020 5:04 am
by TRB
I know nothing about Mx or highcharts but after some fiddling I can see that my image files are not being updated on my website.

Dunno if that helps anyone :roll:


Re: No charts after update from v1.9.4 to Mx

Posted: Thu 03 Sep 2020 5:13 am
by freddie
It looks like you may need to copy the contents of the "webfiles" folder from your MX installation to your website. Both the gauges and the graphs use javascript for drawing the dials/charts and it looks as if they are missing. You can find out what's missing for yourself by using your browser's developer console - just press F12, select the network tab, and reload your web page.

Re: No charts after update from v1.9.4 to Mx

Posted: Thu 03 Sep 2020 5:18 am
by freddie
TRB wrote: Thu 03 Sep 2020 5:04 am I know nothing about Mx or highcharts but after some fiddling I can see that my image files are not being updated on my website
MX doesn't generate image files and send them - it pushes the data to your website in json files and your web browser draws the charts using the json data and javascript.
There's a couple of sections in the wiki covering differences between MX and earlier Cumulus versions.

Re: No charts after update from v1.9.4 to Mx

Posted: Thu 03 Sep 2020 5:56 am
by TRB
Thanks Freddie.... those 'Webfiles' did the trick for the charts :clap:

The gauges are now displaying but with no valid data. There is an error statement and seconds count near the top :o

Didn't know about F12 so will have a poke about there ;)

Re: No charts after update from v1.9.4 to Mx

Posted: Thu 03 Sep 2020 6:12 am
by freddie
TRB wrote: Thu 03 Sep 2020 5:56 am The gauges are now displaying but with no valid data.
That is a symptom of the javascript being unable to find the realtimegauges.txt file. I would check in your settings -> internet settings menu in your interface to see whether you have the realtime option ticked. Then check using F12 to see where the file is being looked for (you will probably have a list of requests for realtimegauges.txt that have the 404 "missing" response code - these will tell you where realtimegauges.txt should be)

Re: No charts after update from v1.9.4 to Mx

Posted: Thu 03 Sep 2020 10:30 pm
by TRB
Thanks again Freddie :)

I had Realtime, Relatime FTP and Realtime.txt FTP all ticked but not Realtimegauges.txt FTP.

All good now
:D

Re: No charts after update from v1.9.4 to Mx

Posted: Fri 04 Sep 2020 12:53 am
by TRB
I was wrong Freddie... not ALL good :(

It has stopped auto-updating despite that still set for 5 minutes.

Correction... it is station updates not occurring.