cursedsnake12 Posted February 5, 2017 Report Share Posted February 5, 2017 So as the official guide suggested i Installed resilio-sync, entered: systemctl --user enable resilio-sync And i get back Failed to get D-Bus connection: Connection refused When i run the command with or without sudo it returns this error, when i run the command without the --user option it launches sure, but it launches as the rslsync user, where i can't add my files into my /home/pi/ directory. When i launch simply sudo rslsync it launches as root user, but i don't want that. I have looked on every thread that i could find about raspberry pi and this issue and nobody seems to either mention it, and when they do they don't solve the problem. I even edited the config to make the default location my /Home/pi/Resilio Sync directory, and that just means now it can't add folders since no permissions as rslync. For clarification i'm running a fresh install of Rasbian Lite. Help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Helen Posted February 6, 2017 Report Share Posted February 6, 2017 what user you're ssh'ed with? is it root? Quote Link to comment Share on other sites More sharing options...
cursedsnake12 Posted February 6, 2017 Author Report Share Posted February 6, 2017 9 hours ago, Helen said: what user you're ssh'ed with? is it root? Just 'pi' Quote Link to comment Share on other sites More sharing options...
Helen Posted February 7, 2017 Report Share Posted February 7, 2017 then the problem is in dbus daemon. see if you can connect to user manager at all: systemctl --user status And, just to verify: systemctl status resilio-sync. see what you get. Quote Link to comment Share on other sites More sharing options...
cursedsnake12 Posted February 8, 2017 Author Report Share Posted February 8, 2017 So i uninstalled resilio-sync, went from the guide on the offical page, everytime i try to run anything using --user its the same error, i can't even start it or enable it unless i use the rslsync user, as shown in the photo here Quote Link to comment Share on other sites More sharing options...
Helen Posted February 8, 2017 Report Share Posted February 8, 2017 it's not Sync related. The problem is is dbus daemon, most likely it's missing at all. That's the library that allows to create the link to userspace service. Check with systemctl status dbus. You need to install it. Quote Link to comment Share on other sites More sharing options...
cursedsnake12 Posted February 8, 2017 Author Report Share Posted February 8, 2017 2 hours ago, Helen said: it's not Sync related. The problem is is dbus daemon, most likely it's missing at all. That's the library that allows to create the link to userspace service. Check with systemctl status dbus. You need to install it. This is why i am confused Quote Link to comment Share on other sites More sharing options...
Helen Posted February 9, 2017 Report Share Posted February 9, 2017 ok, but it still fails to create the link (/home/pi/.config/systemd/user/multi-user.target.wants/resilio-sync.service to /usr/lib/systemd/user/resilio-sync.service.) perhaps you miss the lib-pam module: sudo apt-get install libpam-systemd Quote Link to comment Share on other sites More sharing options...
cursedsnake12 Posted February 9, 2017 Author Report Share Posted February 9, 2017 I found a temporary solution, adding su pi -c "cd /home/pi && rslsync --webui.listen 0.0.0.0:8888" & To /etc/rc.local Quote Link to comment Share on other sites More sharing options...
Helen Posted February 10, 2017 Report Share Posted February 10, 2017 well, actually yes, - running a binary with a startup script is an alternative to running a package. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.