nlef / moonraker-telegram-bot

Telegram bot to interact with Moonraker (Klipper Web API Server)
Creative Commons Zero v1.0 Universal
251 stars 65 forks source link

[bug] cleanup:true not working as expected #295

Open drfreema opened 9 months ago

drfreema commented 9 months ago
  1. microSD card filled up. ~/moonraker-telegram-bot-timelapse was taking up over 26GB on microSD card even though 'cleanup: true' was set in telegram.conf
  2. cleanup: true does not delete timelapse files when set to true in telegram.conf
  3. I expected that when cleanup: true is set in telegram.conf, then after the timelapse is uploaded to telegram, the files would be deleted.

steps needed to reproduce bug:

This happens always (no files are ever deleted).

I'm running this on a mainsailOS, klipper install on a Raspberry Pi 3 B. microSD card is 32 GB.

journalctl.txt telegram.log