puppe

BitTorrent Sync on QNAP NAS devices

Recommended Posts

I have successfully installed BitTorrent Sync on my QNAP TS-412 NAS device. I have done this by building QPKG packages which can be installed via QPKG Center. All necessary instructions and scripts can be found at https://github.com/puppe/btsync-qpkg.

I hope this will be helpful to other people. If you have any questions, ask them here or file an issue. Pull requests are always welcome!

Share this post


Link to post
Share on other sites

I have successfully installed BitTorrent Sync on my QNAP TS-412 NAS device. I have done this by building QPKG packages which can be installed via QPKG Center. All necessary instructions and scripts can be found at https://github.com/puppe/btsync-qpkg.

Great work! But please remove the dot after the URL. The correct URL is https://github.com/puppe/btsync-qpkg ;-)

Share this post


Link to post
Share on other sites

Thanks puppe for your tutorial.

I have a TS-259Pro and did follow successfully your step until ./make.sh which returned me the following error:

Building packages

./make.sh: /usr/bin/qbuild: /bin/bash: bad interpreter: No such file or directory

Done

Then after a few research I found this:

source http://smtp.qnap.com/viewtopic.php?p=315054#p315106

I did follow his instructions:

[~] # cd /bin

[/bin] # ln -s sh /bin/bash

And voila, I'm all set B) it works pretty well ! thanks again to you, the forum and btsync!

Share this post


Link to post
Share on other sites

This seems to be a problem with qbuild. Apparently it relies on bash being available. Luckily, it doesn't seem to use any bash-specific features. I've added a troubleshooting section to the README. Thanks!

Share this post


Link to post
Share on other sites

[...] Should I redo the all thing? [...]

Yes, that should be the way to go.

Alternatively, you could replace the BitTorrent Sync binary manually:

  1. Stop BitTorrent Sync via the QPKG Center.
  2. Find out where the binary is located (/share/MD0_DATA/.qpkg/BitTorrentSync/btsync, for my setup at least) and replace it with the new one.
  3. Start BitTorrent Sync via the QPKG Center.

I am not at home right now (and won't be for another two months), so I have not tested updating.

Share this post


Link to post
Share on other sites

I went back to the first link above but still the same version.

Which version number do you mean? That from the QPKG Center or that from the BitTorrent Sync Web UI. Only the latter is really relevant.

btsync-version.png

But where can I get the new binary?

  1. Go to the Bittorent Sync download page
  2. Click the download button
  3. Download the Linux ARM, Linux i386 or Linux x64 archive depending on what you installed the last time. (As your TS-259Pro apparently has an Intel Atom processor, it should be either i386 or x64. If you're not sure, login via ssh and type `uname -m`)
  4. Extract the binary (btsync) from the archive and put it on your NAS.

Share this post


Link to post
Share on other sites

Hi,

first I want to thank you for your work :)

Works like a charm.

I successfully installed it on TS569 Pro, but I need to install QDKG because qbuild required for building package was't on my system (4.1.0)
Once more: thank you ;)

Edited by Martinix

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.