I have recently (210721) updated one of my razberry's to version 3.1.4. The program reported that the process was successful.
Rigth after the update I get a lot of messages reading "Could Not Post to InfluxDB statistics". See enclosed file for information. However the Razberry do post transactions to my InfluxDB instance. Have set up a 5 min interval and this has worked for 2 yeasr now without any problem. Using the "InfluxDb Statistics Collector" by Maros.
Curious to check the log file I go into the Razberry and search for the log file. This is approximately 2 MB large, and will not open. I suspect that it should not bit that huge. See enclosed file for information.
Reaching out for support.
Size of Log file
Size of Log file
- Attachments
-
- no_open.jpg (560.24 KiB) Viewed 2591 times
-
- could_not.jpg (262.63 KiB) Viewed 2591 times
Re: Size of Log file
There were issues where logrotate didn't work on older versions. 3.02 to 3.06
PoltoS has fixed it for later versions.
After you upgraded it should have archived the logfile within a few days. (z-way-server.log.1.gz)
Maybe 2.0Gb is too large for it to archive it.
Easiest option is to delete the old logfile. Or Split the file up and then delete the 2.0Gb file. (split --help)
sudo /etc/init.d/z-way-server stop
Delete the File
sudo /etc/init.d/z-way-server start
After a few days the archives should start appearing.
To test it :-
sudo logrotate --force /etc/logrotate.d/z-way-server
PoltoS has fixed it for later versions.
After you upgraded it should have archived the logfile within a few days. (z-way-server.log.1.gz)
Maybe 2.0Gb is too large for it to archive it.
Easiest option is to delete the old logfile. Or Split the file up and then delete the 2.0Gb file. (split --help)
sudo /etc/init.d/z-way-server stop
Delete the File
sudo /etc/init.d/z-way-server start
After a few days the archives should start appearing.
To test it :-
sudo logrotate --force /etc/logrotate.d/z-way-server
Raspi 4 - (Buster - 32 Bit) Zwave Version 4.1.1, Raz 7 Pro, Serial API Version: 07.38
Re: Size of Log file
Dear micy1500
Thank you for your advice, I will stop the controller and delete the log file.
Thank you for your advice, I will stop the controller and delete the log file.