i installed URServer Software on my Rasperian Pi 3
using the follwing package urbackup-server_2.0.33_armhf.deb
I installed the Clients on 3 different machines, inital File-Backups worked well, but now the Server keeps crashing and i have to restart it.
Here ist the log-File Output:
`
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/urbackup.js
2016-09-08 13:25:19: Sending file “/usr/share/urbackup/www/js/md5.js”
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/md5.js
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/md5.js done
2016-09-08 13:25:19: Sending file “/usr/share/urbackup/www/js/sjcl.js”
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/sjcl.js
2016-09-08 13:25:19: Sending file “/usr/share/urbackup/www/js/translation.js”
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/translation.js
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/sjcl.js done
2016-09-08 13:25:19: Sending file “/usr/share/urbackup/www/js/nprogress.js”
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/nprogress.js
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/nprogress.js done
2016-09-08 13:25:19: Sending file “/usr/share/urbackup/www/js/jquery.base64.min.js”
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/jquery.base64.min.js
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/jquery.base64.min.js done
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/templates.js done
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/urbackup.js done
2016-09-08 13:25:19: Sending file “/usr/share/urbackup/www/css/urbackup_extra.css”
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/css/urbackup_extra.css
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/css/urbackup_extra.css done
2016-09-08 13:25:19: Sending file “/usr/share/urbackup/www/images/urbackup.png”
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/images/urbackup.png
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/images/urbackup.png done
2016-09-08 13:25:19: Sending file: /usr/share/urbackup/www/js/translation.js done
2016-09-08 13:28:01: New Backupclient: thomashsmacbook.fritz.box
2016-09-08 13:28:11: Connection broken: Sending Identity to client “thomashsmacbook.fritz.box” failed. Retrying soon…
2016-09-08 13:29:24: WARNING: Restarting shadow copy of C:\ because it was started by this server
2016-09-08 13:29:24: Scanning for changed hard links on volume of “Daten”…
2016-09-08 13:29:24: Indexing of “Daten” done. 1 filesystem lookups 147 db lookups and 0 db updates
2016-09-08 13:29:24: DESKTOP-B2MA34Q: Doing backup with hashed transfer…
2016-09-08 13:29:24: DESKTOP-B2MA34Q: Connecting to client…
2016-09-08 13:29:24: DESKTOP-B2MA34Q: Loading file list…
2016-09-08 13:29:24: Flushing FileClient…
2016-09-08 13:30:14: Socket has error: 113
2016-09-08 13:30:14: Connecting to ClientService of “thomashsmacbook.fritz.box” failed: Sending Identity to client “thomashsmacbook.fritz.box” failed. Retrying soon…
2016-09-08 13:30:24: Loading “urbackup/filelist.ub”. 73% finished 386.828 KB/525.695 KB at 52.296 KBit/s
2016-09-08 13:30:45: DESKTOP-B2MA34Q Starting incremental backup…
2016-09-08 13:30:45: DESKTOP-B2MA34Q: Calculating file tree differences…
***************** CRASH HERE ****************
2016-09-09 10:36:56: Starting HTTP-Server on port 55414
2016-09-09 10:36:56: HTTP: Server started up successfully!
2016-09-09 10:36:56: SQLite: recovered 16 frames from WAL file /var/urbackup/backup_server.db-wal code: 283
2016-09-09 10:36:56: SQLite: recovered 1 frames from WAL file /var/urbackup/backup_server_link_journal.db-wal code: 283
2016-09-09 10:36:56: SQLite: recovered 4 frames from WAL file /var/urbackup/backup_server_settings.db-wal code: 283
2016-09-09 10:37:02: Started UrBackup…
2016-09-09 10:37:02: Removing temporary files…
2016-09-09 10:37:02: Recreating temporary folder…
2016-09-09 10:37:02: Testing if backup destination can handle subvolumes and snapshots…
2016-09-09 10:37:02: Backup destination cannot handle subvolumes and snapshots. Snapshots disabled.
2016-09-09 10:37:02: Testing if backup destination can handle filesystem transactions…
2016-09-09 10:37:02: Binding to interface eth0 for broadcasting…
2016-09-09 10:37:02: Broadcasting on interface IP 192.168.178.41
2016-09-09 10:37:02: UrBackup Server start up complete.
2016-09-09 10:37:02: Looking for old Sessions… 0 sessions
2016-09-09 10:37:02: Server started up successfully!
2016-09-09 10:38:02: Downloading version file…
2016-09-09 10:38:02: Downloading version file…
2016-09-09 10:38:02: Downloading version file…
2016-09-09 10:38:02: Downloading server version info…
`
the dmsg-command shows:
pi@raspi:~ $ sudo urbackupsrv run 2016-09-09 20:54:11: Starting HTTP-Server on port 55414 2016-09-09 20:54:11: HTTP: Server started up successfully! 2016-09-09 20:54:12: SQLite: recovered 5 frames from WAL file /var/urbackup/backup_server.db-wal code: 283 2016-09-09 20:54:12: SQLite: recovered 1 frames from WAL file /var/urbackup/backup_server_link_journal.db-wal code: 283 2016-09-09 20:54:12: Started UrBackup... 2016-09-09 20:54:12: Removing temporary files... 2016-09-09 20:54:12: Recreating temporary folder... TEST FAILED: Creating test subvolume failed 2016-09-09 20:54:12: Backup destination cannot handle subvolumes and snapshots. Snapshots disabled. 2016-09-09 20:54:12: Broadcasting on interface IP 192.168.178.41 2016-09-09 20:54:13: UrBackup Server start up complete. 2016-09-09 20:54:13: Looking for old Sessions... 0 sessions 2016-09-09 20:54:13: Server started up successfully! 2016-09-09 20:54:44: New Backupclient: LAPTOP-F5SABT3B 2016-09-09 20:54:44: New Backupclient: thomashsmacbook.fritz.box 2016-09-09 20:54:44: Starting incremental file backup... 2016-09-09 20:54:46: Starting incremental file backup... 2016-09-09 20:55:04: Backing up "Documents" without snapshot. 2016-09-09 20:55:04: Indexing of "Documents" done. 95 filesystem lookups 0 db lookups and 0 db updates 2016-09-09 20:55:04: Backing up "Downloads" without snapshot. 2016-09-09 20:55:04: Following symbolic link at "/Users/thomas/Downloads/SupaView.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/fr_CA.lproj" to "/Users/andym/Development/Build Products/Release/Sparkle.framework/Resources/fr.lproj" confirms symlink backup target ".symlink_fr.lproj" to "/Users/andym/Development/Build Products/Release/Sparkle.framework/Resources/fr.lproj" 2016-09-09 20:55:04: Indexing of "Downloads" done. 238 filesystem lookups 0 db lookups and 0 db updates 2016-09-09 20:55:04: Backing up "Desktop" without snapshot. 2016-09-09 20:55:04: Indexing of "Desktop" done. 7 filesystem lookups 0 db lookups and 0 db updates 2016-09-09 20:55:04: Backing up ".symlink_fr.lproj" without snapshot. 2016-09-09 20:55:04: thomashsmacbook.fritz.box: Loading file list... 2016-09-09 20:55:05: thomashsmacbook.fritz.box: Calculating file tree differences...
It keeps crashing on calculating the tree differences
Also helpful to reproduce the problem would be the C:\Program Files\UrBackup\urbackup\data\filelist.ub file from the client and the matching clientlist_b_BACKUPID.ub file of the client from /var/urbackup.
Executet the command before run, but no better result… see yourself
pi@raspi:~ $ sudo gdb --args sudo urbackupsrv run -v debug GNU gdb (Raspbian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from sudo...(no debugging symbols found)...done. (gdb) handle SIGILL stop Signal Stop Print Pass to program Description SIGILL Yes Yes Yes Illegal instruction (gdb) r Starting program: /usr/bin/sudo urbackupsrv run -v debug [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". 2016-09-10 11:43:16: Starting HTTP-Server on port 55414 2016-09-10 11:43:16: HTTP: Server started up successfully! 2016-09-10 11:43:16: SQLite: recovered 7 frames from WAL file /var/urbackup/backup_server.db-wal code: 283 2016-09-10 11:43:17: SQLite: recovered 1 frames from WAL file /var/urbackup/backup_server_link_journal.db-wal code: 283 2016-09-10 11:43:17: Started UrBackup... 2016-09-10 11:43:17: Removing temporary files... 2016-09-10 11:43:17: Recreating temporary folder... 2016-09-10 11:43:17: Testing if backup destination can handle subvolumes and snapshots... TEST FAILED: Creating test subvolume failed 2016-09-10 11:43:17: Backup destination cannot handle subvolumes and snapshots. Snapshots disabled. 2016-09-10 11:43:17: Testing if backup destination can handle filesystem transactions... 2016-09-10 11:43:17: Binding to interface eth0 for broadcasting... 2016-09-10 11:43:17: Broadcasting on interface IP 192.168.178.41 2016-09-10 11:43:17: UrBackup Server start up complete. 2016-09-10 11:43:17: Looking for old Sessions... 0 sessions 2016-09-10 11:43:17: Server started up successfully! 2016-09-10 11:43:48: New Backupclient: DESKTOP-B2MA34Q 2016-09-10 11:43:48: Getting client settings... 2016-09-10 11:43:48: Flushing FileClient... 2016-09-10 11:43:48: Sending backup incr interval... 2016-09-10 11:43:48: Starting incremental file backup... 2016-09-10 11:43:48: DESKTOP-B2MA34Q: Connecting for filelist... 2016-09-10 11:43:48: DESKTOP-B2MA34Q: Waiting for filelist 2016-09-10 11:44:17: Downloading version file... 2016-09-10 11:44:17: Downloading version file... 2016-09-10 11:44:17: Downloading version file... 2016-09-10 11:44:17: Downloading server version info... 2016-09-10 11:44:36: WARNING: Restarting shadow copy of C:\ because it was started by this server 2016-09-10 11:44:36: Scanning for changed hard links on volume of "Daten"... 2016-09-10 11:44:36: Indexing of "Daten" done. 1 filesystem lookups 147 db lookups and 0 db updates 2016-09-10 11:44:36: DESKTOP-B2MA34Q: Doing backup with hashed transfer... 2016-09-10 11:44:36: DESKTOP-B2MA34Q: Connecting to client... 2016-09-10 11:44:36: DESKTOP-B2MA34Q: Loading file list... 2016-09-10 11:44:36: Flushing FileClient... 2016-09-10 11:44:36: DESKTOP-B2MA34Q Starting incremental backup... 2016-09-10 11:44:36: DESKTOP-B2MA34Q: Calculating file tree differences... [Inferior 1 (process 23908) exited with code 0204] (gdb) bt No stack. (gdb)
As described in https://github.com/raspberrypi/linux/issues/766 you will either need a kernel build with CONFIG_OABI_COMPAT=y or gdb >= 7.10. As always the problem is known and fixed since half a year, but the fix did not make it into Debian (if this is indeed the issue)…