Debian And Ubuntu Server Unofficial Packages For Bittorrent Sync


Recommended Posts

Np, could you check `/tmp/sync.log`? What distro are you running and are you running it with systemd?

You could also try to dpkg-reconfigure btsync again.

I have no access to the server ATM, but I will check it as soon as I have it up and running again (SSH remote reboot did not succeed...)

 

I use a Debian Jessie Distro (Debian 8.0). And I did already do a dpkg-reconfigure btsync which did start the daemon for a couple of minutes, and then died at some point. This is the same behaviour as if I do a service btsync start.

Link to comment
Share on other sites

  • 2 weeks later...

I have no access to the server ATM, but I will check it as soon as I have it up and running again (SSH remote reboot did not succeed...)

 

I use a Debian Jessie Distro (Debian 8.0). And I did already do a dpkg-reconfigure btsync which did start the daemon for a couple of minutes, and then died at some point. This is the same behaviour as if I do a service btsync start.

 

I'm noticing some seemly unrelated actions are crashing the btsync daemon. For example, if I restart the VPN btsync crashes without logs. I'm wondering if your issue is due to a bug in btsync somewhere (maybe permissions on one of your files?, etc.).

 

Sorry I can't be more helpful.  :huh:

Link to comment
Share on other sites

  • 3 weeks later...

Silvenga I am getting an error when I am running apt-get update. I just added your most recent apt repo.

W: Failed to fetch http://deb.silvenga.com/btsync/dists/any/Release  Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)E: Some index files failed to download. They have been ignored, or old ones used instead.
 
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:        12.04
Codename:       precise
 
Any help would be very much appreciated.
 
Link to comment
Share on other sites

 

Silvenga I am getting an error when I am running apt-get update. I just added your most recent apt repo.

 

Another user asked about a similar issue. If it is the same issue, in your /etc/apt/sources.list file (at the end) there should be two lines as follows:

Normally the second line is commented out automatically by add-apt-repository. However, there was a bug in the Ubuntu Precise version that prevented this. 
 
Run the following to cleanup:
add-apt-repository --remove "deb-src http://deb.silvenga.com/btsync any main"

In theory I should include source packages in my repository - I just haven't gotten to it.  

Link to comment
Share on other sites

  • 1 month later...

I used Btsync some time ago, but stopped when it began a subscription model. With the creation of the one-payment option I thought I would try Btsync again. Seeing that the official-unofficial packages have become a bit stale, I attempted to build my own based on the work of @tuxpoldo - upgrading along the way. 

 

So, until Mr. Moll upgrades his packages, I'm maintaining a personal fork of his repository here: https://github.com/Silvenga/btsync-deb. I'll use it for my own deployments, but anyone is free to check them out. The binaries are published to Canonical's repositories on the PPA's: https://launchpad.net/~silvenga/+archive/ubuntu/btsync

 

I've only tested btsync 2.2.1 under Ubuntu Trusty 64-bit in headless mode, but I don't anticipate any issues on other Debian based operating systems. I can add other Ubuntu distributions or CPU architectures if there's a want. 

 

Cheers!

 

Mate! You're a legend. What's the best way to move from tuxpoldo's repository to yours on a system already using his? Do I just remove his sources.list.d entry and put yours in?

Link to comment
Share on other sites

Mate! You're a legend. What's the best way to move from tuxpoldo's repository to yours on a system already using his? Do I just remove his sources.list.d entry and put yours in?

 

Yes, removing his sources would be the cleanest method; however, since my packages will have higher versions than Tuxpoldo's you could get away with only adding my sources. Make sure to use my personal repository at "deb.silvenga.com" as I have depercated the usage of Canonical's repositories due to compatibility issues. 

Link to comment
Share on other sites

Can you tell me where btsync.conf is located when using your installer? I chose the default /mnt as the data directory during install and knew I'd made a mistake, confirmed when btsync complained when I changed the default data directory to something under the user account.

 

 

 


edit: found the config in /etc/btsync-user and I followed https://github.com/tuxpoldo/btsync-deb/issues/182 to get rid of the /mnt line. So now I can navigate to the user folder I want, but it now seems I can't access any of that user's folders. Should I re-install this under that user account? I chose btsync as the user during the initial install.

 

edit2https://www.digitalocean.com/community/tutorials/how-to-use-bittorrent-sync-to-synchronize-directories-in-ubuntu-12-04

sudo mkdir shared_foldersudo chown root:btsync shared_foldersudo chmod 2775 shared_foldersudo usermod -a -G btsync your_user

But I took the easy way and just chmod 777 the individual folders I wanted to sync.

Edited by elevate
Link to comment
Share on other sites

edit: found the config in /etc/btsync-user and I followed https://github.com/tuxpoldo/btsync-deb/issues/182 to get rid of the /mnt line. So now I can navigate to the user folder I want, but it now seems I can't access any of that user's folders. Should I re-install this under that user account? I chose btsync as the user during the initial install.

 

Please check out my answer to that issue here: https://github.com/Silvenga/btsync-deb/issues/3. This will preserve the fix across updates.

 

I would recommend changing the user of btsync to you own user for security and convenience. You can change the user with: dpkg-reconfigure btsync.

 

 

I would not recommend following that particular guide as it references the now legacy btsync 1.2 (https://github.com/Silvenga/btsync-deb/issues/4). Some of the steps are no longer required and might complicate your setup. 

Link to comment
Share on other sites

  • 1 month later...

Hey guys,

Not sure if this discussion has moved elsewhere, if so let me know. It looks like BitTorrent has released v2.3, which brings the encrypted syncs in to the GUI, so we dont have to generate them manually. Is this likely to roll in to the builds we're working with here?

 

Unlikely, given that forum member Tuxpoldo - who created the unofficial builds being discussed here - hasn't been around here now for the best part of a year, and no longer appears to be maintaining this packages.

Link to comment
Share on other sites

  • 2 weeks later...
14 minutes ago, filemoon said:

@Silvenga

Is your repo ok?
"dpkg: warning: files list file for package 'btsync-core' missing; assuming package has no files currently installed"

It should be. I'll take a look when I get back home (I haven't seen anything wrong today). In the meantime, if you can, does reinstalling fix it?

Link to comment
Share on other sites

Thank you for answer.

I have issue to run it on one of my rasbian nas - reinstalling is not fixing the issue.
Installation is completed but when I'm trying to start it is not strting.
I see some "components" are missing btsync-core (binary was not there after installation).
Trying to fix it manually ....

I was able to fix it, I copy missing files from other (working) rasbian - but I think there may be problem with repo.
 

Edited by filemoon
Link to comment
Share on other sites

1 hour ago, filemoon said:

I was able to fix it, I copy missing files from other (working) rasbian - but I think there may be problem with repo.

You were able to install it on another armel machine? That is strange - I've looked over the .debs in my repo and they appear to have been packed correctly - maybe something with Amazon's AWS? Or maybe the local installation went a little wonky (and the wonky was cached by apt-get). Try something like this: http://ubuntuforums.org/showthread.php?t=1558616 to cleanup and force a reinstall?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.