congatudo / Congatudo

Cloud replacement for Conga vacuum robots enabling local-only operation
https://congatudo.cloud
Apache License 2.0
72 stars 22 forks source link

[Doc] Avoid logs to fullfil conga disk #72

Open gtrabanco opened 1 year ago

gtrabanco commented 1 year ago

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