tuxpoldo

Debian And Ubuntu Server Unofficial Packages For Bittorrent Sync

Recommended Posts

So I was tolded to post this here from my last post

 

Blank Web Gui Ubuntu 14.4

Just a recap on my problem.

 

I have a ubuntu 14.4 server, I was playing around with file permissions because I was having permission issues between btsync and SAMBA. After playing around with it I finely changed the umask to 775, this fixed my problem. However so some reason the Web Gui is now broken. When I go to the web gui, I get a password prompt I enter in the password and I get a blank page. I have  rebooted the server, restated btsync, reran the btsyn config. uninstalled and reinstalled btsync. But nothing has worked.

 

Any ideas?

How can I reset everything to default?

Share this post


Link to post
Share on other sites

So I was tolded to post this here from my last post

Blank Web Gui Ubuntu 14.4

Just a recap on my problem.

I have a ubuntu 14.4 server, I was playing around with file permissions because I was having permission issues between btsync and SAMBA. After playing around with it I finely changed the umask to 775, this fixed my problem. However so some reason the Web Gui is now broken. When I go to the web gui, I get a password prompt I enter in the password and I get a blank page. I have rebooted the server, restated btsync, reran the btsyn config. uninstalled and reinstalled btsync. But nothing has worked.

Any ideas?

How can I reset everything to default?

Same blank screen on my Ubuntu 14.04. It's still working as my other bitsync systems connect and work.

Rich

Sent from my Nexus 4 using Tapatalk

Share this post


Link to post
Share on other sites

Same blank screen on my Ubuntu 14.04. It's still working as my other bitsync systems connect and work.

Rich

Sent from my Nexus 4 using Tapatalk

Fixed it by removing bitsync totally and reinstalling version 1.2.92 manually.

Then tried same method with 1.3. Anything above 1.3.94 has the same blank GUI problem.

Rich

Sent from my Nexus 4 using Tapatalk

Share this post


Link to post
Share on other sites

When 1.4.72 will be available for debian servers?

 

I'm currently making a series of compatibility tests. The modularity of the Debian packages implies that the update of btsync-common to 1.4.72 affects the server version, the gui version and the legacy gui version. Before publishing the update I have to make sure, that all dependent packages (btsync, btsync-gui, btsync-gui-gtk and btsync-user) are working properly.

 

Furthermore the specific download locations are still missing, making it impossible to generate/execute a reproducible build script. In addition the GEODE version is also missing...

 

So stay tuned.

Share this post


Link to post
Share on other sites

First of all thanks for the ppa!

I have installed btsync from ppa and fine tuned.

now when I try to backup my android phone camera, on the server Firefox that i have ro update to 1.4 if say i have it, it says that can't open link:

The address wasn't understood

Firefox doesn't know how to open this address, because one of the following protocols (btsync) isn't associated with any program or is not allowed in this context.

anyone can point my in the right direction?

its a problem with version 1.3.x or it can grab links from android phone?

problem of permissions?

sorry for my english and thanks in advance!

Enviado desde mi SM-N9005 mediante Tapatalk

Share this post


Link to post
Share on other sites

Here it is! The long awaited update to 1.4. As usual it will take a few hours for people using the Launchpad PPA. The YeaSoft Repository is available immediately. Have fun!

 

