Dersch

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Dersch

  1. Yes, but already before it was too big. But with the new release it is not usefull anymore. So now i decided to delete btsync completely because it is not worthfull to stick to it in this condition. I will step back to older version or to completely another programm for syncing my backups between my servers.

    I used btsync  now for about 2 years but it's ressource need is bigger and bigger which is not good for background syncing.

  2. Hi,

    i was wondering why one of my server told me his 100 % rootfs. It is a very light installation of ubuntu server.

    So i researched the reason and found Btsync as the bad guy. I have 2 other btsync installation and found the same symptom there.

    The /var/lib/btsync is messing up the rootfs and i got more than 10g there! Why? That's not common in linux to mess up the rootfs with a small programm.

    I found it on my raspberry as well. There  was more than 2,4g antoher installation had 8,5g occupied space by BTsync.

    So why there are such big db files saved in /var/lib/btsync? Why is there no clean up of them? the db are getting bigger and bigger and will break down any system in the future.

    What is the workaround for that issue?

    br

    DIrk

  3. First of all please think about that Tuxpoldo did that for the community and within his free time. He does not have any commercial connection to Bittorrent. So i'm very thankfull to use his repo as i started with BTsync. Of course it would be nice to have the latest update but on the other hand i don't expect Tuxpoldo to update it frequently if i consider the background if his work.

     

    On the other hand i'm asking me why Bittorrent does not do that job and release an official repo? They should be interested in it to support the community and taking care that everybody can update his BTsync on time.

     

    So why not asking Bittorrent to create an repo to support us?

  4. Please try to see what error is thrown when btsync is launched manually. First you have know under which user btsync runs (you have specified it when installing btsync). Then execute the following command:

    sudo -u <USERNAME> /usr/lib/btsync-core/btsync-core --nodaemon --config /etc/btsync/debconf-default.conf

    where <USERNAME> is the user under which btsync will run.

     

    Hi tuxpoldo,

     

    i get this:

    sudo -u pi /usr/lib/btsync-core/btsync-core --nodaemon --config /etc/btsync/debconf-default.conf[07:26:16.084] Can't open file /var/lib/btsync//debug.txt with mode 0 permissions 666 - 2 Datei oder Verzeichnis nicht gefundenBy using this application, you agree to our Privacy Policy, Terms of Use and End User License Agreement.http://www.bittorrent.com/legal/privacyhttp://www.bittorrent.com/legal/terms-of-usehttp://www.bittorrent.com/legal/eula[20150320 07:26:16.159] total physical memory -1 max disk cache 2097152[20150320 07:26:16.172] Can't open file /usr/lib/btsync-core/btsync-core.lang.txt with mode 0 permissions 666 - 2 Datei oder Verzeichnis nicht gefunden[20150320 07:26:16.175] Using IP address 192.168.10.4[20150320 07:26:16.192] Found config file of prev major version of sync: 1, will try to create settings backup[20150320 07:26:16.195] Will backup file E92B31A83AEBAA8788BC66082F2371571E1851E5.db[20150320 07:26:16.196] Will backup file 64B8D026BEE6E1D67984C90ADEAAF88111E9FF9A.db-wal[20150320 07:26:16.197] Will backup file 64B8D026BEE6E1D67984C90ADEAAF88111E9FF9A.db[20150320 07:26:16.199] Will backup file FCAB4EBB6D6E94ED6712C7F287F69F7199411275.db[20150320 07:26:16.200] Will backup file 5B634F00954FD1EA22A2D18B747D94A1721E978A.db[20150320 07:26:16.201] Will backup file sync.dat[20150320 07:26:16.202] Will backup file 99D7A4EB2B13E29899A1D7ED7335E80494BD883E.db[20150320 07:26:16.203] Will backup file settings.dat[20150320 07:26:16.204] Will backup file 64B8D026BEE6E1D67984C90ADEAAF88111E9FF9A.db-shm[20150320 07:26:16.205] Will backup file 76769357F7731C91FBB911152C90C4DA1062A9DE.db[20150320 07:26:16.206] Will backup file 4522199B880A9384F2FB95806D37C1DB7CC1449D.db[20150320 07:26:16.208] Not enough free space on disk to backup settings, free: 139591680 needed: 793059997

    Is the last entry "not enough free space on disk..." the main problem?

     

    Seems lot's of things are different now with 2.0. With 1.4 i had not that problem even the SD card is almost full of the PI.

     

    regards

    Dirk

     

    EDIT: yes it was the problem. My rootfs was 93% full. Now i cleaned it up and because of log files and with apt-get clean i could get more free space (73% full) actually. Now btsync is running!

  5. I have updated my 2 btsync devices to 2.0.85. My Ubuntu 14.04 is running normally after the upgrade but my rasp having problems since the upgrade and btsync does not run anymore. Any idea how to fix it?

    Möchten Sie fortfahren [J/n]? jVorkonfiguration der Pakete ...Vormals nicht ausgewähltes Paket btsync-core wird gewählt.(Lese Datenbank ... 81863 Dateien und Verzeichnisse sind derzeit installiert.)Entpacken von btsync-core (aus .../btsync-core_2.0.85-1_armhf.deb) ...Vormals nicht ausgewähltes Paket btsync wird gewählt.Entpacken von btsync (aus .../btsync_2.0.0-2_all.deb) ...Trigger für hicolor-icon-theme werden verarbeitet ...btsync-core (2.0.85-1) wird eingerichtet ...btsync (2.0.0-2) wird eingerichtet ...[....] Autostarting btsync instance 'debconf-default':[....] Failed to start btsync instance debconf-default - please check the configuration file /et      [FAILync/debconf-default.conf ... failed!pi@raspberrypi ~ $ sudo dpkg-reconfigure btsync[....] Stopping btsync instance 'debconf-default':start-stop-daemon: warning: failed to kill 7131: No such process[FAIL] Failed to stop btsync instance debconf-default ... failed![....] Autostarting btsync instance 'debconf-default':[....] Failed to start btsync instance debconf-default - please check the configuration file /etc/btsy[FAILbconf-default.conf ... failed!
  6. @Dersch

    Okay, the output says that BTSync is not running and no one occupies its WebUI port. When issue happens, could you please try to stop your BTSync manually (killall btsync) and start it also manually not as service?

    Hi Roman,

    if i enter killall btsync i get the message no process found.

    Can you give me some commands? I'm not that Linux pro. And many thanks for your help! :)

  7. @Dersch

    Some questions and things to check:

    1. Which previous version you were using?

    2. please execute next commands and supply me with their output:

    ps -eo vsz,cmdnetstat -npt4
    3. When you restart btsync - which command do you use? how do you know that it actually does not restart?

    4. Did you try to force-kill btsync (kill -9)?

    Thanks!

    1. Don't remember exactly but it was the previous before 106.

    2.Linux raspberrypi 3.12.22+ #691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l

    pi@raspberrypi ~ $ ps -eo vsz,cmd

    VSZ CMD

    2148 init [2]

    0 [kthreadd]

    0 [ksoftirqd/0]

    0 [kworker/0:0H]

    0 [rcu_preempt]

    0 [rcu_bh]

    0 [rcu_sched]

    0 [khelper]

    0 [kdevtmpfs]

    0 [netns]

    0 [writeback]

    0 [bioset]

    0 [crypto]

    0 [kblockd]

    0 [khubd]

    0 [rpciod]

    0 [khungtaskd]

    0 [kswapd0]

    0 [fsnotify_mark]

    0 [nfsiod]

    0 [kthrotld]

    0 [VCHIQ-0]

    0 [VCHIQr-0]

    0 [VCHIQs-0]

    0 [iscsi_eh]

    0 [dwc_otg]

    0 [DWC Notificatio]

    0 [deferwq]

    0 [kworker/u2:2]

    0 [mmcqd/0]

    0 [jbd2/mmcblk0p6-]

    0 [ext4-rsv-conver]

    2888 udevd --daemon

    2884 udevd --daemon

    2884 udevd --daemon

    1752 /usr/sbin/ifplugd -i eth0 -q -f -u0 -d10 -w -I

    1752 /usr/sbin/ifplugd -i lo -q -f -u0 -d10 -w -I

    0 [cifsiod]

    0 [cifsd]

    27976 /usr/sbin/rsyslogd -c5

    39112 /usr/sbin/apache2 -k start

    39136 /usr/sbin/apache2 -k start

    3828 /usr/sbin/cron

    39136 /usr/sbin/apache2 -k start

    39136 /usr/sbin/apache2 -k start

    39136 /usr/sbin/apache2 -k start

    39136 /usr/sbin/apache2 -k start

    3180 /usr/bin/dbus-daemon --system

    7292 ddclient - sleeping for 250 seconds

    1760 /bin/sh /usr/bin/mysqld_safe

    316532 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir= 1852 logger -t mysqld -p daemon.error

    5384 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -c /var/lib/ntp/ntp.conf.dhcp - 6216 /usr/sbin/sshd

    2020 /usr/sbin/thd --daemon --triggers /etc/triggerhappy/triggers.d/ --sock 2352 /usr/sbin/vnstatd -d

    46508 /usr/bin/minidlna -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid

    3748 /sbin/getty --noclear 38400 tty1

    3748 /sbin/getty 38400 tty2

    3748 /sbin/getty 38400 tty3

    3748 /sbin/getty 38400 tty4

    3748 /sbin/getty 38400 tty5

    3748 /sbin/getty 38400 tty6

    2068 /sbin/getty -L ttyAMA0 115200 vt100

    0 [kworker/0:1H]

    0 [kworker/0:0]

    0 [kworker/0:2]

    0 [kworker/u2:0]

    9260 sshd: pi [priv]

    9392 sshd: pi@pts/0

    6360 -bash

    4140 ps -eo vsz,cmd

    pi@raspberrypi ~ $ sudo netstat -npt4

    Aktive Internetverbindungen (ohne Server)

    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name

    tcp 0 224 192.168.10.4:1025 82.113.98.107:48026 VERBUNDEN 6337/sshd: pi [priv

    tcp 0 0 192.168.10.4:59110 192.168.10.5:445 VERBUNDEN -

    tcp 0 0 192.168.10.4:1025 89.204.137.112:13265 VERBUNDEN 6065/sshd: pi [priv

    pi@raspberrypi ~ $

    3.

    pi@raspberrypi ~ $ sudo service btsync restart

    [....] Stopping btsync instance 'debconf-default':[....] Failed to stop btsyn[FAILtance debconf-default ... failed!

    [ ok ] Autostarting btsync instance 'debconf-default':.

    pi@raspberrypi ~ $

    4. No

  8. @Dersch

    Can you please explain why you have to reboot RPI? What happens if you do not reboot?

    It hangs on. My Android APP does not connect as well as the btsync service of my server and the Webinterface does not reply. If i restart the btsync service via terminal it cant stop the service but starts it. But then nothing happens again. I habe to reboot the rasp. The btsync service in the rasp is the only one for 24/7 run. My other Linux storage Server with btsync will just be startet if i need it. So his services are always fresh started. I cant geht the reason why the btsync service on the rasp is unable to run 24/7 after the update.

  9. Hi guys, i have a new issue since updating my Linux Sync to 106. I have a Linux Server with sync and a Raspberry with my nas mounted. The rasp has sync 24/7 running but the nas and the Server are not always on. Since 106 the sync instance on the rasp has to be rebooted once a day. I'm not sure what happened but its very anoying. With the old version oft sync it always worked very stable! How can i log it and what are exactly the changes of 106?