Moonraker not permitted to restart warning

Basic Information:

Printer Model: Homemade Delta
MCU / Printerboard: MKS SBase 1.3
klippy.log attached

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

When I first installed Klipper I did not have these errors. I then wiped my SD Card on my Raspberry pi4 and done a fresh install of Klipper and now I have 3 warning messages every time I log into Mainsail.

Warning message as below:

[update_manager KlipperScreen]: Moonraker is not permitted to restart service ‘KlipperScreen’. To enable management of this service add KlipperScreen to the bottom of the file /home/mils24/printer_data/moonraker.asvc. To disable management for this service set ‘is_system_service: False’ in the configuration for this section.

I get the exact same message for Klipperscreen, Crowsnest and Sonar.

How do I get rid of this as it is very annoying.

Thanks


klippy-3.log (115.2 KB)

Check /home/mils24/printer_data/moonraker.asvc. It should look like:

klipper_mcu
webcamd
MoonCord
KlipperScreen
moonraker-telegram-bot
moonraker-obico
sonar
crowsnest
octoeverywhere
ratos-configurator

Where do I find the moonraker.asvc file? I’ve been looking everywhere for it and can’t find its location?

SSH? Putty?

Yes, no need to login via SSH and the path of the file is /home/mils24/printer_data/moonraker.asvc

If it should be missing do:

cd ~
cd printer_data

# Copy and paste the following as one block into your terminal
cat <<EOT >> moonraker.asvc
klipper_mcu
webcamd
MoonCord
KlipperScreen
moonraker-telegram-bot
moonraker-obico
sonar
crowsnest
octoeverywhere
ratos-configurator
EOT

When I SSH into the pi and check

cd printer_data
cat moonraker.asvc

I get the following

klipper_mcu
webcamd
MoonCord
KlipperScreen
moonraker-telegram-bot
moonraker-obico
sonar
crowsnest
octoeverywhere
ratos-configurator

But the issue still exists every time I boot.

Upload moonraker.log. It sounds like Moonraker can’t read the asvc file.

So Ive just turned on my machine again to pull the moonraker log file for you and the issue has gone away.

Im not sure if me SSH’ing into the Pi yesterday when I was following the instructions above had done something after all.

I 100% SSH’d in to look at the moonrake.asvc file, closed the terminal connection and restarted the Pi but the error was still there yesterday.

Looks like leaving it overnight and starting again today seems to have fixed it. Strange!

Hello guys,

For everyone having issues with error messages popping on KlipperScreen, this is what you should do.

SSH into your Pi (Putty or whatever client you desire) and input these commands:

cd printer_data
sudo nano moonraker.asvc (it will prompt you to insert password and then it will open the file)

In this file delete everything and paste the following:

klipper_mcu
webcamd
MoonCord
KlipperScreen
moonraker-telegram-bot
moonraker-obico
sonar
crowsnest
octoeverywhere
ratos-configurator
RatOS

After this press CTRL+Q, it will prompt to save the file Yes/No, press “y” and Enter. This will save the changes and exit the file editing. Now you can close the SSH client and reboot your printer. Cheers! :beers:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.