neser Posted December 10, 2015 Report Share Posted December 10, 2015 (edited) HiI've just install Btsync from packages center and doesn't works.When I run it a new browser tab opens trying to connect and nothing appears. I've open port in router but still it doesn't work.My synology is running DSM 5.2-5644 and the Bittorrent sync version is 2.2.5-1What can I do? Thanks Edited December 10, 2015 by neser Quote Link to comment Share on other sites More sharing options...
neser Posted December 12, 2015 Author Report Share Posted December 12, 2015 Finally it works!I've followed this steps:- Connect to synology by ssh and edit the file sync.conf. Into the file I introduced new lines with the user, password and changed the default port. In my case the default port was 8890 but when I had btsync 1.4 I remembered that I had 8888 so... I tried it.- After this, I launched again the app from synology bittorrent sync icon and it didn't work because the new tab still trying with port 8890.-So I manually type in the browser the correct IP:8888 and it worked! Now all my folders are syncing fine! So... one last question. How can I change the default port in the synology app? I don't want to write it manually each time. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted December 17, 2015 Report Share Posted December 17, 2015 @neserYou can SSH to your NAS and edit Sync's config file and choose any other port you like (though, be careful not to occupy already occupied port): /usr/local/bittorrentsync/var/sync.conf Quote Link to comment Share on other sites More sharing options...
Moe Posted December 19, 2015 Report Share Posted December 19, 2015 @neserYou can SSH to your NAS and edit Sync's config file and choose any other port you like (though, be careful not to occupy already occupied port): /usr/local/bittorrentsync/var/sync.confBe sure to shut down BitTorrent Sync before you edit the file though Quote Link to comment Share on other sites More sharing options...
neser Posted December 19, 2015 Author Report Share Posted December 19, 2015 I did it but it doesn't work. Into sync.conf file I typed port 8888 but when I launch btsync from control panel icon in my synology, it uses port 8890 not with the port written into the sync.conf.If I want it work, I have to type the correct port in the browser tab. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted December 23, 2015 Report Share Posted December 23, 2015 @neserWhen Sync is up and running, could you please SSH to it, list all the processes running and let me know what are the params for "btsync" process? Thanks! Quote Link to comment Share on other sites More sharing options...
neser Posted December 23, 2015 Author Report Share Posted December 23, 2015 @neserWhen Sync is up and running, could you please SSH to it, list all the processes running and let me know what are the params for "btsync" process? Thanks! Sure! But today I go out travel and I can't do this remotely. When I come back I'll do and tell you. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted December 24, 2015 Report Share Posted December 24, 2015 NP. I'm following this topic and will see when you reply. Quote Link to comment Share on other sites More sharing options...
Orlandowave Posted December 31, 2015 Report Share Posted December 31, 2015 I am running into the same problem. My synology D213j is running DSM 5.2-5644 and the Bittorrent sync version is 2.2.7-1. I tried bit sync 2.2.5-1 but it kept crashing, so I update it to 2.2.7-1. Anyway I can't get it to work. I need a little help to change the port in the sync.conf file. I can login into via ssh admin@192.168.1.114, but I need step by step after that.Thanks Quote Link to comment Share on other sites More sharing options...
Orlandowave Posted January 1, 2016 Report Share Posted January 1, 2016 Can you post the sync.conf file change? "listen" : "0.0.0.0:8890", "allow_empty_password" : false, "directory_root" : "/", "dir_whitelist" : ["/volume1","/volume2","/volume3","/volume4","/volume5","/volume6","/volume7","/volume8","/v "directory_root_policy":"belowroot" }} Quote Link to comment Share on other sites More sharing options...
neser Posted January 3, 2016 Author Report Share Posted January 3, 2016 (edited) @RomanZHi, I don't understand it but is this what do you want to see? Edited January 3, 2016 by neser Quote Link to comment Share on other sites More sharing options...
RomanZ Posted January 4, 2016 Report Share Posted January 4, 2016 @neserThis is almost I wanted to see . You say that adjusting the "/usr/local/bittorrentsync/var/sync.conf" file did not help, so I wanted to ensure that it is indeed the config file used by Sync. Unfortunately, the screenshot you shared does not show full name and path of a config file used by Sync.Please also note, that changing this config file changes the actual port Sync is listening, not the URL that you see in your Package Center! @OrlandowaveHere is a config file from my lab NAS, adjusted to port 8888 and proved working. Although, its simple (and safer) to change existing config rather than completely copypaste this one.{ "storage_path" : "/usr/local/bittorrentsync/var", "pid_file" : "/usr/local/bittorrentsync/var/syncapp.pid", "display_new_version" : false, "vendor" : "Synology", "webui" : { "listen" : "0.0.0.0:8888", "allow_empty_password" : false, "directory_root" : "/", "dir_whitelist" : ["/volume1","/volume2","/volume3","/volume4","/volume5","/volume6","/volume7","/volume8","/volume9","/volume10","/volume11","/volume12","/volume13","/volume14","/volume15","/volume16","/volume17","/volume18","/volume19","/volume20"], "context":"{\"folder_blacklist\": [\"\/@\", \"\/lost\\\\+found\"]}", "directory_root_policy":"belowroot" }} Quote Link to comment Share on other sites More sharing options...
neser Posted January 4, 2016 Author Report Share Posted January 4, 2016 Ok, I'm going to try again 1.- Screenshot with full path of config file 2.- Screenshot of config file 3.- Screenshot of my Package Center Quote Link to comment Share on other sites More sharing options...
RomanZ Posted January 5, 2016 Report Share Posted January 5, 2016 @neserPlease also note, that changing this config file changes the actual port Sync is listening, not the URL that you see in your Package Center!Try manually connecting to port 8888 and it will work. Unfortunately, I did not found how to change this URL in Package Center. Looks like it only changes during installation. Quote Link to comment Share on other sites More sharing options...
neser Posted January 7, 2016 Author Report Share Posted January 7, 2016 @neserTry manually connecting to port 8888 and it will work. Unfortunately, I did not found how to change this URL in Package Center. Looks like it only changes during installation. Yes, If I type manually the port it works.My question was whether there was any way to change the url in Package Center but if there is no way I will continue to do manually Quote Link to comment Share on other sites More sharing options...
Helen Posted January 8, 2016 Report Share Posted January 8, 2016 neser, Why not change the config to 8890? or I missed something and for a reason you don't want to connect on this port? Quote Link to comment Share on other sites More sharing options...
neser Posted January 8, 2016 Author Report Share Posted January 8, 2016 @Helen If I use the port 8890, it doesn't work and I don't know why. It only works with port 8888. Quote Link to comment Share on other sites More sharing options...
Helen Posted January 8, 2016 Report Share Posted January 8, 2016 neser, As I understand it doesn't work if in URL bar you have 8890, right? Of course it won't work, cause in config you have 8888, which Sync listens to. And I suggest - why no change it in config, so that sync listen to 8890 and open with this port? Quote Link to comment Share on other sites More sharing options...
neser Posted January 8, 2016 Author Report Share Posted January 8, 2016 I tried changing the port 8890 in the sync.conf file but it doesn't work. With this port the program doesn'ot open. Quote Link to comment Share on other sites More sharing options...
Moe Posted January 8, 2016 Report Share Posted January 8, 2016 Did you stop the BitTorrent Sync process, change the config file to the port you want to have it set? To confirm your configuration runs properly, can you run the following command:/usr/local/bittorrentsync/bin/btsync --config /usr/local/bittorrentsync/var/sync.conf --nodaemonand see what it outputs? Quote Link to comment Share on other sites More sharing options...
Orlandowave Posted January 9, 2016 Report Share Posted January 9, 2016 Thanks for posting the file. I made the changes and also tried adding my bit sync username/password. However, I still can't get bit sync to work for me. Any suggestions what I should try next? { "storage_path" : "/usr/local/bittorrentsync/var", "pid_file" : "/usr/local/bittorrentsync/var/syncapp.pid", "display_new_version" : false, "vendor" : "Synology", "webui" : { "listen" : "0.0.0.0:8888", "login" : "Nas.home", "password" : "XXXXXXX", "allow_empty_password" : false, "directory_root" : "/", "dir_whitelist" : ["/volume1","/volume2","/volume3","/volume4","/volume5","/volume6","/volume7","/volume8","/volume9","/volume10","/volume11","/vol "directory_root_policy":"belowroot" }} Thanks Quote Link to comment Share on other sites More sharing options...
neser Posted January 9, 2016 Author Report Share Posted January 9, 2016 Did you stop the BitTorrent Sync process, change the config file to the port you want to have it set? To confirm your configuration runs properly, can you run the following command:/usr/local/bittorrentsync/bin/btsync --config /usr/local/bittorrentsync/var/sync.conf --nodaemonand see what it outputs?Yes, I stop Bittorrentsync when I changed the config file. I've run the command that you said me. First I stopped the bittorrentsync process and the command output is this: And after I run the process and I executed the command again: Really now Btsync is working fine to me even though I've to type the port manually in the browser. So I hope all of this discussion would be useful to somebody else. Quote Link to comment Share on other sites More sharing options...
Moe Posted January 9, 2016 Report Share Posted January 9, 2016 I see! So basically the address you have to type in was not correct? I guess you can just add a new bookmark with the correct port. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted January 11, 2016 Report Share Posted January 11, 2016 @neserChanging port in sync confing to 8890 may not work only due to one reason - some other process already occupies this port. I suggest running netstat -anp | grep 8890 to see who takes the port. @OrlandowaveThe config looks okay. Could you please share on what exactly not working? If you can't open WebUI of Sync while Synology DSM says it is running - it is worth of logging in to your NAS and checking1) if btsync process is running and it is using correct config file2) if btsync is indeed listens to 8888 port. Quote Link to comment Share on other sites More sharing options...
Orlandowave Posted January 14, 2016 Report Share Posted January 14, 2016 Bit sync is running. But I can't pull up Web interface @ NAS_IP:8888 DiskStation> /usr/local/bittorrentsync/bin/btsync --config /usr/local/bittorrentsync/var/sync.conf --nodaemonCan't lock pid file. It seems BitTorrent Sync is already running with pid 7776DiskStation> How do I check to see if btsync is listen to 8888 port? 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.