Hi,
As it’s my first time here, pls. forgive formatting mistakes.
RPI5 8GB, fresh install
of course:
sudo apt-get update
sudo apt update
sudo apt full-upgrade
finally:
cat /proc/version
`Linux version 6.6.47+rpt-rpi-2712 (serge@raspberrypi.com) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.6.47-1+rpt1 (2024-09-02)`
then install:
echo 'deb http://download.opensuse.org/repositories/home:/uroni/Raspbian_12/ /' | sudo tee /etc/apt/sources.list.d/home:uroni.list
curl -fsSL https://download.opensuse.org/repositories/home:uroni/Raspbian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_uroni.gpg > /dev/null
sudo apt update
sudo apt install urbackup-server
Restart and:
$sudo service urbackupsrv status
● urbackupsrv.service - LSB: Server for doing backups
Loaded: loaded (/etc/init.d/urbackupsrv; generated)
Active: active (exited) since Sun 2024-09-08 13:18:45 CEST; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 1083 ExecStart=/etc/init.d/urbackupsrv start (code=exited, status=0/SUCCESS)
CPU: 8ms
Sep 08 13:18:45 rasp systemd[1]: Starting urbackupsrv.service - LSB: Server for doing backups...
Sep 08 13:18:45 rasp urbackupsrv[1089]: /usr/bin/urbackupsrv: error while loading shared libraries: libcurl.so.4: ELF load command address/offset not page-aligned
Sep 08 13:18:45 rasp systemd[1]: Started urbackupsrv.service - LSB: Server for doing backups.
libcurl, used by Urbackup seems not willing to accept 16k pages in Bookworm
actual version:
dpkg -l |grep libcurl
ii libcurl3-gnutls:arm64 7.88.1-10+deb12u7 arm64 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libcurl4:arm64 7.88.1-10+deb12u7 arm64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii libcurl4:armhf 7.88.1-10+deb12u7 armhf easy-to-use client-side URL transfer library (OpenSSL flavour)
So, workaround - use kernel8 and it’s 4k pages
/boot/firmware/config.txt:
kernel=kernel8.img
restart and almost there:
sudo service urbackupsrv status
● urbackupsrv.service - LSB: Server for doing backups
Loaded: loaded (/etc/init.d/urbackupsrv; generated)
Active: active (running) since Sun 2024-09-08 13:26:22 CEST; 54s ago
Docs: man:systemd-sysv-generator(8)
Process: 919 ExecStart=/etc/init.d/urbackupsrv start (code=exited, status=0/SUCCESS)
Tasks: 19 (limit: 9119)
CPU: 1.582s
CGroup: /system.slice/urbackupsrv.service
└─955 /usr/bin/urbackupsrv run --config /etc/default/urbackupsrv --daemon --pidfile /var/run/urbackupsrv.pid
Sep 08 13:26:22 rasp systemd[1]: Starting urbackupsrv.service - LSB: Server for doing backups...
Sep 08 13:26:22 rasp systemd[1]: Started urbackupsrv.service - LSB: Server for doing backups.
And no matter Urbackup databases are ‘factory default’ or after first backups -
typical and often used commands fails:
sudo urbackupsrv remove-unknown
2024-09-08 13:40:54: Going to remove all unknown files and directories in the urbackup storage directory. Waiting 20 seconds...
2024-09-08 13:41:14: Shutting down all database instances...
2024-09-08 13:41:14: Opening urbackup server database...
2024-09-08 13:41:14: SQLite: recovered 37 frames from WAL file /var/urbackup/backup_server.db-wal code: 283
2024-09-08 13:41:14: SQLite: recovered 4 frames from WAL file /var/urbackup/backup_server_link_journal.db-wal code: 283
2024-09-08 13:41:14: SQLite: recovered 19 frames from WAL file /var/urbackup/backup_server_settings.db-wal code: 283
2024-09-08 13:41:14: SQLite: recovered 37 frames from WAL file /var/urbackup/backup_server.db-wal code: 283
2024-09-08 13:41:14: SQLite: recovered 19 frames from WAL file /var/urbackup/backup_server_settings.db-wal code: 283
2024-09-08 13:41:14: Deleting database journal...
2024-09-08 13:41:14: ERROR: Deleting database journal failed. Aborting.
2024-09-08 13:41:14: ERROR: Setting up file index failed
2024-09-08 13:41:14: Error opening files index...
2024-09-08 13:41:14: ERROR: Error cleaning up.
sudo urbackupsrv repair-database
2024-09-08 13:44:46: SQLite: recovered 38 frames from WAL file /var/urbackup/backup_server.db-wal code: 283
2024-09-08 13:44:46: SQLite: recovered 4 frames from WAL file /var/urbackup/backup_server_link_journal.db-wal code: 283
2024-09-08 13:44:46: SQLite: recovered 19 frames from WAL file /var/urbackup/backup_server_settings.db-wal code: 283
2024-09-08 13:44:46: SQLite: recovered 38 frames from WAL file /var/urbackup/backup_server.db-wal code: 283
2024-09-08 13:44:46: Recovering contents of database with id 20...
Segmentation fault
some play with sqlite3 export and import etc. etc. shows no errors in datatabase!
such undocummented feature (of course, not a bug! ) is an unpleasant surprise after moving to the new platform.
Any ideas ? kernel8 (because of libcurl) should not be final target.
And these maintnace errors !
tom