BitTorrent Sync (BTSync) Plugin


Recommended Posts

Hello,

 

After installing the latest btsync plugin for unraid 5.0.5, I am getting strange messages in /var/log/syslog

e.g.

---

Jun 12 10:37:29 unraid shfs/user: shfs_setxattr: setxattr: com.apple.FinderInfo /mnt/disk7/btsy

nc.storage/BTSync Files/Public (95) Operation not supported

---

However the synchronization works fine. Is this something that I have to worry about?

 

Thanks.

MA

 

Link to comment
  • Replies 138
  • Created
  • Last Reply

Top Posters In This Topic

Thank you. I was hoping it was more in house only.

 

 

You can lock it down so it does not connect to the public tracker.  Then it will only work withing you LAN.  You can also poke a hole and map a port in your router so that the nodes can reach each other without the tracker.  Or you can just let the external nodes find each other through the tracker.

 

Its like anything else of its type, you are in effect giving a 3rd party access to your network.  Yes supposedly the key is only known by you, but there is no what to be sure.  Your plug the shared secret into BTSYNC and it generates a tracking key.  Every node you put the shared secret into will generate the same key.  There is nothing that keeps the developers from having code that can take the tracking key and recreate the source shared secret other than they say they don't.  I am not saying they are, just that you have to take their word.

 

And if you think about it, Plex is the same way. 

Link to comment
  • 1 month later...

I'm trying to install btsync_x64_overbyrn.plg but the plugin doesn't show up on the settings page. My command line after "installplg /boot/config/plugins/btsync_x64_overbyrn.plg" shows things like:


....

Warning: simplexml_load_file(): /boot/config/plugins/btsync_x64_overbyrn.plg:1978: parser error : Premature end of data in tag head line 8 in /usr/local/emhttp/plugins/plgMan/plugin on line 125

Warning: simplexml_load_file():  in /usr/local/emhttp/plugins/plgMan/plugin on line 125

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/plgMan/plugin on line 125

Warning: simplexml_load_file(): /boot/config/plugins/btsync_x64_overbyrn.plg:1978: parser error : Premature end of data in tag html line 7 in /usr/local/emhttp/plugins/plgMan/plugin on line 125

Warning: simplexml_load_file():  in /usr/local/emhttp/plugins/plgMan/plugin on line 125

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/plgMan/plugin on line 125
plugin: xml parse error

 

Any ideas?

 

EDIT: Re-downloaded the file and got it installed alright. Problem solved :)

Link to comment
  • 1 month later...

Got notified that the desktop app got a major update (1.4) that is supposed to include a fix for an extended attribute problem I found and passed on to the devs.  I wanted to be sure the unRaid plugin was showing that the update was available before I go updating my Mac Mini, but when I went into the plugin GUI it's showing a red "UNKNOWN" for online version so it isn't showing any update yet.

 

I have no idea how the online updates actually work so I don't know if it's pulling from Overbyrn's GIT or BT's GIT or what.  Any ideas on when this update might be available??

 

Thanks.

Link to comment

Got notified that the desktop app got a major update (1.4) that is supposed to include a fix for an extended attribute problem I found and passed on to the devs.  I wanted to be sure the unRaid plugin was showing that the update was available before I go updating my Mac Mini, but when I went into the plugin GUI it's showing a red "UNKNOWN" for online version so it isn't showing any update yet.

 

I have no idea how the online updates actually work so I don't know if it's pulling from Overbyrn's GIT or BT's GIT or what.  Any ideas on when this update might be available??

 

Thanks.

 

The URL for the download has changed I believe so I suspect this will require a plugin update.

Link to comment

I think the following fix will work, until OverByrn will update his plugin:

Open btsync_overbyrn.plg (or the x64bit version of it) with a text editor and replace

 

for the 32bit version:

<!ENTITY url3 "http://download-lb.utorrent.com/endpoint/btsync/os/linux-i386/track/stable">

with

<!ENTITY url3 "http://download-new.utorrent.com/endpoint/btsync/os/linux-i386/track/stable">

 

