Comments (6)
I'm running moonraker on Raspberry Pi OS, it seems that running the script sudo_fix.sh
inside /moonraker /scripts
solves it.
from moonraker.
The typo has been fixed and it would not prevent the service from restarting if the endpoint was provided with valid parameters. I would need the log to help troubleshoot further.
Keep in mind that the URL is case sensitive.
from moonraker.
Hi, the last 2 lines of .log show that the command was executed correctly:
2021-01-29 11:50:48,315 [shell_command.py:run()] - Command (sudo systemctl restart klipper) exited with return code 1
2021-01-29 11:50:48,318 [web.py:log_request()] - 200 POST /machine/services/restart?service=klipper (192.168.0.119) 129.23ms
If I manually run sudo systemctl restart klipper it works fine. But with moonraker klipper does not restart. I have given all the permissions to the moonraker scripts folder (chmod 777) and nothing.
I attach the complete log. Any ideas?
from moonraker.
It is a sudo permission issue. If you are not running MainsailOS, FluiddPi or Raspberry Pi OS you will need to determine what permissions are necessary on your distro to execute sudo systemctl
without a password from Moonraker.
from moonraker.
Interesting. Stock RPi OS shouldn't need the script, but I'm glad it resolved your issue.
from moonraker.
Well, it's not Stock RPi OS, it's an octoprint image. But use this distribution: Raspbian GNU / Linux 10 (buster). thanks for the replies.
Regards
from moonraker.
Related Issues (20)
- Missing Documentation for altering the instance_uuid HOT 3
- Add filament I’d to print history
- Mainsail cannot connect to Moonraker (connection Failed) HOT 1
- power type `uhubctl` without specifying port HOT 1
- PAM authentication support HOT 1
- Queue should be paused when non-queued file is finished printing HOT 5
- After upgrade moonraker is broken - Unable to load component (template). Caused by jinja HOT 1
- [Spoolman] Support fetching filament information from spoolman
- Print history has inaccurate “print duration” and “used filament” when using T1 HOT 2
- Update Manager Enhancement
- Repo Corrupt? HOT 1
- Allow setting MQTT ClientId in moonraker.conf HOT 1
- APC UPS - Status monitoring HOT 2
- AttributeError: module 'moonraker.components.job_queue' has no attribute 'load_component' HOT 1
- Cannot start Moonraker - PackageMetadata HOT 2
- Print file with '#' in name HOT 2
- Metadata extract fails with 'Input data was truncated' some of the time. HOT 5
- Endpoint to rename queued jobs
- Weird acceleration values by running SHAPER_CALIBRATE HOT 1
- Failed to Connect to spoolman: [Errno 113] No route to host HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moonraker.