Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

BitTorrent Sync now available; and runs on unraid!

Featured Replies

Dimtar, you're on the 5.0-rc12a right?

 

Indeed.

  • Replies 109
  • Views 38.1k
  • Created
  • Last Reply

Can you telnet in to you unraid box and check if /usr/local/sbin/btsync is on your system?

when you installed the plugin it *should* have pulled the install from amazon and put it there.

the link is to the btsync web server.  it opens on port 8888 on your unRaid server

 

also, if the file is not there, please click "update build"

if it is, please click "update plugin"

 

I just rebuilt my flash to make a Crashplan tutorial yesterday - then decided to try this out.  I had exactly the same problem as above.  I installed the plugin, pushed Start and then clicked the link to access BitTorrent Sync.

 

It didn't work for me either.

 

But I noticed your comments to check the /usr/local/sbin folder, so I browsed there.

 

I then manually ran "btsync" and my Unraid replied with "BitTorrent Sync forked to background. pid=7926"

 

I took this to be a good thing, clicked the link again - and it seems to be working.

 

Hopefully this helps track down why this might not be working for fresh installs.

 

Thanks for the plugin,

 

Russell

Can you check to see if rc.btsync is working correctly?

If you can tell me where it is bombing out I might get an idea what is wrong.

I am so far unable to replicate the issue.

Yoshi, in your btsync_stop function, expand the grep for finding the btsync process pid from just "bysync" to include the whole path.  I noticed "rc.btsync start" creates the pid file, but contains three separate pid entries.  Not really a problem, but when issuing "rc.btsync stop" it tries to kill non-existent processes.

Thanks overbyrn, I pushed that change.

Could this be why it is starting for some and not others?

 

Or could it be that both myself and the other person who has tested this use Simple Features?

 

I have a fresh 12a USB key and I will try some more trouble shooting this afternoon.

Hmm, not sure it's the reason for some that it's not starting.  After reviewing your plugin I figured out why using my own plugin I wasn't able to get btsync to remember it's added folder settings.  Silly me, used kill -9 instead of regular kill.  The difference being kill -9 sends SIGKILL and is untrappable by the application.  Send kill (aka SIGTERM) and the application knows you're closing it and saves it's settings before exiting the process. 

 

Oddly, btsync (for me at least) still seems to 'forget' any of the settings in the Preferences page.  eg. Default download speed limit equals 0.  Specify a different value, stop/kill btsync, restart and it reverts back to 0.

 

For what it's worth, here's my version of a btsync plugin... https://github.com/overbyrn/UnRAID/raw/master/btsync_overbyrn.plg

 

I've tested this on my dev 12a system which also has SAB, NZBGet and SimpleFeatures (core only) running.

 

 

Regards,

overbyrn

overbyrn, I like the settings in your plugin, but it doesn't install btsync for me.

 

For a single self enclosed executable this is a complete pita

For a single self enclosed executable this is a complete pita

Completely agree.  I've no idea why I continue to mess with it.  Wonder why my version of the plugin doesn't install for you.  Can you do some digging to understand why?

it is an issue on my end, never mind.

 

I figured out what I was doing wrong.

Helps if I delete the pid.

 

Since I managed to see a way to migrate from the hacked crap that I wrote to what you wrote, I scripted my plugin to move the 3 people on mine to yours.

Can you check to see if rc.btsync is working correctly?

If you can tell me where it is bombing out I might get an idea what is wrong.

I am so far unable to replicate the issue.

 

Sorry, no idea how to check that.  I don't know what rc.btsync is, but I am able to sync files with the client installed on my Windows machine - hopefully that helps.

 

Russell

Don't worry about it.

Anyone using my plg should press the update button.

This should resolve any issues, but you will need to re-enter your BTSync settings.

Tried your plugin today: Install ran forever until I killed the installation:

 

The following output was generated in a loop - forever. I'm on RC12a.

 

 file /usr/local/emhttp/plugins/btsync/btsync.png: successfully copied LOCAL fil                                                                                                                               e
file /usr/local/emhttp/plugins/btsync/device_status.png: successfully copied LO                                                                                                                               CAL file
file /usr/local/emhttp/plugins/btsync/new_config.png: successfully copied LOCAL                                                                                                                                file
file /usr/local/emhttp/plugins/btsync/information.png: successfully copied LOCA                                                                                                                               L file
file /usr/local/emhttp/plugins/btsync/btsync.php: successfully wrote INLINE fil                                                                                                                               e contents
file /usr/local/emhttp/plugins/btsync/event/disks_mounted: successfully wrote I                                                                                                                               NLINE file contents
  successfully changed file mode