for the 64bit version:

<!ENTITY url3 "http://btsync.s3-website-us-east-1.amazonaws.com">

with

<!ENTITY url3 "http://download-new.utorrent.com/endpoint/btsync/os/linux-x64/track/stable">

and

wget -q -P /tmp http://btsync.s3-website-us-east-1.amazonaws.com/btsync_x64.tar.gz 2>/dev/null

with

wget -q -P /tmp http://download-new.utorrent.com/endpoint/btsync/os/linux-x64/track/stable 2>/dev/null

Link to comment

I think the following fix will work, until OverByrn will update his plugin:

Open btsync_overbyrn.plg (or the x64bit version of it) with a text editor and replace

 

for the 32bit version:

<!ENTITY url3 "http://download-lb.utorrent.com/endpoint/btsync/os/linux-i386/track/stable">

with

<!ENTITY url3 "http://download-new.utorrent.com/endpoint/btsync/os/linux-i386/track/stable">

 

for the 64bit version:

<!ENTITY url3 "http://btsync.s3-website-us-east-1.amazonaws.com">

with

<!ENTITY url3 "http://download-new.utorrent.com/endpoint/btsync/os/linux-x64/track/stable">

and

wget -q -P /tmp http://btsync.s3-website-us-east-1.amazonaws.com/btsync_x64.tar.gz 2>/dev/null

with

wget -q -P /tmp http://download-new.utorrent.com/endpoint/btsync/os/linux-x64/track/stable 2>/dev/null

 

Thanks for this.  I tried it, but it doesn't seem to have done anything.  I've restarted the daemon and checked again, but it's still showing unknown.  Do I have to reboot unRaid completely?

Link to comment

I've attached my fixed version for Overbyrn's plugin for the 32bit system. remove the ".txt" extension"

 

Summary of the changes made:

1. replaced

download-lb

with

download-new

- 3 occurrences in the file

 

2. replace

http://www.bittorrent.com/sync/downloads

with

http://www.bittorrent.com/sync/download

- omitting the "s"

 

I believe if you replace all instances in the file of "i386" with "x64", you'll get a working updated version for the 64bit as well.

 

Hopefully Overbyrn will update his github repository, so the "official" version will work again.

btsync_overbyrn.plg.txt

Link to comment

I've attached my fixed version for Overbyrn's plugin for the 32bit system. remove the ".txt" extension"

 

Summary of the changes made:

1. replaced

download-lb

with

download-new

- 3 occurrences in the file

 

2. replace

http://www.bittorrent.com/sync/downloads

with

http://www.bittorrent.com/sync/download

- omitting the "s"

 

I believe if you replace all instances in the file of "i386" with "x64", you'll get a working updated version for the 64bit as well.

 

Hopefully Overbyrn will update his github repository, so the "official" version will work again.

 

Thanks again.  Trying now...

Link to comment
  • 3 weeks later...

Really would like to get this working. Can someone point to the "how to for dummies" for this. I have the plugin installed and it shows up under settings. I tried accessing the WebGUI using ipaddress:50001 and ipaddress:50001/gui but get nothing. I've Googled for instructions but didn't find anything. I know I need to put my secret into the folder that will be synced but Have no idea how to do that with this. Btsync Daemon doesn't seem to work for me either, at least when I select start and the browser refreshes I still have the option to Start it again. Any help would be really appreciated. Thanks in advance!

 

**Apparently I missed somewhere about changing the default port. I'm able to access the WebUI and I believe I can figure everything else out from here. Thanks so much for such a great plugin!

Link to comment

Ok nope, I thought wrong. I can't add/see any folders within the WebGUI. I can type name but when I hit add nothing happens. Any suggestions?

Please post a screenshot of your btsync settings page...

 

Attached is the screenshot. Thanks for taking the time to help me out.

 

OK, finally found a solution.

Apparently, there's a bug in ver1.4 of BTSync.

To fix it:

1. rename btsync_overbyn.plg to btsync_overbyn.off and restart your server.

2. after the restart - delete btsync folders under /boot/config/plugins and under your appdata folder

