-
-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moonraker thinks it needs a sudo password - I respectfully disagree #605
Comments
Moonraker needs to update the systemd unit file to accommodate a file structure change merged in PR #491. More details are in the announcement, issue #516. You are free to install Moonraker however you feel best, it isn't apparent to me why you would use the |
Thanks for the quick reply. I can't update my service file to match the one from the installation script exactly because I have different file paths that would have to be included there.
|
Write access is disabled because Moonraker cannot complete the update. If you have custom folder locations outside of the home directory you will need to manually update the installation.
I recommend studying the install docs, with a specific focus on the If none of this is appealing your other option would be to revert to a commit prior to when #491 was merged. |
I did all of those steps. When starting Moonraker, it logs the correct (new) directory paths as set in the env file. Yet Moonraker still seems to think it has to update that service file. Is there a way to manually (and maybe temporarily) override this check so that I can get back to a valid installation state? |
Update: I found out what my error was. I had a slightly different service description. Now the sudo notification disappeared and I am back to moving directories around. Anyways, thanks for pointing me in the right direction. |
What happened
I just upgraded Moonraker from a half year old version to the latest one. Now, on every Moonraker restart I am greeted with the following notification:
"Sudo Password Required
Moonraker requires sudo access to finish updating. Please click on the attached link and follow the instructions."
I am not using Moonraker's install script because I have an automatic way of setting up klipper machines via ansible. However, I am doing pretty much the same things it does - just via ansible. Now I realize that this is not the way Moonraker was intended to be installed. However, Moonraker is working fine and I see no reason why it should need a sudo password.
Is there any way to disable this notification in a way that it doesn't re-appear after a Moonraker restart? Alternatively, could you please let me know what is triggering this warning so that I can replicate a possible fix that will satisfy Moonraker via ansible?
Client
Mainsail
Browser
Firefox
How to reproduce
see above. Basically: Do a custom install of Moonraker. ;)
Additional information
No response
The text was updated successfully, but these errors were encountered: