tuxpoldo

Debian And Ubuntu Server Unofficial Packages For Bittorrent Sync

Recommended Posts

Oh, searched for that, but didn't found it, you should mention that in the start post.

 

The experimental repository is very unofficial  :P

 

The 1.4.75 is now available in the experimental repository.

Edited by tuxpoldo

Share this post


Link to post
Share on other sites

OK - Here it comes. Execute the following commands:

`which sudo` apt-key adv --keyserver keys.gnupg.net --recv-keys 6BF18B15echo deb http://debian.yeasoft.net/btsync13 stable main > ~/btsync.listecho deb-src http://debian.yeasoft.net/btsync13 stable main >> ~/btsync.list`which sudo` mv ~/btsync.list /etc/apt/sources.list.d/btsync.list`which sudo` chown root:root /etc/apt/sources.list.d/btsync.list`which sudo` apt-get update

Please keep in mind, that the internal database of 1.4 is not compatible with 1.3. If you want to revert, you have to start from scratch. uninstall 1.4, remove all internal databases (like the one in /var/lib/btsync) and reinstall everything with the new repository.

 

Thanks Tuxpoldo! Working perfectly :)

Share this post


Link to post
Share on other sites

Thanks Tuxpoldo! Working perfectly :)

 

Ahem.... There was a bug in my howto (I fixed it in the original message). The reason it works, is that I have released 1.4.75 in the meantime. It should not be stable but experimental. Sorry.

Share this post


Link to post
Share on other sites

New version! Enjoy!

 

