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 4019) - 03 April 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 V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
degree days and temp sump charts not loading
Moderator: mcrossley
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
degree days and temp sump charts not loading
Ok - I've clearly missed something pretty basic but have been tearing my hair out trying to get these charts to load on the standard web site (new version) on b3130. They just stay blank with the 'loading' message displayed. I thought it might have been due to some customisation I had done to a few web pages and js files so I loaded the vanilla release files but having the same problem. No problems displaying on the MX interface. I'm assuming the json files are alldailydegdaydata and alltempsumdata. These seem to be processing and are ftp'ing to my var/www folder (I'm hosting on an RPi). Any pointers much appreciated. I have cleared the cache. I have also ensured that these charts are checked as visible as per the release notes.
Cheers
Steve
Cheers
Steve
- The Dalek Hunter
- Posts: 255
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
Re: degree days and temp sump charts not loading
Working fine when I view them
You do not have the required permissions to view the files attached to this post.
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: degree days and temp sump charts not loading
Many thanks for the prompt response. I didn't make myself very clear - apologies. It is specifically the degree days and temp sum charts on the historic charts page that don't load. All the other charts are fine.
Cheers
Steve
Cheers
Steve
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: degree days and temp sump charts not loading
The json files are returning 403 (forbidden) to the historic chart call.
......................Imagine, what you will KNOW tomorrow !
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: degree days and temp sump charts not loading
The web server is returning a 403 error - Forbidden.
I'd check the file permissions for those new json files in your web server folder.
I'd check the file permissions for those new json files in your web server folder.
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: degree days and temp sump charts not loading
Thanks Beteljuice and Mark for your feedback. The file permissions in the web folder are clearly different (-rw-r----- vs -rw-r--r---) but they are identical to all the other json files in the MX web directory. Clearly showing my lack of knowledge on Linux file permissions here but don't understand how this could happen.
Cheers
Steve
Cheers
Steve
-
- Posts: 2473
- 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: degree days and temp sump charts not loading
How about the owner and group of the new files? Are they different from the other JSON files?
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: degree days and temp sump charts not loading
Hi Freddie,
As far as my limited linux file permissions goes, the new files have owner read and write, user group read and no world permissions (hence why they won't load). All the other json files in the web directory have owner read and write, user group read and world read. In the MX web directory, all json files in the web directory have owner read and write, user group read and world read.
I did just erase the new json files in the web directory and manually copy the files from the MX folder. File permissions are all good and the charts display. I'll check tomorrow when the files update at rollover to see if the permissions are retained when they ftp across.
Cheers
Steve
As far as my limited linux file permissions goes, the new files have owner read and write, user group read and no world permissions (hence why they won't load). All the other json files in the web directory have owner read and write, user group read and world read. In the MX web directory, all json files in the web directory have owner read and write, user group read and world read.
I did just erase the new json files in the web directory and manually copy the files from the MX folder. File permissions are all good and the charts display. I'll check tomorrow when the files update at rollover to see if the permissions are retained when they ftp across.
Cheers
Steve
-
- Posts: 2473
- 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: degree days and temp sump charts not loading
Hi Steve, I was wondering what the actual owner and group was in relation to the existing JSON files - but you have fixed the problem so all is good
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: degree days and temp sump charts not loading
Thanks Freddie. The owner and group of the Jason files are both pi.
Cheers
Steve
Cheers
Steve
-
- Posts: 2473
- 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: degree days and temp sump charts not loading
Okay, so you needed world read on the files, as you discovered. Your web server is probably running as a user such as www-data which is highly unlikely to be a member of the pi group - hence world read required.
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: degree days and temp sump charts not loading
Hi Freddie,
Many thanks for taking the time to respond. All makes sense and I remember reading this when trawling the net on linux file permissions. Files updated today with no issues so looks like problem solved. Not sure what happened on the first transfer.
Cheers
Steve
Many thanks for taking the time to respond. All makes sense and I remember reading this when trawling the net on linux file permissions. Files updated today with no issues so looks like problem solved. Not sure what happened on the first transfer.
Cheers
Steve
-
- Posts: 2473
- 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: degree days and temp sump charts not loading
It will be due to something known as umask setting. This is basically the default permissions given to files when created on the host for the first time. Looks like your umask setting doesn't include world read. Note that whatever software you use to transfer files may well have its own behaviour when it comes to permissions of newly created files. A command line FTP client will likely do a different thing to something like Filezilla or even SCP/WinSCP. They should all use the host's umask setting initially, but then may apply their own settings on top of this.