SOLVED UrBackup fails to install in a clean Jail (v11.0-U2)

Status
Not open for further replies.

Hazimil

Contributor
Joined
May 26, 2014
Messages
172
Hi All,

I'm trying to install UrBackup in a fresh Jail, on v11.0-U2, and am following the instructions laid out at: https://www.urbackup.org/freenasserverinstall.html, i.e.

Code:
pkg update
pkg install cryptopp
curl -O https://hndl.urbackup.org/Server/2.1.19/urbackup-server-2.1.19.tar.gz
tar xf urbackup-server-2.1.19.tar.gz
cd urbackup-server-2.1.19
./configure
make install -j4


But, I'm getting some errors and it fails to install after I use the make install -j4 command:

Code:
chown urbackup:urbackup "/usr/local/share/urbackup"																				 
chown: urbackup: illegal group name																								 
*** [install-data-local] Error code 1																							   
																																	
make[2]: stopped in /urbackup-server-2.1.19																						 
--- install-exec-local ---																										 
pw useradd urbackup -q -g urbackup -d "/usr/local/var/urbackup" -m -s /usr/bin/false || true										
chown urbackup:urbackup "/usr/local/var/urbackup"																				   
1 error																															 
																																	
make[2]: stopped in /urbackup-server-2.1.19																						 
*** [install-am] Error code 2																									   
																																	
make[1]: stopped in /urbackup-server-2.1.19																						 
1 error																															 
																																	
make[1]: stopped in /urbackup-server-2.1.19																						 
*** [install-recursive] Error code 1																								
																																	
make: stopped in /urbackup-server-2.1.19																							
1 error																															 
																																	
make: stopped in /urbackup-server-2.1.19   


Anyone got any ideas?

Yours
Jonathan
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Did you try updating the jail before installing? pkg upgrade
 

Hazimil

Contributor
Joined
May 26, 2014
Messages
172
This would suggest the user or group does not exist.
That's what I though, yet I thought I check to see if they existed, and when I tried to adduser (for urbackup) or pw addgroup (for urbackup), I get told that they already exist..... So the script must have created them.

Did you try updating the jail before installing? pkg upgrade
Yep, ran all commands as per the list in my opening post.

Yours
Jonathan
 
Last edited:

Hazimil

Contributor
Joined
May 26, 2014
Messages
172
So, I tried something different this time. After I ran pkg update and before I ran pkg install cryptopp, I did the following:

Code:
pw addgroup urbackup
pw useradd urbackup -q -g urbackup -d "/usr/local/var/urbackup" -m -s /usr/bin/false


(copying the useradd from the error output above)

Then I continued with the install, this time I don't get any errors, but I'm unable to connect to it via 192.168.x.xxx:55414

Bah!

Yours
Jonathan
 

Hazimil

Contributor
Joined
May 26, 2014
Messages
172
Ahh ha! Fixed it!

It helps if you start the service ( /usr/local/bin/urbackupsrv run -d -g 104857600 -u root) :)

Yours
Jonathan
 
Status
Not open for further replies.
Top