kornac Posted February 19, 2016 Report Share Posted February 19, 2016 (edited) it starts but config is clean (so it has to be?) and why is listening IP is 0.0.0.0 Still does not works when started by the DSM itself. Edited February 19, 2016 by kornac Quote Link to comment Share on other sites More sharing options...
RomanZ Posted February 22, 2016 Report Share Posted February 22, 2016 @kornac Try do the following: when you SSH to Syno, navigate to "/var/packages/bittorrentsync/scripts" and run "sudo ./start-stop-status start" and let me know the output of you see (ensure that no other versions of Sync are running prior you do it, of course). This is pretty much the same Syno does when you click the "Run" on DSM. Quote Link to comment Share on other sites More sharing options...
kornac Posted February 22, 2016 Report Share Posted February 22, 2016 Quote Link to comment Share on other sites More sharing options...
RomanZ Posted February 24, 2016 Report Share Posted February 24, 2016 @kornac It will take a while to investigate what has happened. I'll update once we'll have news. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted March 4, 2016 Report Share Posted March 4, 2016 @kornac It looks to be an issue in DSM itself. Your admin has no default shell in /etc/passwd. I suggest to edit your /etc/passwd and change the /sbin/nologin to /bin/sh for admin. You'll need root access of course. Let me know if it helps. Quote Link to comment Share on other sites More sharing options...
JanNLD Posted March 5, 2016 Report Share Posted March 5, 2016 Hi, I've upgraded to DSM 6 RC and installed the latest btsync .spk. Doesn't start through package manager and neither when I try to run it from ssh, I get 'segmentation fault'. Quote Link to comment Share on other sites More sharing options...
Guik Posted March 8, 2016 Report Share Posted March 8, 2016 Hi guys, I've got the same issue on DSM6 RC, it look like the Admin user account is now disable by default for security reason. If you renable it Btsync will start. Quote Link to comment Share on other sites More sharing options...
JanNLD Posted March 8, 2016 Report Share Posted March 8, 2016 my admin account is not disabled, so that won't help. Quote Link to comment Share on other sites More sharing options...
Peter1968 Posted March 8, 2016 Report Share Posted March 8, 2016 Same Issue with DM 6.0 RC and BTSYNC 2.3.3 sudo ./start-stop-status start Password: Starting BitTorrent Sync ... su: warning: cannot change directory to /var/services/homes/admin: No such file or directory -sh: line 1: 10638 Segmentation fault PATH=/usr/local/bittorrentsync/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin:/var/packages/Java7/target/j2sdk-image/bin:/var/packages/Java7/target/j2sdk-image/jre/bin /usr/local/bittorrentsync/bin/btsync --config /usr/local/bittorrentsync/var/sync.conf Quote Link to comment Share on other sites More sharing options...
kornac Posted March 9, 2016 Report Share Posted March 9, 2016 On 4.03.2016 at 0:20 PM, RomanZ said: @kornac It looks to be an issue in DSM itself. Your admin has no default shell in /etc/passwd. I suggest to edit your /etc/passwd and change the /sbin/nologin to /bin/sh for admin. You'll need root access of course. Let me know if it helps. @RomanZ It helped, but after a reboot synology need to repeat it again change in /etc/passwd. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted March 9, 2016 Report Share Posted March 9, 2016 @kornac I'm not sure why it happens to your NAS and what would be the policy of Synology towards shells in DSM 6.0. We'll better wait till they provide some stable RC here. @Peter1968 @JanNLD (and any other who experience segfault): what is your NAS model? Try logging in to SSH and replacing your Sync binary with this one. Let me know if it helps. @Guik Rather strange. We have it ON on our DSM 6.0. Will update to latest version and see if it is still the same. Quote Link to comment Share on other sites More sharing options...
FLIPNEUS Posted March 9, 2016 Report Share Posted March 9, 2016 6 hours ago, RomanZ said: @Peter1968 @JanNLD (and any other who experience segfault): what is your NAS model? Try logging in to SSH and replacing your Sync binary with this one. Let me know if it helps. This worked for me on my DS214 with a freshly installed 6.0RC. To make it work with a disabled admin user, I changed the start-stop-status script to run under my default user which also belongs to the administrators group. Quote Link to comment Share on other sites More sharing options...
Peter1968 Posted March 10, 2016 Report Share Posted March 10, 2016 @Roman Z The version of btsync you posted does the job on my DS414 with DSM 6.0 RC. Previously i have installed the "ArmadaXp" package refered at the getsync website. Thanks a lot for your help :-) Quote Link to comment Share on other sites More sharing options...
RomanZ Posted March 10, 2016 Report Share Posted March 10, 2016 @FLIPNEUS @Peter1968 Thanks for info. We'll update packages with ARMHF build so they'll work out of the box. Quote Link to comment Share on other sites More sharing options...
xesteve Posted March 12, 2016 Report Share Posted March 12, 2016 @RomanZHi! Your btsync also works for me! I have a DS414 with DSM 6.0 RC. Thanks!! Quote Link to comment Share on other sites More sharing options...
had-to-reregister Posted March 18, 2016 Report Share Posted March 18, 2016 DS412+ with DSM 6.0-7307 btsync 2.3.5-1 Installed via package manager. Error: "Failed to run the package service" Haven't tried anything else yet, because I need to re-enable root access first (and have no time to tinker with it currently). Quote Link to comment Share on other sites More sharing options...
RomanZ Posted March 18, 2016 Report Share Posted March 18, 2016 @had-to-reregister @all Actually, there is an issue between DSM 6 and DSM 5. For certain platforms DSM6 require ARMHF build, while DSM5 requires ARMEL build for exactly same platform. We want to avoid making 2 flavors of package for every platform. Therefore all existing packages are being built with target of DSM5 (as DSM6 is still in beta). If your package does not work well and Sync does not start on DSM6.0 - you'll have to manually replace Sync binary to ARMHF. Binary always stays in "/usr/local/bittorrentsync/bin/btsync" for all Syno devices. Quote Link to comment Share on other sites More sharing options...
robingruyters Posted March 18, 2016 Report Share Posted March 18, 2016 (edited) Found the solution. Synology wants you to use a defined user for your apps. The following needs to be changed for the next release of btsync for NAS. --- postinst 2016-03-18 20:43:19.572117411 +0100 +++ /tmp/postinst 2016-03-18 20:43:10.640752347 +0100 @@ -1,3 +1,13 @@ #!/bin/sh . `dirname $0`/installer `basename $0` > $SYNOPKG_TEMP_LOGFILE + +synouser --get btsync +if [ $? -ne 0 ] +then + # create user with random password + synouser --add btsync `uuidgen | cut -c-8` 'Bittorrent Sync User' 0 '' '' +else + synouser --modify plex 'Bittorrent Sync User' 0 '' +fi + --- start-stop-status 2016-03-18 20:45:26.515055527 +0100 +++ /tmp/start-stop-status 2016-03-18 20:45:09.832249852 +0100 @@ -14,8 +14,8 @@ start_daemon () { - chown -R admin:administrators $INSTALL_DIR/var - su - admin -c "umask 000; PATH=${PATH} ${BTSYNC} --config ${CFG_FILE}" + chown -R btsync:administrators $INSTALL_DIR/var + su - btsync -c "umask 000; PATH=${PATH} ${BTSYNC} --config ${CFG_FILE}" } stop_daemon () Oh and need to make sure if it is an upgrade that the BtSync folder needs to change owner as well. Edited March 18, 2016 by robingruyters Quote Link to comment Share on other sites More sharing options...
Speednet Posted March 24, 2016 Report Share Posted March 24, 2016 I am running BT Sync on DSM 5.x and trying to do the upgrade on the Synology box to the official DSM 6.0 release. When I start the upgrade it stops a minute in and states that BT Sync is not compatible with 6.0, and that it must be disabled in order to complete the upgrade. Is BT Sync compatible with DSM 6.0? If so, should I just stop the service before the upgrade and then manually start after it finishes? Or should I do something else? I am running BT Sync 2.3.5. Thanks! Quote Link to comment Share on other sites More sharing options...
RomanZ Posted March 24, 2016 Report Share Posted March 24, 2016 @Speednet Currently there are some issues reported by Synology QA regarding Sync. We are working to get it resolved. Quote Link to comment Share on other sites More sharing options...
Speednet Posted March 24, 2016 Report Share Posted March 24, 2016 OK thanks for the info, I'll wait on the upgrade to 6.0 then. Quote Link to comment Share on other sites More sharing options...
TinMan Posted March 24, 2016 Report Share Posted March 24, 2016 Same problem here. Hope you're able to solve it quickly. Quote Link to comment Share on other sites More sharing options...
tjluoma Posted March 25, 2016 Report Share Posted March 25, 2016 Well… awesome. I just updated my Synology to DSM 6 and BTS doesn't work? I'm going to assume that there was someone at BTS, Inc. who was working on this during the DSM beta period but somehow it slipped through anyway. Quote Link to comment Share on other sites More sharing options...
electroteque Posted March 25, 2016 Report Share Posted March 25, 2016 Confirming I had to stop the service before I could upgrade to version 6. It is currently missing from the packages list on the Synology site and in the package console. Any ideas ? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted March 25, 2016 Report Share Posted March 25, 2016 @all Unfortunately, submitting packages to official stores as well as adopting to new OS depends not only on Bittorrent, but also on Synology. Both are is rather slow procedures as it includes some internal Synology tests. You can download latest version of Sync for Synology here for manual install, although Sync MAY not start under DSM6 (it depends on your NAS model), as Syno has changed the policy towards ARM / ARMHF builds requirements in DSM6. 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.