klipper-led_effect icon indicating copy to clipboard operation
klipper-led_effect copied to clipboard

Install Error?

Open gedds1993 opened this issue 2 years ago • 5 comments

I tried to install this using putty for SSH, and I am getting an error that Moonraker isn't installed, which is true because I use Octoprint. Is Octoprint not supported?

image

gedds1993 avatar Nov 30 '23 23:11 gedds1993

I use octoprint too but you can still install moonraker and use the led effects

git clone https://github.com/Arksine/moonraker.git
cd ~/moonraker/scripts
./install-moonraker.sh
git clone https://github.com/julianschill/klipper-led_effect.git
cd klipper-led_effect
./install-led_effect.sh
sudo reboot

burntcoinpurse avatar Nov 30 '23 23:11 burntcoinpurse

I use octoprint too but you can still install moonraker and use the led effects

git clone https://github.com/Arksine/moonraker.git
cd ~/moonraker/scripts
./install-moonraker.sh
git clone https://github.com/julianschill/klipper-led_effect.git
cd klipper-led_effect
./install-led_effect.sh
sudo reboot

I figured that’s what I’d have to do, glad to know it still works. Curious to know what in moonraker this module is dependent upon.

gedds1993 avatar Dec 01 '23 00:12 gedds1993

It is just the install script adding the automatic updates to the moonraker updater. I won't implement a install script for Octoprint, but I will write a short a manual on how to install it manually, if the script is not working.

julianschill avatar Dec 01 '23 08:12 julianschill

@julianschill much appreciated.

gedds1993 avatar Dec 02 '23 00:12 gedds1993

I have multiple instances of klipper so the default paths for the folders and the klipper service didn't work. Not sure if it is possible to pass the variables. I had to change the default path on the script and the klipper and moonraker service.

How to check for the klipper/moonraker service name for the start and stop part: systemctl list-units --type=service

Ideally it should check for instances and ask which one do you want to install the led-effect to.

Attached modified script for reference install-led_effect.txt

Worth saying I have run the script successfully with these changes but haven't tried using it yet so hopefully the changes are enough

davidreact avatar Dec 05 '23 16:12 davidreact