intelligent-agent / Refactor

Linux distro for 3D-printers
https://wiki.iagent.no/wiki/Refactor
GNU Affero General Public License v3.0
28 stars 18 forks source link

Printer can not be shut down from Moonraker #289

Closed eliasbakken closed 2 years ago

eliasbakken commented 2 years ago

It seems that the printer can not be shut down by using the control panel in moonraker. The message appearing in systemd journal is Interactive authentication required

goeland86 commented 2 years ago

I think it's probably related to sudo permissions for the user that moonraker is running.

eliasbakken commented 2 years ago

A workaround is to run the Polkit script: su debian cd /home/debian/moonraker/scripts ./set-policykit-rules.sh

eliasbakken commented 2 years ago

This has been tested with PR#295, but since the stm32flash issue is a blocker, it is included in that PR.

eliasbakken commented 2 years ago

Merged in main