Congatudo icon indicating copy to clipboard operation
Congatudo copied to clipboard

[Doc] Avoid logs to fullfil conga disk

Open gtrabanco opened this issue 1 year ago • 0 comments

Describe the bug

Conga tries to send compressed files of logs to Chinese server but by modifying /etc/hosts to install Congatudo it can't send those files so all disk space is fullfilled.

To Solve

Add a crontab that deletes not necessary files periodically.

crontab -e
*/30 * * * * rm -f /mnt/UDISK/log/*_logserver.txt.gz /mnt/UDISK/log/*.tmp

I also delete .tmp which are logs from "Valetudo"/Congatudo. After a year mines got around 2MB each so I decide to add .tmp extension.

Task to solve this

  • [ ] Add this to documentation

gtrabanco avatar May 01 '23 23:05 gtrabanco