Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.2.1 (build 4043) - 19 October 2024

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

New PHP Upload Process

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

broadstairs
Posts: 1002
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1103/GW1200/GW2000
Operating System: Linux openSUSE
Location: Broadstairs, Kent, UK
Contact:

Re: New PHP Upload Process

Post by broadstairs »

Both my local CMX system and my server uses PHP 8.2 and I have had no issues with it (touch wood) been running V8 for a long time now.

Stuart
Currently running CMX V4 4028
User avatar
HansR
Posts: 6384
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: New PHP Upload Process

Post by HansR »

I am on PHP version 8.2.13 (which is the latest I think) and PHP upload is running flawlessly.
Hans

https://meteo-wagenborgen.nl
CMX build 4039+ ● RPi 4B ● Linux 6.6.51+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
M1DUL
Posts: 362
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Vantage Pro2 Plus Daytime FARS.
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: New PHP Upload Process

Post by M1DUL »

Mapantz wrote: Sat 09 Dec 2023 9:26 am upload.php has stopped working for me, since last night.

Code: Select all

2023-12-09 01:51:47.087 PHP[83]: Sending via GET
2023-12-09 01:51:47.097 PHP[83]: Uploading to realtimegauges.txt
2023-12-09 01:51:47.097 PHP[83]: Sending via GET
2023-12-09 01:51:47.097 PHP[83]: Uploading to realtime.xml
2023-12-09 01:51:47.097 PHP[83]: Sending via POST
2023-12-09 01:51:47.097 PHP[83]: Upload to realtime.txt: Response code = 422: 422
2023-12-09 01:51:47.097 PHP[83]: Upload to realtime.txt: Response text follows:
Error: TimeStamp is out of date
Data TS   = 1702086707
Server TS = 1702083845

Hello Mapantz,

Are you with Hostpresto by any chance? Because I got the same errors at the same time as yours, mine started at 2023-12-09 01:28:13 all the way to 11:21:44, then no more after 11:21, the setting is turned off to Use GET for PHP small file uploads.

Here are my errors:
2023-12-09 11:21:44.729 PHP[152]: Upload to realtimegauges.txt: Response code = 422: 422
2023-12-09 11:21:44.729 PHP[152]: Upload to realtimegauges.txt: Response text follows:
Error: TimeStamp is out of date
Data TS = 1702120904
Server TS = 1702120892

If we both have the same problem, then we will know that it comes from Hostpresto, and not from our computers.
Mike

OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Using firmware version 3.88 on the console with a Meteo-Pi Ethernet logger & WiFiLogger 2.
Cumulus MX v.4.2.1 build 4043
https://branksomeweather.co.uk
User avatar
mcrossley
Posts: 13622
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: New PHP Upload Process

Post by mcrossley »

My test system is using PHP 8.2.something
Mapantz
Posts: 1891
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: New PHP Upload Process

Post by Mapantz »

M1DUL wrote: Sat 09 Dec 2023 2:05 pm
Hello Mapantz,

Are you with Hostpresto by any chance? Because I got the same errors at the same time as yours, mine started at 2023-12-09 01:28:13 all the way to 11:21:44, then no more after 11:21, the setting is turned off to Use GET for PHP small file uploads.

Here are my errors:
2023-12-09 11:21:44.729 PHP[152]: Upload to realtimegauges.txt: Response code = 422: 422
2023-12-09 11:21:44.729 PHP[152]: Upload to realtimegauges.txt: Response text follows:
Error: TimeStamp is out of date
Data TS = 1702120904
Server TS = 1702120892

If we both have the same problem, then we will know that it comes from Hostpresto, and not from our computers.
I'm with hostpresto, yes.

Turning 'use GET' didn't work.

This is the first time I have ever had an issue with it. In fact, I haven't seen any errors with php.upload for weeks! All I know is, it suddenly stopped working at 1:25am.

The email they sent to me saying that they changed the PHP version an enabled compression has to be nonsense because I was already on the same PHP version, it never changed.

Anyway, they said that and asked me to try again, and it started working.
Image
freddie
Posts: 2740
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: New PHP Upload Process

Post by freddie »

Sounds like hostpresto buggered up time synch on their servers for a while.
Freddie
Image
Post Reply