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