btsync (1.4.0-3) unstable; urgency=low  * Added debconf support for new advanced settings (Closes #150)    - folder_defaults.known_hosts    - peer_expiration_days    - directory_root  * Fixed broken Simplified Chinese translation (Closes #152)  * Fixed and improved service stop behaviour (Closes #149) -- Leo Moll <leo.moll@yeasoft.com>  Tue, 04 Sep 2014 22:58:10 +0200

Share this post


Link to post
Share on other sites
btsync (1.4.0-3) unstable; urgency=low  * Added debconf support for new advanced settings (Closes #150)    - folder_defaults.known_hosts

 

Thanks for your work! Why doesn't it allow to input hostnames?

Share this post


Link to post
Share on other sites

Thanks for your work! Why doesn't it allow to input hostnames?

 

The reason stays in the official documentation: "Default setting for folder preference "Use predefined hosts". Hosts should be entered as single line of IP:port pairs comma-separated (no other delimiters allowed)."

 

It is true, that BitTorrent Sync accepts anything in the string and continues working. But I suppose that BitTorrent Sync ignores anything it does not understand. I asked the support, if hostnames work as expected (that means: BitTorrent Sync has to periodically resolve them via DNS since the IP address could have changed).

 

Let's wait for the answer.

 

UPDATE: I got an answer from Roman:

 

It should accept DNS names as well. We request DNS names for predefined hosts once per minute, so DynDNS should work fine. I'll update documentation.

 

 

I will remove the number filter in the next release. See Issue #156

Edited by tuxpoldo

Share this post


Link to post
Share on other sites

New version! Enjoy!

 

btsync (1.4.0-4) unstable; urgency=high  * Fixed folder_defaults.known_hosts filter (Closes #156) -- Leo Moll <leo.moll@yeasoft.com>  Fri, 05 Sep 2014 14:56:23 +0200

Share this post


Link to post
Share on other sites

New version! Enjoy!

 

btsync (1.4.0-4) unstable; urgency=high  * Fixed folder_defaults.known_hosts filter (Closes #156) -- Leo Moll <leo.moll@yeasoft.com>  Fri, 05 Sep 2014 14:56:23 +0200

Thank you.

 

My question is:

What is the best way to update to 1.4.0-4 on Debian Wheezy?

 

I'm already on the latest 1.3.x but I want to upgrade. Not sure what is the best way...

Share this post


Link to post
Share on other sites

What is the best way to update to 1.4.0-4 on Debian Wheezy?

I'm already on the latest 1.3.x but I want to upgrade. Not sure what is the best way...

sudo apt-get upgrade

:)  

Share this post


Link to post
Share on other sites

Hi, I followed the guide:

http://www.yeasoft.com/site/projects:btsync-deb:btsync-server

 

And installed rasbian, used SSH to install btsync successfully on a Raspberry Pi. When I go to the webui: raspberrypi:port, I first receive a Firefox warning about the certificate, thats OK, but after adding an exception, it is loading and waiting forever. Nothing really loads. I do see the url changed to ipaddress:portnumber/gui but nothing else.

 

SSH works fine, but when I use Cyberduck to SFTP into my raspberry it also just loads forever. It seems something is not configured yet but I don't know what.

I logged into my router, assigned an IP address to the raspberry and even opened the port for the webui in my router. I rebooted the RPi after doing this and I can still SSH into the RPI using the new IP address.

 

No idea in what direction to look for the issue now.

Share this post


Link to post
Share on other sites

Could it be a firewall issue? Had the same problems as you describe (loading forever). After changing firewall rules everything was working.

Share this post


Link to post
Share on other sites

I'll disable the firewall in the router, still have the issue. No firewall installed on the pc.

SFTP is fixed: I used rasbian config to change hostname, but the hosts file was not updated, only hostname file. Thats fixed now.

 

Somehow I do see the BTSync user creation page in an old tab that I tested, but it doesn't work anymore.

Decided to try the same on my phone and I could access the webui! just not on my laptop :(

 

edit: I completely cleared cache and everything of Firefox and Chrome and I got the login page, after logging in, still have the forever waiting issue. Will now reboot everything: router, raspberry, laptop and try again.

 

another question: I get the possibility to create instances. But how to 'users' relate to instances? Can 1 instance have multiple users? Can each user have its own folder?

Share this post


Link to post
Share on other sites

Somehow I do see the BTSync user creation page in an old tab that I tested, but it doesn't work anymore.

Decided to try the same on my phone and I could access the webui! just not on my laptop :(

 

edit: I completely cleared cache and everything of Firefox and Chrome and I got the login page, after logging in, still have the forever waiting issue. Will now reboot everything: router, raspberry, laptop and try again.

 

another question: I get the possibility to create instances. But how to 'users' relate to instances? Can 1 instance have multiple users? Can each user have its own folder?

 

Question: was it an update or a brand new installation?

 

Instances: An instance is a running BitTorrent Sync process. Since BitTorrent Sync is not designed as a multiuser application, the process runs under exactly the credentials of one single user. The default instance is maintained by Debconf and you can select during the installation under which Linux users it should run.

 

If you want to run multiple instances, you have to manually maintain configuration files for every instance. Every Instance can be bound to specific Linux users.

Share this post


Link to post
Share on other sites

Just discovered my router is actually connected to another router, not directly to the internet. Im in a shared office here.

I added the Raspberry to the DMZ of my router and it works flawlessly now.


Question: was it an update or a brand new installation?

 

Instances: An instance is a running BitTorrent Sync process. Since BitTorrent Sync is not designed as a multiuser application, the process runs under exactly the credentials of one single user. The default instance is maintained by Debconf and you can select during the installation under which Linux users it should run.

 

If you want to run multiple instances, you have to manually maintain configuration files for every instance. Every Instance can be bound to specific Linux users.

 

Thanks for explaining. Since I had to create a user in the webui to continue, I just wondered why that was, seems like you could log out and log in as another user. I didn't mean linux users actually.

Share this post


Link to post
Share on other sites

Hi, I followed the guide:

http://www.yeasoft.com/site/projects:btsync-deb:btsync-server

 

And installed rasbian, used SSH to install btsync successfully on a Raspberry Pi. When I go to the webui: raspberrypi:port, I first receive a Firefox warning about the certificate, thats OK, but after adding an exception, it is loading and waiting forever. Nothing really loads. I do see the url changed to ipaddress:portnumber/gui but nothing else.

 

SSH works fine, but when I use Cyberduck to SFTP into my raspberry it also just loads forever. It seems something is not configured yet but I don't know what.

I logged into my router, assigned an IP address to the raspberry and even opened the port for the webui in my router. I rebooted the RPi after doing this and I can still SSH into the RPI using the new IP address.

 

No idea in what direction to look for the issue now.

 

Hi tuxpoldo! Been a while since I've been here... have been loving your btsync package.

 

Having the same issue as the user above... when SSL is enabled for the WebUI, the connection never seems to complete (after accepting the self-signed cert). Just keeps 'loading'. Turning off SSL using dpkg-reconfigure gets it working again, but ultimately I'd like to use SSL.

 

I'm (also) using a raspberry pi, running raspbmc (or soon to be known as OSMC).

Share this post


Link to post
Share on other sites

@WebAsh, I was behind 2 routers, which is always bad. Are you also behind 2 routers? If so, add your computer to the DMZ of your first router. uPNP should take care of port forwarding in the second router. This fixed it. I also use SSL and have no issues anymore.

Share this post


Link to post
Share on other sites

@WebAsh

Forever loading is most likely a firewall issue. Especially if non SSL is working and SSL isn't. Maybe port 443 is blocked or something like that. 

 

Anyway adding your raspberry (temporary) to DMZ would at least point out if it's a firewall configuration issue or something else.

Share this post


Link to post
Share on other sites

I have been searching the official btsync site, still doesn't really make sense to me why you need to create a user when you use the webui for the first time since it is not meant as multi user setup. Only way to do this is by creating instances, right?

Share this post


Link to post
Share on other sites

I think the main reason for creating a user is to password protect the webinterface. It looks like this is done via .htaccess file which works with a username : password combination. 

 

Multiuser support could be achieved with instances only as far as I know.

Share this post


Link to post
Share on other sites

@WebAsh

Forever loading is most likely a firewall issue. Especially if non SSL is working and SSL isn't. Maybe port 443 is blocked or something like that. 

 

Anyway adding your raspberry (temporary) to DMZ would at least point out if it's a firewall configuration issue or something else.

 

No, this isn't the case. It does it for me even when I am on the same network as the Raspberry Pi. Additionally, the custom port of 8888 is remaining, so HTTPS/SSL is operating via this port - nothing to do with Port 443.

 

I've now seen this issue on three completely different Raspberry Pi units - two running RaspBMC/OSMC and the third running Raspbian.

Share this post


Link to post
Share on other sites

No, this isn't the case. It does it for me even when I am on the same network as the Raspberry Pi. Additionally, the custom port of 8888 is remaining, so HTTPS/SSL is operating via this port - nothing to do with Port 443.

 

I've now seen this issue on three completely different Raspberry Pi units - two running RaspBMC/OSMC and the third running Raspbian.

 

I can confirm this. HTTPS is not working, also when i trust the self signed certificate on the client. Keeps loading...

HTTP works well.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.