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!
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
-
Roelf
- Starter

- Posts: 25
- Joined: 22 Mar 2014 23:54
- Status: Offline
[SOLVED] How to remove jails before installing TheBrig
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
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
- raulfg3
- 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
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
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
Wiki
Last changes
HP T510
-
Roelf
- Starter

- Posts: 25
- Joined: 22 Mar 2014 23:54
- Status: Offline
Re: How to remove jails before installing TheBrig
Thanks Raulf. What are all the lines in the config files i need to delete ? Or can I keep them ?
-
Roelf
- Starter

- Posts: 25
- Joined: 22 Mar 2014 23:54
- Status: Offline
Re: How to remove jails before installing TheBrig
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
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
- raulfg3
- 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 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
Wiki
Last changes
HP T510
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: How to remove jails before installing TheBrig
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
command must be executed into jail
My jails current state:

My server run at 9.3 based NAS4Free
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 upgradeMy jails current state:

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
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

- Posts: 25
- Joined: 22 Mar 2014 23:54
- Status: Offline
Re: How to remove jails before installing TheBrig
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)
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

- Posts: 25
- Joined: 22 Mar 2014 23:54
- Status: Offline
Re: How to remove jails before installing TheBrig
Thanks for the reply Alexey - i have unfortunately already deleted the jail... and i cannot get The Brig to run...
- raulfg3
- 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
/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
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
Wiki
Last changes
HP T510
-
Roelf
- Starter

- Posts: 25
- Joined: 22 Mar 2014 23:54
- Status: Offline
Re: How to remove jails before installing TheBrig
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

- Posts: 25
- Joined: 22 Mar 2014 23:54
- Status: Offline
Re: How to remove jails before installing TheBrig
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...
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

- Posts: 25
- Joined: 22 Mar 2014 23:54
- Status: Offline
Re: How to remove jails before installing TheBrig
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 ?
I removed the line
jail_enable=”YES”
from the rc.conf.local file - do i need to add that back ?
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: How to remove jails before installing TheBrig
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
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

- Posts: 25
- Joined: 22 Mar 2014 23:54
- Status: Offline
Re: How to remove jails before installing TheBrig
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 ?
/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

- Posts: 25
- Joined: 22 Mar 2014 23:54
- Status: Offline
Re: How to remove jails before installing TheBrig
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!
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

- Posts: 3
- Joined: 01 Jul 2015 12:04
- Status: Offline
Re: [SOLVED] How to remove jails before installing TheBrig
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.
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.