manu7irl / klipper-DWC2-installer

to streamline the install or upgrade of KLIPPER & DWC2 front-end for it. With these 2 together no need to use octoprint. I run mine on orangepi zero with H2+ CPU 512MB and it works nicely.
GNU General Public License v3.0
55 stars 13 forks source link

Stopping klipper-0 service... #13

Closed damanbaird closed 4 years ago

damanbaird commented 4 years ago

ERROR: Failed to stop klipper-0.service: Unit klipper-0.service not loaded done on fresh Raspberry Pi OS install Klipper installed fine, went to "flash your MCU" and got this.

manu7irl commented 4 years ago

If you got first step successful, you should not have an error about a missing klipper-0.service. As the first step created it. So eventually the first step was to blame. Try from scratch the first step should let you stay in the script and also prompt about a klipper-0 service that is running.

On Fri, Jul 17, 2020, 5:51 AM damanbaird notifications@github.com wrote:

ERROR: Failed to stop klipper-0.service: Unit klipper-0.service not loaded done on fresh Raspberry Pi OS install Klipper installed fine, went to "flash your MCU" and got this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/manu7irl/klipper-DWC2-installer/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWT4RENTMKEF4YFYLTLFS3R364DHANCNFSM4O5MBEKA .

damanbaird commented 4 years ago

Ok, let have another go at it, and ill keep you posted, thanks!

manu7irl commented 4 years ago

I think, I spotted a little problem, I will fix it this saturday. As a workaround create a blank printer.cfg file in your user folder. /home/pi/printer.cfg As my script tries to move over my new folder structure.

On Fri, Jul 17, 2020, 5:54 PM damanbaird notifications@github.com wrote:

Ok, let have another go at it, and ill keep you posted, thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/manu7irl/klipper-DWC2-installer/issues/13#issuecomment-660151992, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWT4RE3UFO6NICSFHP3Y4DR4BQ3PANCNFSM4O5MBEKA .

damanbaird commented 4 years ago

I tried 3 more times before it finally said it was installed. Have one more issue though.

damanbaird commented 4 years ago

I have no idea what i did but it has been working now.

klHaribo commented 3 years ago

I have the same error now, thinking to give up. as an alternative, is it possible that the script uses the "/etc/init.d/klipper stop" command? the first try, the script stops because ~/PrinterFarm/KlipperFarm does not exist...

another improvement: instead asking for the user, the script could ask the "whoami" command?

notp1ssed commented 3 years ago

I am getting this same error, any idea why?

damanbaird commented 3 years ago

Try from a fresh install again, think i tried 3 times before it went right for me.

notp1ssed commented 3 years ago

Try from a fresh install again, think i tried 3 times before it went right for me.

I didn't have enough memory on sd card I guess. I was trying initially on a 4gb sd card. Then swapped to a 16 GB card and this error was gone. thanks anyway