3. rename btsync_overbyn.off back to .plg and install it using "installplg /boot/config/plugins/btsync_overbyn.plg" or by restarting your server.

4. in the btsync settings page, set your options but DON'T ENABLE AUTO-START FOR THE PLUGIN

5. edit file btsync.conf under your appdata folder, leave under webgui only:

"webui" :
  {
    "listen" : "0.0.0.0:50001"
  }

6. now try and start your btsync by pressing the "Start" button.

 

Afterwards all should be fixed.

I think at the EULA screen you must enter at least a username (I also set up a password)...

Link to comment

First, I really appreciate your time. Unfortunately this did not work for me. The only thing I didn't do was clear the appdata because I don't know where that's located on unRAID. One thing that seems a little strange to me is that everytime I open the WebUI it makes me enter the username and verify the password twice likes its my first time using it.

Link to comment

First, I really appreciate your time. Unfortunately this did not work for me. The only thing I didn't do was clear the appdata because I don't know where that's located on unRAID. One thing that seems a little strange to me is that everytime I open the WebUI it makes me enter the username and verify the password twice likes its my first time using it.

 

Anyone have any ideas? Once I do the install I see a btsync share folder, but when in the WebUI I can't set a key to a folder because there are no folders and I can not add any. When I type a name and select "add" nothing happens. It would be great to get this working because I could essentially only have my server on during the day as opposed to another computer as well. Thanks in advance for anyone that might be able to help out.

Link to comment

I've attached my fixed version for Overbyrn's plugin for the 32bit system. remove the ".txt" extension"

 

Summary of the changes made:

1. replaced

download-lb

with

download-new

- 3 occurrences in the file

 

2. replace

http://www.bittorrent.com/sync/downloads

with

http://www.bittorrent.com/sync/download

- omitting the "s"

 

I believe if you replace all instances in the file of "i386" with "x64", you'll get a working updated version for the 64bit as well.

 

Hopefully Overbyrn will update his github repository, so the "official" version will work again.

 

Yes! Tried what you mentioned before again but with your .plg you posted and it worked!! Thanks so much.

Link to comment

I've attached my fixed version for Overbyrn's plugin for the 32bit system. remove the ".txt" extension"

 

Summary of the changes made:

1. replaced

download-lb

with

download-new

- 3 occurrences in the file

 

2. replace

http://www.bittorrent.com/sync/downloads

with

http://www.bittorrent.com/sync/download

- omitting the "s"

 

I believe if you replace all instances in the file of "i386" with "x64", you'll get a working updated version for the 64bit as well.

 

Hopefully Overbyrn will update his github repository, so the "official" version will work again.

 

Yes! Tried what you mentioned before again but with your .plg you posted and it worked!! Thanks so much.

gshlomi, many thanks for helping.  I'll get there with the plugins eventually lol. I've been slowly working through the plugins I did for v5 and turning them into v6 versions but it's taking time. I've been rewriting the v6 plugins so that they work properly with the way Tom has structured v6 plugins to be installed/updated from the Extensions-> Plugin section, so it's not just been a simple case of switch out 32bit for 64bit, but more like re-writing the whole plugin from scratch.  I've done ssh, beets, denyhosts and dropbox so far. In no particular order, I still have nzbget, btsync, airvideo and lms to go. I'd love to be able to give this more time as I really enjoy messing with plugins etc, but I moved from UK to US three months ago and finally got myself a decent job as of last week which I start at in just over a weeks time. Means the wife and I have to relocate permanently from New Hampshire to Wisconsin and once I start work, it's anyone's guess how long it'll be before I'm settled in a place where I can do this type of thing in my spare time!

Link to comment
  • 3 weeks later...
  • 1 month later...

Getting notified of an update for BTsync in webUI at :8888/webgui ! Can someone tell me how to upgrade BTsync on unRaid? I downloaded the .tar file for i386/linux so far....

 

1. Are you using PhAze's plugin?

2. If you're not using PhAze's plugin, then how did you install it, and what is the install path?

 

Link to comment
  • 2 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.