URBACKUP client not starting. supposedly for a outdated jail version.

Thedriveguy

Explorer
Joined
Apr 24, 2022
Messages
51
Is there any other solutions that can do image backups of computers except UrBackup? Bonus points if it has the same system of restoring from a previous backup like urbackup.
 

smcclos

Dabbler
Joined
Jan 22, 2021
Messages
43

smcclos

Dabbler
Joined
Jan 22, 2021
Messages
43
What where the minor updates that you did? It doesn't seem to work for me.
I just updated the scripts to pull down the latest version urbackup-server-2.5.31.tar.gz from the version in the script.

Other than that I just cleaned up the installation script for my personal preference.

I don't know if this is a factor, but my TrueNAS is 12.0-U8.1 and thus my jail OS is FreeNAS 12.4
 
Joined
Oct 22, 2019
Messages
3,641
So then it built and installed without issue?

make -j4 and make install did not output any errors?


What does this yield:
Code:
which urbackupsrv
 

Thedriveguy

Explorer
Joined
Apr 24, 2022
Messages
51
So then it built and installed without issue?

make -j4 and make install did not output any errors?


What does this yield:
Code:
which urbackupsrv
Nevermind I ran those commands again and it worked. I ran the rest of the notes without issue and It seems to be working. Thank you all for the support!
 

PropDad

Dabbler
Joined
Nov 19, 2023
Messages
15
I have this procedure in my notes :
Code:
Create the urbackup jail:
    iocage create -n urbackup ip4_addr="vnet0|10.10.0.39/24" defaultrouter="10.10.0.1" vnet="on" boot="on" -r 13.1-RELEASE -b

Go to the jail console:
    iocage console (name of jail)

Install needed packages: (respond "y" if prompted)
    pkg install -y nano curl wget

download Urbackup Source into the jail:
    wget https://hndl.urbackup.org/Server/2.5.27/urbackup-server-2.5.27.tar.gz

Extract the archive:
    tar xf urbackup-server-2.5.27.tar.gz

Navigate into the newly created folder:
    cd *.27

Then :
    ./configure --enable-embedded-cryptopp

Then :
    make -j4

Then:
    make install

To test do:
    urbackupsrv run -u root

Browse to:
    "jail IP":55414

Back in the jail stop urbackupsrv:
    ctrl-c

To make urbackup run at jail boot :
    nano /etc/rc.local

and add to the new file :

    #!/bin/sh
    /usr/local/bin/urbackupsrv run -d -g 104857600 -u root

To end and save :
    crtl-x
    y
    enter

To make it executable :
    chmod +x /etc/rc.local

"exit" to leave the jail
"iocage restart (jail name)"  to restart the jail then check you can browse to port 55414 as before






Modify as required.
When I try the first step I get... Please manually run zfs destroy Primary/iocage/releases/12.2-RELEASE/root@urbackup if you wish to destroy it.

I'm sorry but I am a complete noob at this. How do I "destroy" this?
 
Joined
Oct 22, 2019
Messages
3,641
I'm sorry but I am a complete noob at this. How do I "destroy" this?
This implies you already created a jail named "urbackup". You would have to destroy the jail, which can be done via the GUI. (Did you happen to create a "Clone Jail" some time ago?)

Keep in mind, the steps themselves are outdated. You shouldn't be fetching a 13.1-RELEASE (it is EOL.) You need to replace it with 13.2-RELEASE.

Also, the latest version or UrBackup is no longer 2.5.27. It is 2.5.32.