btsync-common (1.4.72-1) unstable; urgency=low  * New upstream release  * Removed special handling for GEODE cpu -- Leo Moll <leo.moll@yeasoft.com>  Sun, 31 Aug 2014 14:28:13 +0200btsync (1.4.0-1) unstable; urgency=low  * Add support for BitTorrent Sync 1.4    - Add support for SSL certificates (Closes #144)    - Add support for folder default settings (Closes #145)  * Fixed storage_path in order to allow sybolic linking (Closes #140)  * Streamlined configuration data between configuration file and    Web UI (Closes #142)  * Removed deprecated setting lan_use_tcp (Closes #143) -- Leo Moll <leo.moll@yeasoft.com>  Mon, 01 Sep 2014 12:00:00 +0200

Share this post


Link to post
Share on other sites

Having trouble installing new btsync:

sudo aptitude install btsyncThe following NEW packages will be installed:  btsync btsync-common{a}0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.Need to get 5,661 kB of archives. After unpacking 8,570 kB will be used.Do you want to continue? [Y/n/?] yGet: 1 http://debian.yeasoft.net/btsync/ wheezy/main btsync-common amd64 1.4.72-1 [5,586 kB]Get: 2 http://debian.yeasoft.net/btsync/ wheezy/main btsync all 1.4.0-1 [75.0 kB]Fetched 5,661 kB in 3s (1,464 kB/s)Preconfiguring packages ...Selecting previously unselected package btsync-common.(Reading database ... 38898 files and directories currently installed.)Unpacking btsync-common (from .../btsync-common_1.4.72-1_amd64.deb) ...Selecting previously unselected package btsync.Unpacking btsync (from .../btsync_1.4.0-1_all.deb) ...Setting up btsync-common (1.4.72-1) ...Setting up btsync (1.4.0-1) ...dpkg: error processing btsync (--configure): subprocess installed post-installation script returned error exit status 1Errors were encountered while processing: btsyncE: Sub-process /usr/bin/dpkg returned an error code (1)A package failed to install.  Trying to recover:Setting up btsync (1.4.0-1) ...dpkg: error processing btsync (--configure): subprocess installed post-installation script returned error exit status 1Errors were encountered while processing: btsync

Share this post


Link to post
Share on other sites

Can you please tell me which exact Distribution you are using?

Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.60-1+deb7u3

Share this post


Link to post
Share on other sites

I had the same problem. Are you using default configuration, or a self created configuration file? For me using the default configuration fixed the "problem"

Share this post


Link to post
Share on other sites

I had the same problem. Are you using default configuration, or a self created configuration file? For me using the default configuration fixed the "problem"

 

Thank you! I was able to reproduce the problem. The fix will be released in a few minutes. See Issue #147 for more details.

Share this post


Link to post
Share on other sites

I had the same problem. Are you using default configuration, or a self created configuration file? For me using the default configuration fixed the "problem"

I tried upgrading with self created configuration file but failed. Moved my configuration to backup place, tried to install from scratch but also failed. Let's hope that tuxpoldo's fix will work.

Share this post


Link to post
Share on other sites

Fixed. Update available on YeaSoft's repository. Launchpad PPA, as usually, will take a few hours to update.

 

btsync (1.4.0-2) unstable; urgency=low  * Fixed installation error on systems with no configured    default instance (Closes #147) -- Leo Moll <leo.moll@yeasoft.com>  Tue, 02 Sep 2014 12:41:13 +0200

Share this post


Link to post
Share on other sites

Something weird happens now:

~$ sudo aptitude install btsyncThe following NEW packages will be installed:  btsync btsync-common{a}0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.Need to get 0 B/5,661 kB of archives. After unpacking 8,570 kB will be used.Do you want to continue? [Y/n/?] yPreconfiguring packages ...Selecting previously unselected package btsync-common.(Reading database ... 38899 files and directories currently installed.)Unpacking btsync-common (from .../btsync-common_1.4.72-1_amd64.deb) ...Selecting previously unselected package btsync.Unpacking btsync (from .../btsync_1.4.0-2_all.deb) ...Setting up btsync-common (1.4.72-1) ...Setting up btsync (1.4.0-2) ...

I have to manually run sudo dpkg-reconfigure btsync and then there is nothing:

sudo /etc/init.d/btsync startsudo: /etc/init.d/btsync: command not found

Share this post


Link to post
Share on other sites

??? Try this:

dpkg -l btsyncls -la /etc/init.d/btsync

and show me the output. This is really weird. Why you had to manually run dpkg-reconfigure?

Share this post


Link to post
Share on other sites
@btsync:~$ dpkg -l btsyncDesired=Unknown/Install/Remove/Purge/Hold| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)||/ Name                               Version                Architecture           Description+++-==================================-======================-======================-=========================================================================ii  btsync                             1.4.0-2                all                    Private network P2P file synchronisation daemon(s)
@btsync:~$ ls -la /etc/init.d/btsyncls: cannot access /etc/init.d/btsync: No such file or directory

I have to manually run it because it doesn't start itself. AFAIR it was after new install.

 

May be there is a way to clean all the traces of btsync and install it as new?

Share this post


Link to post
Share on other sites

...

@btsync:~$ ls -la /etc/init.d/btsyncls: cannot access /etc/init.d/btsync: No such file or directory
I have to manually run it because it doesn't start itself. AFAIR it was after new install.
 

This is really weird! I do not understand, why the startup file is not there. Can you please check

 

sudo ls -la /etc/init.d
p.S.: You can try to remove btsync and reinstall it:

 

sudo apt-get -y remove btsyncsudo apt-get -y install btsync
It's better not to use --purge, since it would kill /etc/btsync (with your configuration files) and /var/lib/btsync (which may contain a valid configuration).

p.p.S.: If it was a new install and you do not risk to lose anything, you can also purge the old installation:

sudo apt-get --yes ---purge remove btsyncsudo apt-get --yes ---purge autoremovesudo apt-get --yes install btsync
Edited by tuxpoldo

Share this post


Link to post
Share on other sites
@btsync:~$ ls -la /etc/init.dtotal 332drwxr-xr-x  2 root root  4096 Sep  2 15:53 .drwxr-xr-x 87 root root  4096 Sep  2 15:53 ..-rwxr-xr-x  1 root root  2227 Apr 16  2013 acpid-rwxr-xr-x  1 root root  2554 Aug  4  2012 amule-daemon-rwxr-xr-x  1 root root  1071 Jun 25  2011 atd-rwxr-xr-x  1 root root  1276 Oct 15  2012 bootlogs-rwxr-xr-x  1 root root  1281 Jul 14  2013 bootmisc.sh-rwxr-xr-x  1 root root  3816 Jul 14  2013 checkfs.sh-rwxr-xr-x  1 root root  1099 Jul 14  2013 checkroot-bootclean.sh-rwxr-xr-x  1 root root  9673 Jul 14  2013 checkroot.sh-rwxr-xr-x  1 root root  1379 Dec  9  2011 console-setup-rwxr-xr-x  1 root root  3033 Jul  4  2012 cron-rwxr-xr-x  1 root root  2832 Jun 12  2013 dbus-rw-r--r--  1 root root  1759 Aug 11 08:59 .depend.boot-rw-r--r--  1 root root   808 Aug 11 08:59 .depend.start-rw-r--r--  1 root root   834 Aug 11 08:59 .depend.stop-rwxr-xr-x  1 root root  6435 Jan  2  2013 exim4-rwxr-xr-x  1 root root  6307 Jun 12  2013 fail2ban-rwxr-xr-x  1 root root  1329 Oct 15  2012 halt-rwxr-xr-x  1 root root  1423 Oct 15  2012 hostname.sh-rwxr-xr-x  1 root root  3880 Dec 11  2012 hwclock.sh-rwxr-xr-x  1 root root  7592 Apr 28  2012 kbd-rwxr-xr-x  1 root root  1591 Oct  1  2012 keyboard-setup-rwxr-xr-x  1 root root  1293 Oct 15  2012 killprocs-rwxr-xr-x  1 root root  1990 May 21  2012 kmod-rwxr-xr-x  1 root root  2528 Feb 17  2012 minissdpd-rwxr-xr-x  1 root root   995 Oct 15  2012 motd-rwxr-xr-x  1 root root   670 Feb 24  2013 mountall-bootclean.sh-rwxr-xr-x  1 root root  2128 Feb 24  2013 mountall.sh-rwxr-xr-x  1 root root  1508 Jul 14  2013 mountdevsubfs.sh-rwxr-xr-x  1 root root  1413 Jul 14  2013 mountkernfs.sh-rwxr-xr-x  1 root root   678 Feb 24  2013 mountnfs-bootclean.sh-rwxr-xr-x  1 root root  2440 Oct 15  2012 mountnfs.sh-rwxr-xr-x  1 root root  1731 Jul 14  2013 mtab.sh-rwxr-xr-x  1 root root  4322 Mar 14  2013 networking-rwxr-xr-x  1 root root  6491 May 11  2013 nfs-common-rwxr-xr-x  1 root root  1814 Dec 26  2009 ntp-rwxr-xr-x  1 root root  1346 May 20  2012 procps-rwxr-xr-x  1 root root  6120 Oct 15  2012 rc-rwxr-xr-x  1 root root   782 Oct 15  2012 rc.local-rwxr-xr-x  1 root root   117 Oct 15  2012 rcS-rw-r--r--  1 root root  2427 Oct 15  2012 README-rwxr-xr-x  1 root root   639 Oct 15  2012 reboot-rwxr-xr-x  1 root root  1074 Jul 14  2013 rmnologin-rwxr-xr-x  1 root root  2344 Jun 15  2012 rpcbind-rwxr-xr-x  1 root root  3054 Mar  6  2013 rsyslog-rwxr-xr-x  1 root root  3023 Aug 15  2013 samba-rwxr-xr-x  1 root root  1163 Sep 16  2012 screen-cleanup-rwxr-xr-x  1 root root  3200 Oct 15  2012 sendsigs-rwxr-xr-x  1 root root   590 Oct 15  2012 single-rw-r--r--  1 root root  4290 Oct 15  2012 skeleton-rwxr-xr-x  1 root root  3881 Feb  9  2013 ssh-rwxr-xr-x  1 root root   714 Jun 28  2012 sudo-rwxr-xr-x  1 root root  1906 May 28  2012 transmission-daemon-rwxr-xr-x  1 root root  8827 Nov  9  2012 udev-rwxr-xr-x  1 root root  1179 Aug 20  2012 udev-mtab-rwxr-xr-x  1 root root  2721 Apr 10  2013 umountfs-rwxr-xr-x  1 root root  2195 Apr 10  2013 umountnfs.sh-rwxr-xr-x  1 root root  1122 Oct 15  2012 umountroot-rwxr-xr-x  1 root root  3111 Oct 15  2012 urandom-rwxr-xr-x  1 root root 40372 Mar 19 01:02 vmware-tools-rwxr-xr-x  1 root root  1369 Apr 13 22:34 winbind-rwxr-xr-x  1 root root  2666 Mar  3  2012 x11-common

reinstall:

btsync:~$ sudo apt-get -y remove btsync[sudo] password for root:Reading package lists... DoneBuilding dependency treeReading state information... DoneThe following package was automatically installed and is no longer required:  btsync-commonUse 'apt-get autoremove' to remove it.The following packages will be REMOVED:  btsync0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.After this operation, 283 kB disk space will be freed.(Reading database ... 38925 files and directories currently installed.)Removing btsync ...@btsync:~$ sudo apt-get -y install btsyncReading package lists... DoneBuilding dependency treeReading state information... DoneSuggested packages:  bind-shimThe following NEW packages will be installed:  btsync0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Need to get 0 B/75.1 kB of archives.After this operation, 283 kB of additional disk space will be used.Preconfiguring packages ...Selecting previously unselected package btsync.(Reading database ... 38909 files and directories currently installed.)Unpacking btsync (from .../btsync_1.4.0-2_all.deb) ...Setting up btsync (1.4.0-2) ...@btsync:~$ ls -la /etc/init.d/bls: cannot access /etc/init.d/b: No such file or directory@btsync:~$ ls -la /etc/init.d/b*-rwxr-xr-x 1 root root 1276 Oct 15  2012 /etc/init.d/bootlogs-rwxr-xr-x 1 root root 1281 Jul 14  2013 /etc/init.d/bootmisc.sh

Share this post


Link to post
Share on other sites

I don't know if that's the right place to ask but I can't open links for android backups on the server, Firefox says that unknown protocol and i searched and can't find a valid solution.

How can I set firefox to "know" the protocol? any other solution?

Can backups be set without webui interaction?

Any other sync are working ok.

Thanks in advance and sorry for any inconvenience.

Enviado desde mi SM-N9005 mediante Tapatalk

Share this post


Link to post
Share on other sites
@btsync:~$ ls -la /etc/init.d...Selecting previously unselected package btsync.(Reading database ... 38909 files and directories currently installed.)Unpacking btsync (from .../btsync_1.4.0-2_all.deb) ...Setting up btsync (1.4.0-2) ...@btsync:~$ ls -la /etc/init.d/bls: cannot access /etc/init.d/b: No such file or directory@btsync:~$ ls -la /etc/init.d/b*-rwxr-xr-x 1 root root 1276 Oct 15  2012 /etc/init.d/bootlogs-rwxr-xr-x 1 root root 1281 Jul 14  2013 /etc/init.d/bootmisc.sh

Try this:

dpkg -L btsyncsudo ls -la /etc/init.d/b*

Share this post


Link to post
Share on other sites

I don't know if that's the right place to ask but I can't open links for android backups on the server, [...]

 

You have to send the link from Android to your PC (for example via email) and then paste it under "Options --> Enter a key or link"

Share this post


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