I have had the exact same problem after the upgrade, the server dies.
I removed the _1 version (pkg remove urbackup-server-2.5.26_1) and added the previous version (that was still in cache (pkg add urbackup-server-2.5.26.pkg) and the server could start fine.
No idea what bug got introduced in the _1 version, but I does prevent the server from running.
I had the same issue with the latest urbackup 2.5.26_1 pkg or port version in FreeBSD 13. It’s failed to start with Segmentation fault due to the cryptopp been removed. Here are the workaround I did to make it work (fall back to 2.5.26).
Install urbackupserver latest pkg version : pkg install urbackup-server-2.5.26_1
Extract the source and go inside the dir : tar -zxvf urbackup-server-2.5.26.tar.gz && cd urbackup-server-2.5.26
We want to enable and use the build-in cryptopp, configure with --enable-embedded-cryptopp : ./configure --enable-embedded-cryptopp
Compile the source : make
Backup existing urbackupsrv file before proceed because we are going to replace it with a new one. : cp /usr/local/bin/urbackupsrv /usr/local/bin/urbackupsrv.bak
We don’t want to install the compiled version because we used the one from pkg, so just copy urbackupsrv file in the source dir to /usr/local/bin dir, overwritten the existing file. : cp urbackupsrv /usr/local/bin/
Urbackup server from source used /usr/local/var dir, so link it to /var : cd /usr/local && ln -s /var var
Done, start or restart Urbackup server.
(Optional) At this point you probably want to lock the urbackup-server-2.5.26_1 pkg so it doesn’t get replace during pkg upgrade. : pkg lock urbackup-server-2.5.26_1
Thanks to alecmascot which explained to us how to configure to build from source.
In the Makefile in the line CONFIGURE_ARGS at the end we add --enable-embedded-cryptopp.
The procedure is as follows:
#In urbackup-server jail
iocase console urbackup
pkg install `make build-depends-list | sed s%/usr/ports/%%g | sed '/sqlite3/d'`
sed -i '.bak' -e 's/CONFIGURE_ARGS.*/& --enable-embedded-cryptopp/' Makefile
service urbackup_server start