Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 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

Issue updating

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
Nossie
Posts: 364
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Issue updating

Post by Nossie »

I've been trying to get to the bottom of my problems....

I've been trying to understand why various things are not working.

Short answer for one part of it is that docker hardcodes from my buildscript to publicweb when I use public_html remotely. This is on the back burner for now but in getting that far I was getting quite confused and changing a lot of locations in a not so methodical way near the end. This broke my reports and a few other things.

In the process of me identifying this CMX has now completely stopped updating and I need to eliminate something

Code: Select all

[31-Oct-2023 01:48:05 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function shell_exec() in /home/stewartonweather/public_html/upload.php:111
Stack trace:
#0 {main}
  thrown in /home/stewartonweather/public_html/upload.php on line 111
[31-Oct-2023 01:48:05 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function shell_exec() in /home/stewartonweather/public_html/upload.php:111
Stack trace:
#0 {main}
  thrown in /home/stewartonweather/public_html/upload.php on line 111
[31-Oct-2023 01:48:05 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function shell_exec() in /home/stewartonweather/public_html/upload.php:111
Stack trace:
Any idea what might be causing everything to seem to go through and then nothing updates, and I get pages of the above?
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6029
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue updating

Post by HansR »

First: no locations have been changed in or by CUtils!

Apparently you moved from FTP to the PHP upload system. Good for you but you have to be aware the destinations are different: see wiki. The difference is that the destinations are defined as relative to the location of the upload.php file. Hope this helps.

EDIT: and btw, your CMX data are updating normally so indeed it appears to have something to do with CUtils. Note that a bugfix 6.21.1 is released today though I don't think it will solve your issue.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Nossie
Posts: 364
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: Issue updating

Post by Nossie »

I had been using php upload for the last few months with some success - however your hint was enough to realise I had overlooked the nature of the script when I tried to fix my previous misunderstanding :) so thank you.

I'm still having a few issues with the reports but from what I've changed - and I think it's correct, I wont know until tomorrow, right?
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
water01
Posts: 3295
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Issue updating

Post by water01 »

Use Utilities > FTP/Copy & Dayfile and tick all the boxes and you should get all the files uploaded to date.
David
Image
User avatar
HansR
Posts: 6029
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue updating

Post by HansR »

@Nossie OK, good. And if you follow @water01's advise it'll be knowing before morning :)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Nossie
Posts: 364
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: Issue updating

Post by Nossie »

Hi Hans,

Thanks for the two of your thoughts on this one.

I was having issues generating and uploading the reports previously - but if I manually transferred them Cutils would then use them.

I've now resolved the copying issue but cutils wont show them - https://stewartonweather.com/Reports/NOAAYR2023.txt this one generated this morning. So did this one - https://stewartonweather.com/Reports/NOAAMO1123.txt

I have Cutils setup this way for NOAA

Code: Select all

[NOAA]
FTPDirectory=./reports/
StartInCurrentMonth=true
ColorNOAAText=Black
ColorNOAABackground=#f9f8EBy
Am I being dim again? :bash:
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6029
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue updating

Post by HansR »

Is it reports and Reports?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Nossie
Posts: 364
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: Issue updating

Post by Nossie »

Yes, it is and yes I'm being dim :shock:

Amazing how it's possible to glaze over such an obvious error.

Thanks again!
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6029
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue updating

Post by HansR »

That's life ;)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply