Refuses connection and wont update

I’ve been trying to update the jail from the shell but it wont update, its stuck at version 2.5.26_1, the UI showed the latest as 2.5.31.
Additionally, since i ran the command for pkg update within the jails shell, I can no longer access the web UI. it refuses to connect, I’ve tried alternate browsers just in case.
the urbackupsrv.conf file at \usr\local\etc\urbackup still shows the port to be 55414, I checked in case it had changed somehow.
Can anyone help with this so I can get it running again and updated?

URBackup is no longer maintained on the PKg system and you have the latest version.
You will need to do an “Install from Source” to upgrade.
https://www.urbackup.org/server_source_install.html

well for some reason now it refuses to connect. I’m using Truenas aswell.
Looks like I’ll have to completely delete the whole thing and start again.
All this cos of an update thats not maintained. pretty shit for a backup service

What did you do to break your existing jail ?
PKG is usually benign.

I’d done pkg update an it went thru the process but didnt really do anything, then when I went to load the gui it showed refused to connect. thought it wasnt running so tried restarting it, no luck, tried checking what port was running, nothing, then looked for the conf file in the directories and it still showed default as 55414. thought it was a browser issue, tried it in opera and in incogs, still refused

In the jail do :
urbackupsrv run -u root
what do you get ?

I’ve managed to get it back up now with a little shell work.
now how to I get urbackup to free up the space again? I’ve deleted a load of old image backups, keeping the recent ones, and its not freed up any space

That’s a common TrueNAS wrinkle.
Search their forum…

Hello aceniz,

I recently installed server v2.5.30 on TrueNAS 13.2 with the following procedure.
You may or may not wish to enter a DHCP reservation. Either way works.
I prefer IP addresses that can’t possibly change.
Also pick your paths and IP’s to fit your situation.
You may not require all of the steps in your given situation.
Creating a new jail will definitely delete your old backup database.
I do not know if using an existing jail will or won’t keep your old clients and backups.
You may have to re-add your clients and start backups again from scratch.
I have only a handfull of clients so I deleted my old jail and dataset and created a new jail and dataset.
Judge accordingly for your situation.

================== The procedure starts here.
The Urbackup dataset “urb” must be case sensitive. (don’t select SMB when creating the dataset)
You may create a new dataset or use an existing dataset.
Create a base jail using 13.2 and using DHCP or upgrade an existing jail to 13.2.
I don’t use clone jails. I find them confusing.
Start then stop jail
Edit jail (3rd page)
Copy 2nd vnet0_mac to make router DHCP reservation
Make router reservation - such as 192.168.2.7
Start jail
Start jail shell
pkg update
pkg upgrade
portsnap fetch
portsnap extract
cd /usr/ports/ports-mgmt/portmaster
make install clean (enter OK to select defaults)
cd ~
nano urb.patch
Paste contents of the patch which appears after these instructions.
^O
^X
cd /usr/ports/archivers/urbackup-server
patch < ~/urb.patch
cd /usr/ports/ports-mgmt/portmaster
portmaster /usr/ports/archivers/urbackup-server (enter all OK to select all defaults)
Wait 10 minutes for urbackup to compile.
sysrc urbackup_server_enable=YES
Stop jail
Mount Points: Add - /mnt/pool/eds/urb /mnt/pool/iocage/jails/urbj/root/mnt/backups/urbackup
Start TrueNAS shell (not jail shell)
cd /mnt/pool/iocage/jails/urbj/root/mnt
mkdir backups
cd backups
mkdir urbackup
cd …
chmod -R 777 mnt
chown -R dlna:wheel mnt
Start jail
Configure Urbackup at 192.168.2.7:55414

This patch came from: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266531
It’s direct URL is: https://bz-attachments.freebsd.org/attachment.cgi?id=241887
CONTENTS OF THE PATCH:
============================ Start copying the text starting with the next line.
diff --git a/archivers/urbackup-server/Makefile b/archivers/urbackup-server/Makefile
index 687aaf124451…ad3ed3cad105 100644
— a/archivers/urbackup-server/Makefile
+++ b/archivers/urbackup-server/Makefile
@@ -1,6 +1,6 @@
PORTNAME= urbackup-server
-DISTVERSION= 2.5.26
-PORTREVISION= 1
+DISTVERSION= 2.5.30
+PORTREVISION= 0
CATEGORIES= archivers
MASTER_SITES= https://hndl.urbackup.org/Server/${DISTVERSION}/

