nlef / moonraker-telegram-bot

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

add upload_logs command #309

Closed nlef closed 6 months ago

nlef commented 6 months ago

Added bot command /upload_logs the command is added automatically to the text of error messages for easy loading of logs @codeRus @feadot pls test this)

CODeRUS commented 6 months ago

also as it not using sudo, might need checking result of dmesg grab. if no permissions, need to ask user to unrestrict dmesg calls by:

Creating a file /etc/sysctl.d/51-dmesg-restrict.conf with content:

kernel.dmesg_restrict = 0

and reboot. Or issue sudo sysctl kernel.dmesg_restrict=0

CODeRUS commented 6 months ago

любо

feadot commented 6 months ago

Вообще мужчины!