LucasFarchetto Posted April 23, 2019 Report Share Posted April 23, 2019 Hello: I am new to the community and I wanted to inform you of this error that is appearing when I want to install Resilio-sync in Ubuntu 19.04: --- console--- Active: activating (auto-restart) (Result: timeout) since Mon 2019-04-22 22:49:33 -03; 4ms ago dpkg: error when processing the package resilio-sync (--configure): The thread installed resilio-sync script post-installation returned the error exit code 1 Errors were found when processing: resilio-sync E: Sub-process /usr/bin/dpkg returned an error code (1) Quote Link to comment Share on other sites More sharing options...
andyw Posted April 25, 2019 Report Share Posted April 25, 2019 Same issue here. Just tried to install resilio-sync (2.6.1-1) on ubuntu MATE 19.04. $ systemctl status resilio-sync.service ● resilio-sync.service - Resilio Sync service Loaded: loaded (/lib/systemd/system/resilio-sync.service; enabled; vendor pre Active: activating (start) since Thu 2019-04-25 20:22:47 CEST; 35s ago Docs: https://help.resilio.com Tasks: 15 (limit: 4915) Memory: 4.2M CGroup: /system.slice/resilio-sync.service └─5204 /usr/bin/rslsync --config /etc/resilio-sync/config.json Apr 25 20:22:47 pocket systemd[1]: Starting Resilio Sync service... Apr 25 20:22:47 pocket systemd[1]: resilio-sync.service: Can't open PID file Quote Link to comment Share on other sites More sharing options...
Jussi Nirhamo Posted May 4, 2019 Report Share Posted May 4, 2019 I'm also having problems while trying to install resilio sync on my 19.04 ubuntu server. jussi@athena:~/lataukset$ sudo dpkg -i resilio-sync_2.6.3-1_amd64.deb [sudo] password for jussi: Selecting previously unselected package resilio-sync. (Reading database ... 77060 files and directories currently installed.) Preparing to unpack resilio-sync_2.6.3-1_amd64.deb ... Unpacking resilio-sync (2.6.3-1) ... Setting up resilio-sync (2.6.3-1) ... Job for resilio-sync.service failed because a timeout was exceeded. See "systemctl status resilio-sync.service" and "journalctl -xe" for details. invoke-rc.d: initscript resilio-sync, action "start" failed. ● resilio-sync.service - Resilio Sync service Loaded: loaded (/lib/systemd/system/resilio-sync.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: timeout) since Fri 2019-05-03 19:53:58 UTC; 7ms ago Docs: https://help.resilio.com Process: 1552 ExecStartPre=/bin/mkdir -p ${SYNC_RUN_DIR} ${SYNC_LIB_DIR} (code=exited, status=0/SUCCESS) Process: 1562 ExecStartPre=/bin/chown -R ${SYNC_USER}:${SYNC_GROUP} ${SYNC_RUN_DIR} ${SYNC_LIB_DIR} (code=exited, status=0/SUCCESS) Process: 1566 ExecStart=/usr/bin/rslsync --config ${SYNC_CONF_DIR}/config.json (code=exited, status=0/SUCCESS) dpkg: error processing package resilio-sync (--install): installed resilio-sync package post-installation script subprocess returned error exit status 1 Processing triggers for man-db (2.8.5-2) ... Processing triggers for systemd (240-6ubuntu5) ... Errors were encountered while processing: resilio-sync Same happens when trying to install from the repo. Quote Link to comment Share on other sites More sharing options...
Jussi Nirhamo Posted May 4, 2019 Report Share Posted May 4, 2019 Tried installing with 5.1.0rc7 kernel, doesn't work. Quote Link to comment Share on other sites More sharing options...
AlexC Posted May 4, 2019 Report Share Posted May 4, 2019 Please redownload Sync from the following urls & reinstall. Fixed. http://sync-jenkins-artifacts.s3.amazonaws.com/sync-nas/2.6.3/Debian/resilio-sync_2.6.3-1_amd64.deb http://sync-jenkins-artifacts.s3.amazonaws.com/sync-nas/2.6.3/Debian/resilio-sync_2.6.3-1_i386.deb Quote Link to comment Share on other sites More sharing options...
Jussi Nirhamo Posted May 4, 2019 Report Share Posted May 4, 2019 1 minute ago, Alex. said: Please redownload Sync from the following urls & reinstall. Fixed. http://sync-jenkins-artifacts.s3.amazonaws.com/sync-nas/2.6.3/Debian/resilio-sync_2.6.3-1_amd64.deb http://sync-jenkins-artifacts.s3.amazonaws.com/sync-nas/2.6.3/Debian/resilio-sync_2.6.3-1_i386.deb What was the problem? Quote Link to comment Share on other sites More sharing options...
AlexC Posted May 4, 2019 Report Share Posted May 4, 2019 2 minutes ago, Jussi Nirhamo said: What was the problem? Path to PID file was set incorrectly in systemd service file. Previous version of systemd just ignored it. The modern version fails. We fixed path. Now it works correctly on all systemd versions. Quote Link to comment Share on other sites More sharing options...
Jussi Nirhamo Posted May 4, 2019 Report Share Posted May 4, 2019 Just now, Alex. said: Path to PID file was set incorrectly in systemd service file. Previous version of systemd just ignored it. The modern version fails. We fixed path. Now it works correctly on all systemd versions. OK, nice job and thanks for the quick fix. Quote Link to comment Share on other sites More sharing options...
jdrch Posted May 5, 2019 Report Share Posted May 5, 2019 17 hours ago, Alex. said: Please redownload Sync from the following urls & reinstall. Fixed. http://sync-jenkins-artifacts.s3.amazonaws.com/sync-nas/2.6.3/Debian/resilio-sync_2.6.3-1_amd64.deb http://sync-jenkins-artifacts.s3.amazonaws.com/sync-nas/2.6.3/Debian/resilio-sync_2.6.3-1_i386.deb Is this the reason Sync keeps crashing on my 19.04 PC? Also, any idea when this fix will be added to the repository build? Quote Link to comment Share on other sites More sharing options...
Tom_Tasaky Posted October 9, 2019 Report Share Posted October 9, 2019 On 5/4/2019 at 1:23 PM, Alex. said: Please redownload Sync from the following urls & reinstall. Fixed. http://sync-jenkins-artifacts.s3.amazonaws.com/sync-nas/2.6.3/Debian/resilio-sync_2.6.3-1_amd64.deb http://sync-jenkins-artifacts.s3.amazonaws.com/sync-nas/2.6.3/Debian/resilio-sync_2.6.3-1_i386.deb Hello I have big problem. I can't remove old broken Sync. This package block any upgrade in my Ubuntu 19.04. When I try install new from upper link I have error with any steps. This is info from console: dpkg: błąd przetwarzania pakietu resilio-sync (--remove): pakiet jest w złym stanie - powinien zostać przeinstalowany przed usunięciem Wystąpiły błędy podczas przetwarzania: resilio-sync E: Sub-process /usr/bin/dpkg returned an error code (1) Nie udało się zainstalować pakietu. Próba powrócenia do poprzedniego stanu: dpkg: błąd przetwarzania pakietu resilio-sync (--configure): Pakiet jest w złym stanie - powinien zostać zainstalowany ponownie przed próbą jego skonfigurowania. Wystąpiły błędy podczas przetwarzania: resilio-sync When I try install new correct package system needs first reinstall old resilio-sync but it's still can't remove or reinstall it. Quote Link to comment Share on other sites More sharing options...
AlexC Posted October 9, 2019 Report Share Posted October 9, 2019 8 hours ago, Tom_Tasaky said: When I try install new correct package system needs first reinstall old resilio-sync but it's still can't remove or reinstall it. please check the content of /lib/systemd/system/resilio-sync.service it should be the following [Unit] Description=Resilio Sync service Documentation=https://help.resilio.com After=network.target network-online.target [Service] Type=forking UMask=0002 Restart=on-failure PermissionsStartOnly=true User=rslsync Group=rslsync Environment="SYNC_USER=rslsync" Environment="SYNC_GROUP=rslsync" Environment="SYNC_RUN_DIR=/var/run/resilio-sync" Environment="SYNC_LIB_DIR=/var/lib/resilio-sync" Environment="SYNC_CONF_DIR=/etc/resilio-sync" PIDFile=/var/run/resilio-sync/sync.pid ExecStartPre=/bin/mkdir -p ${SYNC_RUN_DIR} ${SYNC_LIB_DIR} ExecStartPre=/bin/chown -R ${SYNC_USER}:${SYNC_GROUP} ${SYNC_RUN_DIR} ${SYNC_LIB_DIR} ExecStart=/usr/bin/rslsync --config ${SYNC_CONF_DIR}/config.json ExecStartPost=/bin/sleep 1 [Install] WantedBy=multi-user.target if it differs, please edit it and execute sudo systemctl daemon-reload Quote Link to comment Share on other sites More sharing options...
Tom_Tasaky Posted October 9, 2019 Report Share Posted October 9, 2019 Thank's very much. Now it's all work good 😉 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.