kanyi Posted October 29, 2016 Report Share Posted October 29, 2016 Hi guys! I tryed to update Btsync to resilio, on my phone everything was fine. But my desktops sytem is Debian Jessie, the resilio is not worikng. Here is the manual The program is running, but I can not sync. I try to create a new share, I have to add a full permission for the folder, (drwxrwxrwx ) this is looks very bad... I stopped here because until now the btsync program worked without this. After the installation, I tried check the process this is my superuser. And something is wrong here: $service resilio-sync status ● resilio-sync.service - Resilio Sync service Loaded: loaded (/lib/systemd/system/resilio-sync.service; enabled; vendor preset: enabled) Active: active (running) since szo 2016-10-29 14:31:07 CEST; 27min ago Docs: http://help.getsync.com/ Process: 5782 ExecStart=/usr/bin/rslsync --config /etc/resilio-sync/config.json (code=exited, status=0/SUCCESS) Process: 5779 ExecStartPre=/bin/chown -R rslsync:rslsync /var/run/resilio-sync (code=exited, status=0/SUCCESS) Process: 5776 ExecStartPre=/bin/mkdir -p /var/run/resilio-sync (code=exited, status=0/SUCCESS) Main PID: 5783 (rslsync) CGroup: /system.slice/resilio-sync.service └─5783 /usr/bin/rslsync --config /etc/resilio-sync/config.json okt 29 14:31:07 mamut systemd[1]: Starting Resilio Sync service... okt 29 14:31:07 mamut systemd[1]: resilio-sync.service: Failed to read PID from file /var/run/resilio-sync/sync.pid: Invalid argument okt 29 14:31:07 mamut systemd[1]: Started Resilio Sync service. Can not read her own pid, I think this is not normal. _ the last 2 lines. When I try to check my normal user, something is wrong - 5th line: $systemctl --user status resilio-sync Warning: resilio-sync.service changed on disk. Run 'systemctl --user daemon-reload' to reload units. ● resilio-sync.service - Resilio Sync service Loaded: loaded (/usr/lib/systemd/user/resilio-sync.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since szo 2016-10-29 11:18:01 CEST; 3h 48min ago Docs: http://help.getsync.com/ Main PID: 3143 (code=exited, status=255) I really don't want to use the program with full folder access permission, I think this is not normal. Any idea, what is wrong? best, Attila Quote Link to comment Share on other sites More sharing options...
DaMan Posted December 11, 2016 Report Share Posted December 11, 2016 I have the same issue. Quote Link to comment Share on other sites More sharing options...
Helen Posted December 12, 2016 Report Share Posted December 12, 2016 Stop service, delete file /var/run/resilio-sync/sync.pid, start service Quote Link to comment Share on other sites More sharing options...
Koray Al Posted December 23, 2016 Report Share Posted December 23, 2016 I have Ubuntu and that doesn't work. As I watch the run folder live /w ranger, the pid file is getting deleted right after it's created. I get two different service files, one at `/lib/systemd/system/resilio-sync.service` and the other at `/etc/init.d/resilio-sync.service`, shouldn't there be a `/etc/default/resilio-sync` file which some details where we can set the path of the config file, running user, pid paths etc? (btw, I fixed mine via removing "/lib/systemd/system/resilio-sync.service" so that only the one at `init.d` is working. Quote Link to comment Share on other sites More sharing options...
elagil Posted June 25, 2017 Report Share Posted June 25, 2017 I commented out one line in /lib/systemd/system/resilio-sync.service so that it looks like this (PIDFile): The PIDFile is set in the resilio-sync config anyway and is still created with the correct PID inside. root@debian:~# cat /lib/systemd/system/resilio-sync.service [Unit] Description=Resilio Sync service Documentation=https://help.getsync.com/ After=network.target network-online.target [Service] Type=forking User=rslsync Group=rslsync UMask=0002 Restart=on-failure PermissionsStartOnly=true #PIDFile=/var/run/resilio-sync/sync.pid ExecStartPre=/bin/mkdir -p /var/run/resilio-sync ExecStartPre=/bin/chown -R rslsync:rslsync /var/run/resilio-sync ExecStart=/usr/bin/rslsync --config /etc/resilio-sync/config.json [Install] WantedBy=multi-user.target Quote Link to comment Share on other sites More sharing options...
shutong Posted May 26, 2018 Report Share Posted May 26, 2018 resilio-sync.service - Resilio Sync service Loaded: loaded (/lib/systemd/system/resilio-sync.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2018-05-26 15:22:38 UTC; 54s ago Docs: https://help.getsync.com/ Process: 28956 ExecStart=/usr/bin/rslsync --config /etc/resilio-sync/config.json (code=exited, status=0/SUCCESS) Process: 28950 ExecStartPre=/bin/chown -R rslsync:rslsync /var/run/resilio-sync (code=exited, status=0/SUCCESS) Process: 28943 ExecStartPre=/bin/mkdir -p /var/run/resilio-sync (code=exited, status=0/SUCCESS) Main PID: 28958 (rslsync) Tasks: 11 Memory: 3.2M CPU: 101ms CGroup: /system.slice/resilio-sync.service └─28958 /usr/bin/rslsync --config /etc/resilio-sync/config.json May 26 15:22:38 vultr.guest systemd[1]: Starting Resilio Sync service... May 26 15:22:38 vultr.guest systemd[1]: resilio-sync.service: Failed to read PID from file /var/run/resilio-sync/sync.pid: Invalid argument May 26 15:22:38 vultr.guest systemd[1]: Started Resilio Sync service. ———————— i do not know how to fix it , by the way i am a new fish . please do me a favor. Quote Link to comment Share on other sites More sharing options...
Gane O'dwyer Posted May 29, 2018 Report Share Posted May 29, 2018 @shutong Restart the service. 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.