I have installed Octopi on my Raspberrypi 3B from the Klipper3d.org instructions but when I try to start or stop the klipper.service I get the error message, klipper.service not found.
I’m not new to RPi but am to klipper so I don’t know where to find the log files or how to go about troubleshooting the issue.
The firmware flashed to my printer, Anycubic Mega Zero 2.0 but Octopi won’t connect to it so I’m betting the problem is klipper.service
Any help would be greatly appreciated!
Did you run the install-octopi.sh script? That’s what installs the service file.
Yes, I did. I followed the install instructions:
git clone https://github.com/KevinOConnor/klipper ./klipper/scripts/install-octopi.sh
I just tried uninstalling klipper, as described in the FAQ and reinstalling and still have the same issue.
systemctl list-units --type=service
in the shell to get a list of the installed services and their current status
Just be sure, the instructions you posted are 2 separate lines. So you ran the git clone line, and then after that was complete you ran the install script? If you copy paste that all as one line the install script won’t run.
Ran it. No klipper.service found.
I ran the install script seperately and this is what I got:
pi@octopi:~ $ ./klipper/scripts/install-octopi.sh ###### Running apt-get update... Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Reading package lists... Done E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 5h 18min 7s). Updates for this repository will not be applied. E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease is not valid yet (invalid for another 9h 6min 26s). Updates for this repository will not be applied. pi@octopi:~ $
I also ran the first line and got this:
pi@octopi:~ $ git clone https://github.com/KevinOConnor/klipper fatal: destination path 'klipper' already exists and is not an empty directory. pi@octopi:~ $
The script isn’t running successfully because of a recent change to Debian. A PR to fix this is on the GH page, but it hasn’t been merged yet. For the moment you would need to manually edit the install script. More info at the link.
How to fix, ‘klipper.service not found’ error.
The Buster release of ‘stable’ was changed to ‘oldstable’ so the octopi script wouldn’t run and tossed this error:
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
To allow the update run this script: ‘apt-get update --allow-releaseinfo-change’ and run:
Now the service is running just fine! A stop service will work but start service is not found.
Thanks for the help!