Just a quick glance and some changes, the steps should look like this now. (Don't take my word for it. I did not test anything.)
Code:
Create the urbackup jail:
    iocage create -n urbackup ip4_addr="vnet0|10.10.0.39/24" defaultrouter="10.10.0.1" vnet="on" boot="on" -r 13.2-RELEASE -b

Go to the jail console:
    iocage console (name of jail)

Install needed packages: (respond "y" if prompted)
    pkg install -y nano curl wget

download Urbackup Source into the jail:
    wget https://hndl.urbackup.org/Server/2.5.32/urbackup-server-2.5.32.tar.gz

Extract the archive:
    tar xf urbackup-server-2.5.32.tar.gz

Navigate into the newly created folder:
    cd *.32

Then :
    ./configure --enable-embedded-cryptopp

Then :
    make -j4

Then:
    make install

To test do:
    urbackupsrv run -u root

Browse to:
    "jail IP":55414

Back in the jail stop urbackupsrv:
    ctrl-c

To make urbackup run at jail boot :
    nano /etc/rc.local

and add to the new file :

    #!/bin/sh
    /usr/local/bin/urbackupsrv run -d -g 104857600 -u root

To end and save :
    crtl-x
    y
    enter

To make it executable :
    chmod +x /etc/rc.local

"exit" to leave the jail
"iocage restart (jail name)"  to restart the jail then check you can browse to port 55414 as before
 
Last edited:

PropDad

Dabbler
Joined
Nov 19, 2023
Messages
15
This implies you already created a jail named "urbackup". You would have to destroy the jail, which can be done via the GUI. (Did you happen to create a "Clone Jail" some time ago?)

Keep in mind, the steps themselves are outdated. You shouldn't be fetching a 13.1-RELEASE (it is EOL.) You need to replace it with 13.2-RELEASE.

Also, the latest version or UrBackup is no longer 2.5.27. It is 2.5.32.


Just a quick glance and some changes, the steps should look like this now. (Don't take my word for it. I did not test anything.)
Code:
Create the urbackup jail:
    iocage create -n urbackup ip4_addr="vnet0|10.10.0.39/24" defaultrouter="10.10.0.1" vnet="on" boot="on" -r 13.2-RELEASE -b

Go to the jail console:
    iocage console (name of jail)

Install needed packages: (respond "y" if prompted)
    pkg install -y nano curl wget

download Urbackup Source into the jail:
    wget https://hndl.urbackup.org/Server/2.5.27/urbackup-server-2.5.32.tar.gz

Extract the archive:
    tar xf urbackup-server-2.5.32.tar.gz

Navigate into the newly created folder:
    cd *.32

Then :
    ./configure --enable-embedded-cryptopp

Then :
    make -j4

Then:
    make install

To test do:
    urbackupsrv run -u root

Browse to:
    "jail IP":55414

Back in the jail stop urbackupsrv:
    ctrl-c

To make urbackup run at jail boot :
    nano /etc/rc.local

and add to the new file :

    #!/bin/sh
    /usr/local/bin/urbackupsrv run -d -g 104857600 -u root

To end and save :
    crtl-x
    y
    enter

To make it executable :
    chmod +x /etc/rc.local

"exit" to leave the jail
"iocage restart (jail name)"  to restart the jail then check you can browse to port 55414 as before
I've been trying to resolve this problem via this post on the urbackup forums. So either via the plugins page or the commands from that post, yes I have created a jail. I have uninstalled the plugin but I guess that does not destroy the jail? If I go to the jails section there is not one showing for urbackup. As far as a clone jail, not that I am aware of.
 
Joined
Oct 22, 2019
Messages
3,641
I've been trying to resolve this problem via this post on the urbackup forums. So either via the plugins page or the commands from that post, yes I have created a jail. I have uninstalled the plugin but I guess that does not destroy the jail? If I go to the jails section there is not one showing for urbackup. As far as a clone jail, not that I am aware of.
A "Clone Jail" is the default jail type used for creating a new jail, as well as new plugins, I believe.


You can try:
Code:
iocage destroy urbackup

If that doesn't work, perhaps because the jail does not exist, you'll have to start manually removing the relevant dataset(s) and snapshot(s).

Do understand the risks involved with these dangerous operations.
 

PropDad

Dabbler
Joined
Nov 19, 2023
Messages
15
A "Clone Jail" is the default jail type used for creating a new jail, as well as new plugins, I believe.


You can try:
Code:
iocage destroy urbackup

If that doesn't work, perhaps because the jail does not exist, you'll have to start manually removing the relevant dataset(s) and snapshot(s).

Do understand the risks involved with these dangerous operations.
jail 'urbackup' not found!

I really do appreciate you tacking the time to help me tackle this. The only other jail/plugin I have running on this is Plex.

Do understand the risks involved with these dangerous operations.

I'm pretty good at following directions/instructions. I currently do not have anything that is not replaceable on my server.
 
Joined
Oct 22, 2019
Messages
3,641
What do your datasets, snapshots, and clones look like under the iocage dataset?

Code:
zfs list -t filesystem -r -o name,origin Primary/iocage

Code:
zfs list -t snapshot -r -o name Primary/iocage
 

PropDad

Dabbler
Joined
Nov 19, 2023
Messages
15
What do your datasets, snapshots, and clones look like under the iocage dataset?

Code:
zfs list -t filesystem -r -o name,origin Primary/iocage

Code:
zfs list -t snapshot -r -o name Primary/iocage

Primary/iocage -
Primary/iocage/download -
Primary/iocage/download/12.2-RELEASE -
Primary/iocage/download/12.3-RELEASE -
Primary/iocage/images -
Primary/iocage/jails -
Primary/iocage/jails/OpenSpeedTest-Server -
Primary/iocage/jails/OpenSpeedTest-Server/root -
Primary/iocage/jails/Plex -
Primary/iocage/jails/Plex/root -
Primary/iocage/log -
Primary/iocage/releases -
Primary/iocage/releases/12.2-RELEASE -
Primary/iocage/releases/12.2-RELEASE/root -
Primary/iocage/releases/12.3-RELEASE -
Primary/iocage/releases/12.3-RELEASE/root -
Primary/iocage/templates

Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p12_2022-02-02_13-30-37
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-11_02-09-38
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-11_02-17-33
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-11_02-54-29
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-16_11-19-11
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-04-30_20-31-28
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-05-25_12-13-54
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-11-17_12-32-59
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-12-01_13-00-05
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-12-11_14-40-33
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p12_2022-02-02_13-30-37
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-11_02-09-38
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-11_02-17-33
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-11_02-54-29
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-16_11-19-11
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-04-30_20-31-28
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-05-25_12-13-54
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-11-17_12-32-59
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-12-01_13-00-05
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-12-11_14-40-33
Primary/iocage/releases/12.2-RELEASE/root@urbackup
 
Joined
Oct 22, 2019
Messages
3,641
I don't see the purpose of it, so I'd assume you can safely delete it:
Code:
zfs destroy Primary/iocage/releases/12.2-RELEASE/root@urbackup
 

PropDad

Dabbler
Joined
Nov 19, 2023
Messages
15
I don't see the purpose of it, so I'd assume you can safely delete it:
Code:
zfs destroy Primary/iocage/releases/12.2-RELEASE/root@urbackup
Done. I suppose I should now run the following?

iocage create -n urbackup ip4_addr="vnet0|10.10.0.39/24" defaultrouter="10.10.0.1" vnet="on" boot="on" -r 13.2-RELEASE -b

I tried that and got this...

Host: 12.2-RELEASE is not greater than target: 13.2-RELEASE
This is unsupported.
 
Joined
Oct 22, 2019
Messages
3,641
What version of TrueNAS Core are you on?

TrueNAS Core 13.0-U5.3 is based on FreeBSD 13.1-RELEASE-p7.

You might want to upgrade. (Backup your config, of course.)

(As long as it's 13.x, it's compatible with 13.x jails, including 13.2 Base Jails.)
 

PropDad

Dabbler
Joined
Nov 19, 2023
Messages
15
What version of TrueNAS Core are you on?

TrueNAS Core 13.0-U5.3 is based on FreeBSD 13.1-RELEASE-p7.

You might want to upgrade. (Backup your config, of course.)

(As long as it's 13.x, it's compatible with 13.x jails, including 13.2 Base Jails.)
Noobie mistake, the OS was not updated. I have done that now. Running the following does not give an error now but just sits there...

iocage create -n urbackup ip4_addr="vnet0|10.10.0.39/24" defaultrouter="10.10.0.1" vnet="on" boot="on" -r 13.2-RELEASE -b

Going into jails menu it shows a corrupt jail for urbackup. I delete it via the menu, run the...

zfs list -t filesystem -r -o name,origin Primary/iocage
and
zfs list -t snapshot -r -o name Primary/iocage

and get the following...

Primary/iocage -
Primary/iocage/download -
Primary/iocage/download/12.2-RELEASE -
Primary/iocage/download/12.3-RELEASE -
Primary/iocage/download/13.2-RELEASE -
Primary/iocage/images -
Primary/iocage/jails -
Primary/iocage/jails/OpenSpeedTest-Server -
Primary/iocage/jails/OpenSpeedTest-Server/root -
Primary/iocage/jails/Plex -
Primary/iocage/jails/Plex/root -
Primary/iocage/jails/urbackup -
Primary/iocage/jails/urbackup/root -
Primary/iocage/log -
Primary/iocage/releases -
Primary/iocage/releases/12.2-RELEASE -
Primary/iocage/releases/12.2-RELEASE/root -
Primary/iocage/releases/12.3-RELEASE -
Primary/iocage/releases/12.3-RELEASE/root -
Primary/iocage/releases/13.2-RELEASE -
Primary/iocage/releases/13.2-RELEASE/root -
Primary/iocage/templates -
root@truenas[~]# zfs list -t snapshot -r -o name Primary/iocage
and
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p12_2022-02-02_13-30-37
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-11_02-09-38
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-11_02-17-33
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-11_02-54-29
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-16_11-19-11
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-04-30_20-31-28
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-05-25_12-13-54
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-11-17_12-32-59
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-12-01_13-00-05
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-12-11_14-40-33
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p12_2022-02-02_13-30-37
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-11_02-09-38
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-11_02-17-33
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-11_02-54-29
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-16_11-19-11
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-04-30_20-31-28
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-05-25_12-13-54
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-11-17_12-32-59
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-12-01_13-00-05
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-12-11_14-40-33
Primary/iocage/jails/urbackup/root@urbackup

I run the destroy again, but I keep going in a loop.

Am I supposed to modify the jail create command?
 
Joined
Oct 22, 2019
Messages
3,641
Am I supposed to modify the jail create command?
To make things easier, instead of the first step, just create a new Base Jail manually using the GUI.

Make sure to select Basejail and 13.2-RELEASE.

Configure your network settings per the norm, whichever works for your setup / local network. (DHCP or static IP address based on your local network.)
 
Top