Install fails if "dbus" is not installed. #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello!
I would suggest to add "dbus" between the requirements to install using apt since on DietPi the install has been failing since by default it misses dbus.
The error i get is "Failed to create bus connection: No such file or directory" whenever the scripts wants to check if the services exist.
Between the requirements to install what component?
You need to be a bit more specific there.
Hello, sorry!
This happens when trying to install klipper as a systemd unit, so i guess the requirement would be needed there.
I just pushed the fix, can you please check and report back if it works now?
Remember tu update KIAUH first :)
@LuciusDante i don't understand. what you say doesn't really seem to be related to the actual issue/topic here?
Sorry my bad
This seems to be an issue still, DietPi distro does not have dbus package installed by default and this script relies on it.
I found this issue after struggling to have kiauh install moonraker.
sudo apt install dbusresolves it. Prior to installing dbus kiauh would promt me to install 0 moonraker instances and the install would be incomplete.@beikeland Did you install Klipper with KIAUH too, before you tried installing Moonraker with it?
I only added the dependency check for "dbus" in the Klipper installation function as can be seen here:
https://github.com/th33xitus/kiauh/blob/master/scripts/install_klipper.sh#L58
I initially thought (probably my fault and wrong assumption) that the issue was with the Klipper install. But in case you didn't install Klipper with KIAUH, that could be the cause?
yes, i did and Klipper succeeded, but I still had to install dbus with apt before moonraker worked somehow. can repeat the experiment next week to be sure.
I recently changed how the dependency installation works. Maybe something is not working quite right even though i tested all of that on my own system and on a RaspberryPi. I'll make a note and have a look into it. Thanks for the report.
@beikeland I installed myself a second VM with DietPi on it, luckily they provide a VMware image themself.
So i could directly test KIAUH on a DietPi distro.
Unfortunably i wasn't able to reproduce your issue. dbus got installed right away during the Klipper installation without any problem at all.
Just install DBUS and reboot