file /usr/local/emhttp/plugins/btsync/event/unmounting_disks: successfully wrot                                                                                                                               e INLINE file contents
  successfully changed file mode
file /tmp/plugin-install: already exists
/tmp/plugin-install: line 1: rmNoWarn: command not found
/tmp/plugin-install: line 2: rmNoWarn: command not found
/tmp/plugin-install: line 3: rmRecursiveNoWarn: command not found
/tmp/plugin-install: line 4: rmRecursiveNoWarn: command not found
/tmp/plugin-install: line 5: rmNoWarn: command not found
/tmp/plugin-install: line 6: rmNoWarn: command not found
/tmp/plugin-install: line 10: rmNoWarn: command not found
  /bin/bash /tmp/plugin-install ... installing plugin: btsync_overbyrn
file /tmp/plugin-prepare: successfully wrote INLINE file contents
  /bin/bash /tmp/plugin-prepare ... success
file /boot/config/plugins/btsync/btsync.png: already exists
file /boot/config/plugins/images/device_status.png: already exists
file /boot/config/plugins/images/new_config.png: already exists
file /boot/config/plugins/images/information.png: already exists
file /boot/config/plugins/btsync/btsync_i386.tar.gz: already exists
file /tmp/plugin-cleanup: successfully wrote INLINE file contents
  /bin/bash /tmp/plugin-cleanup ... success
file /boot/config/plugins/btsync/btsync.cfg: already exists
file /boot/config/plugins/btsync/btsync.conf.template: already exists
file /tmp/plugin-chkcfg: successfully wrote INLINE file contents
  /bin/bash /tmp/plugin-chkcfg ... success
file /etc/rc.d/rc.btsync: successfully wrote INLINE file contents
  successfully changed file mode

I had this exact same problem.

 

Deleted the plugin and all it's files.... then rebooted... then reinstalled and I'm working again (but haven't rebooted to test it).

 

I also probably fouled something up... for next time, is there a way to preserve my shares and secrets?

 

Thanks,

 

Russell

Good stuff.  I never did have the time to finish my version.

 

 

If you are installing for the first time, install that ^^^^^^^^^^^

For next time, is there a way to preserve my shares and secrets?

 

Thanks,

 

Russell

If you migrate from mine to Overbyrn you will lose your settings.

But you shouldn't loose the settings again,

Using the Overbyrn version, and it's working great... even survived a reboot....

 

So, what kind of begging to I have to put down to get Overbyrn to create a CrashPlan plugin?  I've been working so hard to get and keep CrashPlan running - it's literally worthy of tears!

 

Please, Overbyrn, please!

 

Russell

@overbyrn:

 

Is it possible to add these additional global settings to your plugin settings and the resulting conf file?

 

I'm running BTSync in a pur LAN environment. All my devices got these additional conf settings:

 

  "lan_encrypt_data" : false,
  "lan_use_tcp" : true,

 

Many thanks in advance.

 

@overbyrn:

 

Is it possible to add these additional global settings to your plugin settings and the resulting conf file?

 

I'm running BTSync in a pur LAN environment. All my devices got these additional conf settings:

 

  "lan_encrypt_data" : false,
  "lan_use_tcp" : true,

 

Many thanks in advance.

 

Yeah, that should be possible.  I'll see if I can find some time in the next couple days.

Just installed overbyrn's plug-in.  Works great!  I've been hoping for this functionality on Unraid for the 3 years that I've been using it.

 

Thanks so much for your effort & generosity in sharing your work.

 

Best

BB

@overbyrn:

 

Is it possible to add these additional global settings to your plugin settings and the resulting conf file?

 

I'm running BTSync in a pur LAN environment. All my devices got these additional conf settings:

 

  "lan_encrypt_data" : false,
  "lan_use_tcp" : true,

 

Many thanks in advance.

 

Done.  I have added an advanced config section to the BTSync settings page.  The following four advanced application settings are available:

  • Disk Low Priority
  • Lan Encrypt Data
  • Lan Use TCP
  • Rate Limit Local Peers

Plugin version updated to 1.5.  You should be able to update the plugin from within BTSync Plugin settings page, but please be aware I have recently moved my UnRAID plugins from separate repo's to one combined UnRAID repo.  This should not break the in-plugin update, but if you have problems please get v1.5 of the plugin from the repo in my sig.

 

The BTSync user guide says that for Linux these advanced application settings are not shown and only able to be modified from the config file so I am not sure how easy it is to test if these settings are working.

 

 

 

Regards,

overbyrn

Thanks a lot.

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.