@@ -11,8 +11,7 @@ WWW= https://www.urbackup.org
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/server-license.txt

-LIB_DEPENDS= libcryptopp.so:security/cryptopp \

  •   libcurl.so:ftp/curl \
    

+LIB_DEPENDS= libcurl.so:ftp/curl
liblmdb.so:databases/lmdb

USES= autoreconf compiler:c++11-lang dos2unix fakeroot fuse
@@ -21,7 +20,7 @@ DOS2UNIX_GLOB= *.c *.cpp *.h *.am
USE_RC_SUBR= urbackup_server

GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-packaging --with-mountvhd --without-embedded-sqlite3 --without-embedded-lmdb --without-embedded-lua
+CONFIGURE_ARGS= --enable-packaging --with-mountvhd --without-embedded-sqlite3 --without-embedded-lmdb --without-embedded-lua --enable-embedded-cryptopp
LDFLAGS+= -L${LOCALBASE}/lib

SUB_FILES= pkg-message urbackupsrv.conf.sample-daemon
diff --git a/archivers/urbackup-server/distinfo b/archivers/urbackup-server/distinfo
index d6a0a87c0216…d4539b869728 100644
— a/archivers/urbackup-server/distinfo
+++ b/archivers/urbackup-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1663015459
-SHA256 (urbackup-server-2.5.26.tar.gz) = fe6e028f7dad19e942b5789cade746d6c69e8b2a4a3ff2e747c71f060fe0d7f7
-SIZE (urbackup-server-2.5.26.tar.gz) = 9540662
+TIMESTAMP = 1682843520
+SHA256 (urbackup-server-2.5.30.tar.gz) = 3e64306da3e50bee852042f859857eccc1935a45583f82dbe7cdfd9943741787
+SIZE (urbackup-server-2.5.30.tar.gz) = 9963939
diff --git a/archivers/urbackup-server/pkg-plist b/archivers/urbackup-server/pkg-plist
index dea132fb0e1d…4243e69d4739 100644
— a/archivers/urbackup-server/pkg-plist
+++ b/archivers/urbackup-server/pkg-plist
@@ -6,8 +6,6 @@ man/man1/urbackupsrv.1.gz
@mode 0644
@sample etc/urbackup/urbackupsrv.conf.sample
etc/newsyslog.conf.d/urbackupsrv.conf
-share/urbackup/server-license.txt
-share/urbackup/urbackup_ecdsa409k1.pub
share/urbackup/www/css/bootstrap-flat-extras.chash-958e73e0ffd138319a4c6be29fa24392.min.css
share/urbackup/www/css/bootstrap-flat-extras.css
share/urbackup/www/css/bootstrap-flat.chash-afad0eb464edab83aeb369684734541e.min.css
@@ -28,11 +26,11 @@ share/urbackup/www/css/dataTables.chash-199ff38fd61a7e4516ee546eaa4c29c7.bootstr
share/urbackup/www/css/dataTables.foundation.css
share/urbackup/www/css/dataTables.foundation.min.css
share/urbackup/www/css/datatable.css
+share/urbackup/www/css/layout.css
share/urbackup/www/css/jquery.chash-342e0312e9d353b3f19dbd50c28cd084.jqplot.min.css
share/urbackup/www/css/jquery.dataTables.css
share/urbackup/www/css/jquery.dataTables.min.css
share/urbackup/www/css/jquery.dataTables_themeroller.css
-share/urbackup/www/css/layout.css
share/urbackup/www/css/nprogress.chash-9dc52b7dd289312c1437a3e66ca7662c.css
share/urbackup/www/css/select.bootstrap.css
share/urbackup/www/css/select.bootstrap.min.css
@@ -40,35 +38,12 @@ share/urbackup/www/css/select.dataTables.css
share/urbackup/www/css/select.dataTables.min.css
share/urbackup/www/css/urbackup_extra.chash-3db0cfd0827ea1e31800d5d3479113e1.css
share/urbackup/www/css/urbackup_extra.chash-88c2abb07e691af5684519b618394250.css
-share/urbackup/www/favicon.ico
-share/urbackup/www/fonts/glyphicons-halflings-regular.eot
-share/urbackup/www/fonts/glyphicons-halflings-regular.svg
-share/urbackup/www/fonts/glyphicons-halflings-regular.ttf
-share/urbackup/www/fonts/glyphicons-halflings-regular.woff
-share/urbackup/www/fonts/glyphicons-halflings-regular.woff2
-share/urbackup/www/help.htm
-share/urbackup/www/images/agplv3-155x51.png
-share/urbackup/www/images/arr.png
-share/urbackup/www/images/back_disabled.png
-share/urbackup/www/images/back_enabled.png
-share/urbackup/www/images/back_enabled_hover.png
-share/urbackup/www/images/background.png
-share/urbackup/www/images/btn_donate_LG.gif
-share/urbackup/www/images/forward_disabled.png
-share/urbackup/www/images/forward_enabled.png
-share/urbackup/www/images/forward_enabled_hover.png
-share/urbackup/www/images/header.png
-share/urbackup/www/images/header_new.png
-share/urbackup/www/images/indicator.gif
-share/urbackup/www/images/progress.png
-share/urbackup/www/images/sort_asc.png
-share/urbackup/www/images/sort_asc_disabled.png
-share/urbackup/www/images/sort_both.png
-share/urbackup/www/images/sort_desc.png
-share/urbackup/www/images/sort_desc_disabled.png
-share/urbackup/www/images/stopwatch.png
-share/urbackup/www/images/urbackup.png
-share/urbackup/www/index.htm
+share/urbackup/www/js/vs/base/worker/workerMain.js
+share/urbackup/www/js/vs/basic-languages/src/lua.js
+share/urbackup/www/js/vs/editor/editor.main.css
+share/urbackup/www/js/vs/editor/editor.main.js
+share/urbackup/www/js/vs/editor/editor.main.nls.js
+share/urbackup/www/js/vs/loader.chash-7bbdd9ad3da370f14fe85315b79133b3.js
share/urbackup/www/js/bootstrap-select.chash-76ee99405563373864c57f9093c526eb.min.js
share/urbackup/www/js/bootstrap-select.js
share/urbackup/www/js/bootstrap-toggle.chash-4f3a8e499de27e992b7f0e0f92de3491.min.js
@@ -78,6 +53,7 @@ share/urbackup/www/js/bootstrap.js
share/urbackup/www/js/buttons.bootstrap.js
share/urbackup/www/js/buttons.chash-0da44ded2aaff1f0c13606600a4cd330.html5.min.js
share/urbackup/www/js/buttons.chash-ac22ff642b7e893d1481c3746e3a727e.bootstrap.min.js
+share/urbackup/www/js/npm.js
share/urbackup/www/js/buttons.chash-cd927381496c412f4693bd9d9ee033f4.print.min.js
share/urbackup/www/js/buttons.chash-ce3122eaca7ccb19e44dee7dda4d64a2.colVis.min.js
share/urbackup/www/js/buttons.chash-fc6a8c2af5e96d74874f6a0d3cd423cb.flash.min.js
@@ -88,9 +64,9 @@ share/urbackup/www/js/buttons.print.js
share/urbackup/www/js/dataTables.bootstrap.js
share/urbackup/www/js/dataTables.buttons.js
share/urbackup/www/js/dataTables.chash-63b062ca2b0c3f964a6441b525195161.bootstrap.min.js
+share/urbackup/www/js/dataTables.foundation.js
share/urbackup/www/js/dataTables.chash-dfe1352a782465f67d37ecfcd42fab61.select.min.js
share/urbackup/www/js/dataTables.chash-ee4a3855817393103a592c0a1c25d8f2.buttons.min.js
-share/urbackup/www/js/dataTables.foundation.js
share/urbackup/www/js/dataTables.foundation.min.js
share/urbackup/www/js/dataTables.select.js
share/urbackup/www/js/default_user_rights.chash-1a8afe1e5f52805d53eeec839bdec544.js
@@ -98,28 +74,30 @@ share/urbackup/www/js/dust-full.chash-54ec13e05caf3890b67b71bdddab23c1.js
share/urbackup/www/js/dust-full.min.js
share/urbackup/www/js/excanvas.min.js
share/urbackup/www/js/jqplot.categoryAxisRenderer.min.js
+share/urbackup/www/js/jquery.chash-9f7c65c84c8e8c3e317945e8fd89899b.js
share/urbackup/www/js/jqplot.chash-1c19ea0ae42de58f92fe80d31965ea3e.highlighter.min.js
share/urbackup/www/js/jqplot.chash-20dac64191d3b8450e8c18be524e1005.dateAxisRenderer.min.js
share/urbackup/www/js/jqplot.chash-40f1b3ee3c1b1d475b7c556685f4176e.pieRenderer.min.js
share/urbackup/www/js/jqplot.chash-a4e0feecabf098441472baf28dc5b76a.barRenderer.min.js
share/urbackup/www/js/jquery.chash-0e0645f8b1c2b9e45470add2df1214b4.base64.min.js
share/urbackup/www/js/jquery.chash-565d85c1c1f639919008b8e867faabeb.jqplot.min.js
+share/urbackup/www/js/jquery.dataTables.js
share/urbackup/www/js/jquery.chash-56be28a1645466dc675d2a204fca015c.sparkline.min.js
share/urbackup/www/js/jquery.chash-68e14434ba097ba3db4f0a1b3041842e.dataTables.min.js
-share/urbackup/www/js/jquery.chash-9f7c65c84c8e8c3e317945e8fd89899b.js
-share/urbackup/www/js/jquery.dataTables.js
share/urbackup/www/js/md5.chash-d2f5c8d867ed90851ef4e7b98616c364.js
-share/urbackup/www/js/npm.js
share/urbackup/www/js/nprogress.chash-5fc208df77427b19a1558ee3c2e2d344.js
share/urbackup/www/js/sjcl.chash-c34b81d9a619f2cd9f09bf75eb160625.js
share/urbackup/www/js/templates.chash-28c0599c25813503e84ecbbaa8c9c298.js
share/urbackup/www/js/templates.chash-413440024835c5e4ea99c0badf2311b0.js
share/urbackup/www/js/templates.chash-488eb6bdb61144c5f3628cb61193cbf0.js
+share/urbackup/www/js/templates.chash-4ba45b66619453b2f681b7da3196d7ae.js
+share/urbackup/www/js/templates.chash-82494f3fe51677d4f4d718d27f611062.js
share/urbackup/www/js/templates.chash-98b70da992ffbfb64873cc47c15e8992.js
share/urbackup/www/js/templates.chash-9e4954e10a60c31df0e2c25e7e191086.js
share/urbackup/www/js/templates.chash-b822a22aef4c363c85a5e1fac111e96a.js
share/urbackup/www/js/templates.chash-ecd192a19340d82b8e2a92e4a7aae964.js
share/urbackup/www/js/templates.chash-f85173fea3869fb86c781b60569246a4.js
+share/urbackup/www/js/translation.chash-10e0e20a34cbffda033b31d6ea65a823.js
share/urbackup/www/js/translation.chash-17666a6e1eff21a4453aeeb5408a5a27.js
share/urbackup/www/js/translation.chash-2c1ec818032b1e0514904724dfc9a3a5.js
share/urbackup/www/js/translation.chash-3e8d08068445883d1daf8cf2a3bc4340.js
@@ -143,7 +121,10 @@ share/urbackup/www/js/urbackup.chash-70c25c845d7958e76fa1349fbb937e9e.js
share/urbackup/www/js/urbackup.chash-713d904e901061f68c4c0e2b98d411ca.js
share/urbackup/www/js/urbackup.chash-87260f8c6691aad4825ae2025f13492d.js
share/urbackup/www/js/urbackup.chash-88574e8b8dfb8c33420e756b0c9f6d5e.js
+share/urbackup/www/js/urbackup.chash-8a7175c028fce2af7fc61406edb8c653.js
share/urbackup/www/js/urbackup.chash-8c2b59225128b32c5f6e149d0401505a.js
+share/urbackup/www/js/urbackup.chash-8f42a7af32ea30b032baf1834300f704.js
+share/urbackup/www/js/urbackup.chash-9285bce451e3925466b770e9b56dcda0.js
share/urbackup/www/js/urbackup.chash-930d5761af9b34f8b8d30d351feed85e.js
share/urbackup/www/js/urbackup.chash-9a2d6eaeb46201db012471777d3f0450.js
share/urbackup/www/js/urbackup.chash-9f514a23b70249b0606d97749d1bfc92.js
@@ -153,19 +134,46 @@ share/urbackup/www/js/urbackup.chash-ae0cb8928ce470e4e8b59e8d18aa37bd.js
share/urbackup/www/js/urbackup.chash-c3262b2fa22dcdcafabb5dd1de53ba16.js
share/urbackup/www/js/urbackup.chash-cb406b0890d791e36c7542211da71a8c.js
share/urbackup/www/js/urbackup.chash-f06ab951e72229bb54b7a87d4afce638.js
+share/urbackup/www/js/urbackup.chash-f8279be8c931203cfe770db43631367c.js
+share/urbackup/www/js/urbackup.chash-fbac7ea76049e8782a014e2d081d9203.js
share/urbackup/www/js/urbackup_functions.chash-4f795bc977f7d5ea47ee69a69e9f74bc.js
share/urbackup/www/js/urbackup_functions.chash-6481a2ac25b89a3d87063d9f080a54bb.js
share/urbackup/www/js/urbackup_functions.chash-98c3f5649cb6de638d6c1ea5df75ce5c.js
share/urbackup/www/js/urbackup_functions.chash-ba3dbff9829eea33c689d82f9020704d.js
share/urbackup/www/js/urbackup_functions.chash-cb06117b2b923bb8b72f1ea5eeac5557.js
-share/urbackup/www/js/vs/base/worker/workerMain.js
-share/urbackup/www/js/vs/basic-languages/src/lua.js
-share/urbackup/www/js/vs/editor/editor.main.css
-share/urbackup/www/js/vs/editor/editor.main.js
-share/urbackup/www/js/vs/editor/editor.main.nls.js
-share/urbackup/www/js/vs/loader.chash-7bbdd9ad3da370f14fe85315b79133b3.js
-share/urbackup/www/license.htm
+share/urbackup/www/fonts/glyphicons-halflings-regular.eot
+share/urbackup/www/fonts/glyphicons-halflings-regular.svg
+share/urbackup/www/fonts/glyphicons-halflings-regular.ttf
+share/urbackup/www/fonts/glyphicons-halflings-regular.woff
+share/urbackup/www/fonts/glyphicons-halflings-regular.woff2
+share/urbackup/www/images/agplv3-155x51.png
+share/urbackup/www/images/arr.png
+share/urbackup/www/images/back_disabled.png
+share/urbackup/www/images/back_enabled.png
+share/urbackup/www/images/back_enabled_hover.png
+share/urbackup/www/images/background.png
+share/urbackup/www/images/forward_disabled.png
+share/urbackup/www/images/forward_enabled.png
+share/urbackup/www/images/forward_enabled_hover.png
+share/urbackup/www/images/header.png
+share/urbackup/www/images/header_new.png
+share/urbackup/www/images/progress.png
+share/urbackup/www/images/sort_asc.png
+share/urbackup/www/images/sort_asc_disabled.png
+share/urbackup/www/images/sort_both.png
+share/urbackup/www/images/sort_desc.png
+share/urbackup/www/images/sort_desc_disabled.png
+share/urbackup/www/images/stopwatch.png
+share/urbackup/www/images/urbackup.png
+share/urbackup/www/images/btn_donate_LG.gif
+share/urbackup/www/images/indicator.gif
share/urbackup/www/swf/flashExport.swf
+share/urbackup/www/help.htm
+share/urbackup/www/index.htm
+share/urbackup/www/license.htm
+share/urbackup/www/favicon.ico
+share/urbackup/urbackup_ecdsa409k1.pub
+share/urbackup/server-license.txt
/var/urbackup/dataplan_db.txt
@mode 0755
@owner urbackup
============================ Stop copying the text (don’t include this line).
Paste this text in the urb.patch file as instructed above.

All for now.

I updated my QNAP Urbackup to 2.5.32.0

Now i got the Message

ERR_CONNECTION_REFUSED

Why

I only make this Update

How can i solve this ?

Regards

This isnt the same issue as the original one, could you please post a new thread. QNAP uses different methods for the server backend.