This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[SOLVED] How to remove jails before installing TheBrig

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

[SOLVED] How to remove jails before installing TheBrig

Post by Roelf »

Hi,

I want to install the Brig, but i have a current jail running Plex, which I believe I have to remove first ?

I've scanned through the forum and also checked on the FreeBSD wiki - but I am not successful.

Does anyone have a reference or "step by step" guide ?

Thanks
Roelf

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: How to remove jails before installing TheBrig

Post by raulfg3 »

1 - Stop your jail
2 - delete your jail : http://wiki.nas4free.org/doku.php?id=do ... owto:jails go to delete a jail topic.
3 - Install the brig for N4f 9.x and alcatraz for N4F 10.x viewtopic.php?f=79&t=8998&p=55091&hilit=alcatraz#p55091

viewtopic.php?f=79&t=3894&p=55072&hilit=alcatraz#p55076
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: How to remove jails before installing TheBrig

Post by Roelf »

Thanks Raulf. What are all the lines in the config files i need to delete ? Or can I keep them ?

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: How to remove jails before installing TheBrig

Post by Roelf »

OK, I've followed it by the book, removed all references to jail, and the jail i had, and now when I click on "extentions", "the brig":

Warning: require_once(XML/Serializer.php): failed to open stream: No such file or directory in /usr/local/www/ext/thebrig/extensions_thebrig.php on line 10 Fatal error: require_once(): Failed opening required 'XML/Serializer.php' (include_path='.:/etc/inc:/usr/local/www') in /usr/local/www/ext/thebrig/extensions_thebrig.php on line 10

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: How to remove jails before installing TheBrig

Post by raulfg3 »

post your exact command, i suspect you forgot 1, 2 or 3 at the end ( 2 for N4F 9.3 and 3 for N4F 10.x), and please post uname -a to know what version on N4F do you use.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: How to remove jails before installing TheBrig

Post by alexey123 »

You can try migrate jail from your buildinfg to TheBrig.

Just define path to jail at page TheBrig|Jail|Add and NOT CHECK tarbals

If you have 9.2 based jail and you plan migrate to 9.3 or 10.1 based - you can upgrade jail to new kernel before upgrade your system with command

Code: Select all

freebsd-update -r 10.1-RELEASE upgrade
command must be executed into jail
My jails current state:
Image
My server run at 9.3 based NAS4Free
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: How to remove jails before installing TheBrig

Post by Roelf »

nas4free: / # uname -a
FreeBSD nas4free.local 10.1-RELEASE-p12 FreeBSD 10.1-RELEASE-p12 #0 r284333M: Sat Jun 13 00:18:22 CEST 2015 root@dev.nas4free.org:/usr/obj/nas4free/usr/src/sys/NAS4FREE-amd64 amd64

My Command:
/bin/sh /tmp/thebrig_install.sh /mnt/Viking/Twin/Jail 3

(I did however run it with "2" at the end the first time - not sure if I have to "uninstall" first before i run it again)

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: How to remove jails before installing TheBrig

Post by Roelf »

Thanks for the reply Alexey - i have unfortunately already deleted the jail... and i cannot get The Brig to run...

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: How to remove jails before installing TheBrig

Post by raulfg3 »

/mnt/Viking/Twin/Jail must exist prior to create jail
try mkdir /mnt/Viking/Twin/Jail first

and this time /bin/sh /tmp/thebrig_install.sh /mnt/Viking/Twin/Jail 3 must work.

PD: Remember that /mnt/Viking/ must be ZFS or UFS filesystem, a jail do not work on a NTFS or FAT32 filesystem
also confirm that you download correct thebrig_install.sh from : fetch https://raw.githubusercontent.com/fsbru ... install.sh
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: How to remove jails before installing TheBrig

Post by Roelf »

ah - i think i know where i went wrong. I created the dir from the windows explorer. That may be the problem, no ? (Thinking that it would create it in NTFS ?)
Last edited by Roelf on 14 Jun 2015 22:26, edited 1 time in total.

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: How to remove jails before installing TheBrig

Post by Roelf »

I've created the directory called Jails (I had a jail running on this before, so the file system must be correct I assume?)
Running "ls" shows the dir is there also.

I then ran the following commands:
fetch https://raw.githubusercontent.com/fsbru ... install.sh
chmod a+x /tmp/thebrig_install.sh
/bin/sh /tmp/thebrig_install.sh /mnt/Viking/Twin/Jail 3

I still get the same issues...

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: How to remove jails before installing TheBrig

Post by Roelf »

This may be a silly question...
I removed the line
jail_enable=”YES”
from the rc.conf.local file - do i need to add that back ?

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: How to remove jails before installing TheBrig

Post by alexey123 »

Alcatraz not use rc.conf.local file - not do anything
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: How to remove jails before installing TheBrig

Post by Roelf »

When i run

/bin/sh /tmp/thebrig_install.sh /mnt/Viking/Twin/Jail 3

I get the following error

Warning: file(/var/tmp/temporary/conf/ext/thebrig/lang.inc): failed to open stream: No such file or directory in /root/temporary/conf/bin/change_ver.php on line 6
Hello new user, We will install TheBrig now
Renaming 64 bit ftp binary
Congratulations! Thebrig install . Navigate to rudimentary config tab and push Save
rmdir: temporary: No such file or directory

Does that mean anything ?

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: How to remove jails before installing TheBrig

Post by Roelf »

WORKING !
I still had a Command Script (System | Advanced | Command Scripts) which i did not delete... Deleted it, restarted, re-install, working

Thanks for your assistance Raulf and Alexey!

VLD
NewUser
NewUser
Posts: 3
Joined: 01 Jul 2015 12:04
Status: Offline

Re: [SOLVED] How to remove jails before installing TheBrig

Post by VLD »

Hy Alexey! I am try to install theBrig to a cleare Nas4Free 10.2 (after install main system).
Install OK:
Hello new user, We will install TheBrig now
Renaming 64 bit ftp binary
Congratulations! Thebrig installed . Navigate to rudimentary config tab and push Save
But when i try to start theBrig I have next:
Warning: require_once(XML/Serializer.php): failed to open stream: No such file or directory in /usr/local/www/ext/thebrig/extensions_thebrig.php on line 10 Fatal error: require_once(): Failed opening required 'XML/Serializer.php' (include_path='.:/etc/inc:/usr/local/www') in /usr/local/www/ext/thebrig/extensions_thebrig.php on line 10.
I have not any CommandScripts, I dont any chenges in system and where is problem I d'nt undestand. Thanks.
My uname -a:
FreeBSD nas4free.local 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286738M: Thu Aug 13 21:32:58 CEST 2015 root@dev.nas4free.org:/usr/obj/nas4free/usr/src/sys/NAS4FREE-amd64 amd64
and command when I install theBrig: /bin/sh thebrig_install.sh /mnt/Jails/theBrig/
Sorry fo my English.

Post Reply

Return to “Jails”