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

Issues after Upgrade to CumulusUtils v6.23.6: heatmap, meteocam, ...

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
lse-cumulus
Posts: 47
Joined: Mon 11 Jul 2022 3:39 am
Weather Station: Fine Offset Ecowitt
Operating System: Windows 11
Location: Austria
Contact:

Re: Issues after Upgrade to CumulusUtils v6.23.6: [ALL RESOLVED] upload.php and Custom Logs

Post by lse-cumulus »

Hi Hans,
I finished my upgrade to CU 6.23.6 succesfully and even activated upload.php again.
  • The browser F12 console shows no errors in CU menue topics like Reports, Graph, Extra Sensors or Custom Logs ...
  • CU CustomLogs and UserAskedData are working without errors in the logfile and customlogsDailydata.json and customlogsRecentdata.json files are produced without syntax errors.
  • I created some more daily Custom Logs in CMX and the first daily files were created correctly. Waiting for more data for the graphs in the next days ...
  • Switched back from SFTP to upload.php without problems. No further modifications required. CMX realtime and interval upload are working fine without errors in the logfile.
  • Upload.php for CU UserReports and CU CustomLogs has been working without errors and also CU Website was fine.
  • The first CU UserAskedData upload.php reported No valid JSON data in CUserdataRECENT.json and in extrasensorsdata.json and created new files. But starting from 2nd run the incremental = true mode has been working fine in upload.php for these files.

Code: Select all

2024-03-10 10:05:02.288 Information Uploading => CUserdataRECENT.json from utils/CUserdataRECENT.json
2024-03-10 10:05:02.288 Information Upload File values: localfile: utils/CUserdataRECENT.json
2024-03-10 10:05:02.289 Information Upload File values: remotefile: Wetterstation.Suttenbrunn.CumulusMX/CUserdataRECENT.json
2024-03-10 10:05:02.289 Information Incremental = True; filename = CUserdataRECENT.json; ext = .json; HoursInGraph = 72
2024-03-10 10:05:02.327 Information InetPhp: Wetterstation.Suttenbrunn.CumulusMX/CUserdataRECENT.json: Response code = 200: OK
2024-03-10 10:05:02.327 Information InetPhp: Wetterstation.Suttenbrunn.CumulusMX/CUserdataRECENT.json: Response text follows:
Opening text file Wetterstation.Suttenbrunn.CumulusMX/CUserdataRECENT.json for appending
Appending text file Wetterstation.Suttenbrunn.CumulusMX/CUserdataRECENT.json
Writing text file Wetterstation.Suttenbrunn.CumulusMX/CUserdataRECENT.json
Write complete
  • Only once during a CMX realtimePHP upload the following error System.Threading.Tasks.TaskCanceledException occured. But disappeared in the next RealtimePHP upload.

Code: Select all

2024-03-10 11:47:10.474 RealtimePHP[131]: General error uploading to Wetterstation.Suttenbrunn.CumulusMX/extrasensorsrealtime.txt - Exception Type: System.Threading.Tasks.TaskCanceledException
Message: Eine Aufgabe wurde abgebrochen.
  • I think my final upload.php problems from last weekend with Warning: array_merge(): Argument #1 is not an array in /volume1/web/upload.php were related to the fact that customlogsRecentdata.json was empty {} and that customlogsDailydata.json had a syntax error in the JSON [] structures. But I did not re-test these scenarios with damaged json files.
  • I will go ahead with Upload.php running with the following options: PHP-UseGet=0 and MaxConcurrentUploads=4
Leo

Ecowitt GW2000/WS90/Wittboy/GW1000/WS2910/WH65/WH31/WH34S/WH41/WH45/WH51/WH57/HP10/WN35
AWEKAS/CWOP/PWS/Weathercloud/Windy/WOW/WU/WxSim/CMX/CU
http://leonas.ddns.net/Wetterstation.Su ... CumulusMX/

Image
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issues after Upgrade to CumulusUtils v6.23.6: heatmap, meteocam, ...

Post by HansR »

Hi Leo,

So in summary... it looks good and everything is working great :D
Good :clap:

Cheers,
Hans

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