I had a power cut about 2 hours ago, but since then, CMX is unable to connect to upload.php
I have rebooted and everything, but I get a 500 error. I contacted the host and they said there's no block on my IP address.
I can connect to my FTP client fine. I'm completely out of ideas.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Powercut issue
Moderator: mcrossley
-
Mapantz
- Posts: 1992
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Powercut issue
I found the issue
I had to disable Brotli Compression
Even though it's on for my hosting, it doesn't work.
I had to disable Brotli Compression
Even though it's on for my hosting, it doesn't work.
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Powercut issue
Interesting, your web page certainly loads using brotli compression for downloads. I obviously cannot test if it is working for uploads.
-
Mapantz
- Posts: 1992
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Powercut issue
2024-11-21 20:25:20 - RealtimePHP[187]: HTTP Error uploading to realtime.xml: Response code = 403: Forbidden
2024-11-21 20:25:20 - RealtimePHP[187]: HTTP Error uploading to realtimegauges.txt: Response code = 403: Forbidden
2024-11-21 20:25:20 - RealtimePHP[187]: HTTP Error uploading to realtime.txt: Response code = 403: Forbidden
Still seem to be getting those errors. Never seen them before!
2024-11-21 20:25:20 - RealtimePHP[187]: HTTP Error uploading to realtimegauges.txt: Response code = 403: Forbidden
2024-11-21 20:25:20 - RealtimePHP[187]: HTTP Error uploading to realtime.txt: Response code = 403: Forbidden
Still seem to be getting those errors. Never seen them before!
-
freddie
- Posts: 2870
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 24.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Powercut issue
Are the files you are uploading to on your web server owned by the same user that the web server runs as? If you can't tell, then delete the files from the web server (or move them somewhere else) and upload.php will recreate them with correct ownership.
If you can look at your web server error log then there may be further clues in there.
If you can look at your web server error log then there may be further clues in there.
-
Mapantz
- Posts: 1992
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Powercut issue
Yeah.
They do get recreated if I delete them. As for the server error log, I cannot view that.
The only log I could view is the php error log, if I enabled it.
They do get recreated if I delete them. As for the server error log, I cannot view that.
The only log I could view is the php error log, if I enabled it.
-
Mapantz
- Posts: 1992
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Powercut issue
Just for giggles, I enabled Brotli compression in CMX again, and restarted, and it works.
There's some strange things going on!
I couldn't upload anything for over 2 hours earlier, until I disabled Brotli compression and restarted CMX.
There's some strange things going on!
I couldn't upload anything for over 2 hours earlier, until I disabled Brotli compression and restarted CMX.
-
Mapantz
- Posts: 1992
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Powercut issue
OK, possibly spotted why those 403 occurred. My PHP version was updated today..
Tell a lie.. I thought they updated it, but they actually changed my PHP version back to 8.1, from 8.2. I'm not sure why they did that, as I haven't asked them to mess with any PHP settings.
Tell a lie.. I thought they updated it, but they actually changed my PHP version back to 8.1, from 8.2. I'm not sure why they did that, as I haven't asked them to mess with any PHP settings.