Bug 266531 - archivers/urbackup-server: UrBackup Server doesn’t startup after update to 2.5.26_1 on TrueNAS (FreeBSD 13.1)
Summary: archivers/urbackup-server: UrBackup Server doesn’t startup after update to 2....
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-21 09:54 UTC by Gerardo Fernández
Modified: 2023-12-20 20:58 UTC (History)
10 users (show)

See Also:
bugzilla: maintainer-feedback? (nc)


Attachments
fix and update to version 2.5.30 (12.29 KB, patch)
2023-04-30 17:29 UTC, Meyser+bugs.freebsd.org
no flags Details | Diff
udated patch urbackup Version 2.5.32 for Freebsd 13.2 (13.46 KB, patch)
2023-11-22 15:28 UTC, matthias+freebsd+bugzilla
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gerardo Fernández 2022-09-21 09:54:13 UTC
I upgraded to latest revision (2.5.26_1) of Urbackup Server on a TrueNAS Jail (FreeBSD 13.1-RELEASE-p2) from previous revision (2.5.26) and now it doesn’t startup.

I also created a new jail with same FreeBSD release, installed latest revision of UrBackup Server and get the same problem.

Here is the log:
2022-09-21 13:30:53: Starting HTTP-Server on port 55414
2022-09-21 13:30:53: HTTP: Server started up successfully!
2022-09-21 13:30:53: Generating Server private/public ECDSA key...
Segmentation fault
Comment 1 Einar Bjarni Halldórsson 2022-09-21 10:39:22 UTC
Running urbackup-server on physical server (13.1-RELEASE-p2 amd64) and this happens for me as well.

Downgraded to 2.4.15 again until fixed
Comment 2 Martin Raiber 2022-09-24 12:07:49 UTC
The cause for this issue is probably:

https://cgit.freebsd.org/ports/diff/?id=5a19c0823bb11a2d2da10a3d92a574a8aafcb661

That removed the crypto++ pkgconfig, so the alignment configuration doesn't match anymore which causes it to crash.
Comment 3 Neel Chauhan freebsd_committer freebsd_triage 2022-11-06 17:51:57 UTC
I am no longer maintaining this port, so release it.
Comment 4 Meyser+bugs.freebsd.org 2023-04-30 17:29:47 UTC
Created attachment 241887 [details]
fix and update to version 2.5.30

adding "--enable-embedded-cryptopp" to CONFIGURE_ARGS fixes the issue by using buildin cryptopp version. So "libcryptopp.so:security/cryptopp" can be removed as adependency.

This fix comes from FreeNAS.

Version changed to 2.5.30 and pkg-plist regenerated.
Comment 5 matthias+freebsd+bugzilla 2023-11-22 15:28:31 UTC
Created attachment 246494 [details]
udated patch urbackup Version 2.5.32 for Freebsd 13.2

udated patch urbackup Version 2.5.32 for Freebsd 13.2
Comment 6 Micah Leier 2023-12-20 20:58:02 UTC
Hey I'm new to the whole FreeBSD port maintenance thing, but what's missing to get these updates actually applied to the port? Just someone to adopt and maintain it?