Hi Andy,
Good, its running
You can find the issues in the logfile yourself: search for
warning and
error. Beside that you can set the warning level to warning in the logfile meaning that only some 'where are you now' tracking and all errors and warnings will be shown. And don't make too many changes at the same time. If you want to know the system works take it one step at a time.
Also please take some time between commands (at least one minute) you fire the commands so fast that it is two commands in one logfile. That is confusing and difficult for storage. If commands are done in the same minute they end up in the same logfile.
But having said that, the logs shows:
Code: Select all
2023-10-15 20:19:35.942 Information InetPhp: extrasensorsdata.json: Response code = 500: InternalServerError
2023-10-15 20:19:35.943 Information InetPhp: extrasensorsdata.json: Response text follows:
No valid JSON data in the received data
2023-10-15 20:19:35.943 Information PHP UploadFile: Failed
Code: Select all
2023-10-15 20:19:11.910 Information CustomLogs ReadRecentCustomLog: CustomLogCO2
2023-10-15 20:19:11.910 Information CustomLogs ReadRecentCustomLog: data/CustomLogCO2-202310.txt - Start: 07/10/2023 20:15:00 ; End: 15/10/2023 20:15:00 ;
2023-10-15 20:19:11.911 Warning CustomLogs : There are more/less webtags than values in the log on line 0: 15/10/23,09:32,378
2023-10-15 20:19:11.911 Warning CustomLogs : The chart may not be what you want, please correct the content of the datafile. Continuing...
and
Code: Select all
2023-10-15 20:19:11.964 Information Constructor CustomLogs: handling Custom log CustomLogCO2 - Webtag <#CO2_24hr>
2023-10-15 20:19:11.964 Warning Constructor CustomLogs: Not a valid Webtag CO2_24hr used in Custom log CustomLogCO2
2023-10-15 20:19:11.964 Information Constructor CustomLogs: handling Custom log CustomLogCO2 - Webtag <#CO2-pm2p5>
2023-10-15 20:19:11.964 Warning Constructor CustomLogs: Not a valid Webtag CO2-pm2p5 used in Custom log CustomLogCO2
The first part tells me that you have an error in the ExtraSensors JSON file. So please remove it from the server. There is no further info in the log so if this error returns we will have to investigate.
The second part says there are more/less values in the log than there are in the definition of the log. This is probably caused because of the third error: you made the following typos in the definition of the log:
1) <#CO2_24hr> Must be
<#CO2_24h> (spot the difference)
and
2) <#CO2-pm2p5> Must be
<#CO2_pm2p5> (again spot the difference)
Remove the Customlogs JSON data files and the ExtraSensors data JSON and run again after correcting the errors. Be ware it takes some time to get data in the actual data logs. No data no charts. I would say do the corrective actions, run CUtils and take a night sleep to analyse tomorrow. That gives at least one dataline in the daily logs.
Let me know how you get on.