ballaswag / guppyflo

GuppyFLO is a self-hosted service that enables local/remote management of multiple Klipper printers using Moonraker
GNU Affero General Public License v3.0
24 stars 1 forks source link

Installer fails on Debian #2

Closed WayneManion closed 3 months ago

WayneManion commented 3 months ago

The installer script fails on my Debian Klipper host. Here are the last few lines of output from the installer script:

Restarting GuppyFLO service 
sh: 38: service: not found
Successfully installed GuppyFLO 

I believe this is because the script uses Ubuntu's 'service' wrapper for systemd. I believe the script can be modified to use systemd's 'systemctl' command instead of 'service'.

ballaswag commented 3 months ago

Thanks for the report. I have only tested on Ubuntu. Will setup a Debian docker to test. For what is worth, you should have necessary files extracted in your home for under guppyflo. You’ll just need to setup the service manually for now until I fix the installer. Make sure the service use the guppyflo dir as the working directory.

WayneManion commented 3 months ago

I edited installer.sh and ran it on my Debian Klipper host. It worked. These changes should still work with Ubuntu since both use systemd.

I made a pull request for these changes.

ballaswag commented 3 months ago

Thanks for the fix!