thelastWallE / OctoprintKlipperPlugin

A plugin for a better integration of Klipper into OctoPrint.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sudo service klipper restart password requered

iqubik opened this issue · comments

Before submitting your issue please make sure to provide the following information

Official last Debian linux for orange pi zero 2.
Last octoprint version

If i get restart klipper command (sudo service klipper restart) in web interface i got error:

{"error":"Command for custom:octoklipper_restart failed: 500 Internal Server Error: Command for custom:octoklipper_restart failed with return code 1:\n\nSTDOUT:\n\n\nSTDERR:\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\n\nsudo: a password is required\n"}

Thanks
octoprint-systeminfo-20220629232720.zip

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

I'm having this issue too. Klipper and Octoprint latest versions. Ubuntu 22 LTS on an Orangepi

{
"error": "Command for custom:octoklipper_restart failed: 500 Internal Server Error: Command for custom:octoklipper_restart failed with return code 1:\n\nSTDOUT:\n\n\nSTDERR:\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\n\nsudo: a password is required\n"
}