Install fails if "dbus" is not installed. #43

Closed
opened 2020-11-26 14:27:32 +01:00 by edocod1 · 11 comments
edocod1 commented 2020-11-26 14:27:32 +01:00 (Migrated from github.com)

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.

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.
dw-0 commented 2020-11-26 14:36:07 +01:00 (Migrated from github.com)

Between the requirements to install what component?
You need to be a bit more specific there.

Between the requirements to install what component? You need to be a bit more specific there.
edocod1 commented 2020-11-26 14:55:23 +01:00 (Migrated from github.com)

Hello, sorry!

This happens when trying to install klipper as a systemd unit, so i guess the requirement would be needed there.

Hello, sorry! This happens when trying to install klipper as a systemd unit, so i guess the requirement would be needed there.
dw-0 commented 2020-11-26 15:25:17 +01:00 (Migrated from github.com)

I just pushed the fix, can you please check and report back if it works now?
Remember tu update KIAUH first :)

I just pushed the fix, can you please check and report back if it works now? Remember tu update KIAUH first :)
dw-0 commented 2020-12-01 18:57:32 +01:00 (Migrated from github.com)

@LuciusDante i don't understand. what you say doesn't really seem to be related to the actual issue/topic here?

@LuciusDante i don't understand. what you say doesn't really seem to be related to the actual issue/topic here?
LuciusDante commented 2020-12-01 19:31:14 +01:00 (Migrated from github.com)

Sorry my bad

Sorry my bad
beikeland commented 2021-06-16 19:44:47 +02:00 (Migrated from github.com)

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 dbus resolves it. Prior to installing dbus kiauh would promt me to install 0 moonraker instances and the install would be incomplete.

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 dbus` resolves it. Prior to installing dbus kiauh would promt me to install 0 moonraker instances and the install would be incomplete.
dw-0 commented 2021-06-16 19:54:26 +02:00 (Migrated from github.com)

@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?

@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?
beikeland commented 2021-06-16 20:03:30 +02:00 (Migrated from github.com)

Did you install Klipper with KIAUH too, before you tried installing Moonraker with it?

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.

> Did you install Klipper with KIAUH too, before you tried installing Moonraker with it? 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.
dw-0 commented 2021-06-16 20:05:19 +02:00 (Migrated from github.com)

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.

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.
dw-0 commented 2021-06-18 18:36:29 +02:00 (Migrated from github.com)

@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.

@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.
borgaspower commented 2021-11-05 00:01:21 +01:00 (Migrated from github.com)

@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

> > > @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
Sign in to join this conversation.