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!

[HOWTO] Install TheBrig - one Jail manager for N4F

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
Viper780
Starter
Starter
Posts: 42
Joined: 23 Jun 2012 14:54
Location: Vienna / Austria / Europe
Contact:
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by Viper780 »

Hi

I also have this error:

Code: Select all

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 
tried also the alcatraz and the full offline installer - both times the same error.

How do I uninstall the brig?
Any suggestions onhow to fix this?

User avatar
Parkcomm
Advanced User
Advanced User
Posts: 384
Joined: 21 Sep 2012 12:58
Location: Australia
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by Parkcomm »

pumo wrote:How do I uninstall the Brig?
Extensions|TheBrig|Rudimentary Config|Uninstall theBrig
NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom

User avatar
Viper780
Starter
Starter
Posts: 42
Joined: 23 Jun 2012 14:54
Location: Vienna / Austria / Europe
Contact:
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by Viper780 »

Parkcomm wrote:
pumo wrote:How do I uninstall the Brig?
Extensions|TheBrig|Rudimentary Config|Uninstall theBrig
nice try when you can't open the whole theBrig extension ;)

No one has an fix for this or knows how to uninstall without the webif?

mallorn
NewUser
NewUser
Posts: 5
Joined: 07 Oct 2015 20:34
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by mallorn »

I'm getting confused... with TheBrig reinstall...

I had a nice working TheBrig, on a full install NAS4Free machine, until I did something stupid with removing files from extensions directory.
I had to reinstall whole NAS4Free (with restoring the config from backup), formatted /mnt/data ZFS... and reinstalled extensions (dhcp and Extended GUI).

I can not install TheBrig anymore - nor online or zip...

Code: Select all

#rm -dR /tmp/*
#cd /mnt/data/
#fetch https://raw.githubusercontent.com/fsbruva/thebrig/alcatraz/thebrig_install.sh
#chmod a+x /mnt/data/thebrig_install.sh
#mkdir -p /mnt/data/extensions/thebrig
#/bin/sh ./thebrig_install.sh /mnt/data/extensions/thebrig

[: -eq: unexpected operator
[: -eq: unexpected operator
Retrieving the most recent stable version of TheBrig
master.zip                                    100% of  248 kB  424 kBps 00m00s
Unpacking the tarball...
Done!
Detecting current configuration...
X-Powered-By: PHP/5.6.13
Content-type: text/html; charset=UTF-8


Warning: file(/mnt/data/temporary/conf/ext/thebrig/lang.inc): failed to open stream: No such file or directory in /mnt/data/install_stage/conf/bin/change_ver.php on line 6
You use old thebrig version, we reinstall it
Something bad happened with change_ver.php. Please re-download and run the install.
What do I do wrong? Please help me get rid of re-installing and do a clean install.

Code: Select all

Warning: require_once(/conf/ext/thebrig/functions.inc): failed to open stream: No such file or directory in /mnt/data/install_stage/conf/bin/thebrig_start.php on line 46
Should I remove some lines in /conf/config.xml?


EDIT:
Success!
Removed thebrig lines in /conf/config.xml, re-installed new config and installed TheBrig like a charm...
sorry for bothering !!
---------------mallorn------------------
NAS4Free 11.1.0.4 - Atomics

User avatar
Earendil
Moderator
Moderator
Posts: 48
Joined: 23 Jun 2012 15:57
Location: near Boston, MA, USA.
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by Earendil »

Oh sugar, I hate to add to the list of issues but I have a small one. I try to backup the config and I get the following error:

Code: Select all

Catchable fatal error: Argument 1 passed to array_sort_key() must be of the type array, null given, called in /mnt/pool0/dataset0/.extensions/Jails/conf/ext/thebrig/extensions_thebrig_tools.php on line 40 and defined in /etc/inc/array.inc on line 74
Obviously I'm messing something up as no one else has a problem backing up TheBrig's config files. My issue is on the second N4F server and I have no jails yet, neither old nor new. I'm gonna look into the code just in case something jumps out at me... :geek:
Earendil

XigmaNAS server:
-AMD A10-7860K APU
-Gigabyte F2A88XM-D3HP w/16GB RAM
-pool0 - 4x 2 TB WD green HDDs
-pool1 - 6x 8 TB WD white HDDs
-Ziyituod (used to be Ubit) SA3014 PCI-e 1x SATA card
-External Orico USB 3.0 5 bay HDD external enclosure set at RAID 5
--5x 4 TB WD green HDDs
-650W power supply

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

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by Roelf »

Hi

I have installed theBrig, and configured a jail.
I have Plex installed in the Jail. I cannot get plex to see the data on N4F - i think it's related to the mount points

I run 2 ZFS pools - Alien and Viking
Mount point for Alien - /mnt/Alien/Singleton
Mount for Viking - /mnt/Viking/Twin

My jail is Plex
from what i understand my mounts in the FSTAB should be: (i have dirs Singleton and Twin in my jail)
/mnt/Alien/Singleton /mnt/Singleton nullfs ro 0 0
/mnt/Viking/Twin /mnt/Twin nullfs ro 0 0

The error i get is "invalid data set".

Can someone please help...

fizzgig656
Advanced User
Advanced User
Posts: 155
Joined: 05 Dec 2012 16:10
Location: england
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by fizzgig656 »

Also getting this
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
After looking and reading and pointed to offline install etc I'm not sure what's best to do.

And then when try to install it again I get this

Code: Select all

 ltbowers: ~# /bin/sh /tmp/thebrig_install.sh /mnt/Jails 2
Attempting to create a new destination directory.....
Retrieving the testing branch as a zip file
working.zip                                     0% of  248 k
B    0  Bps
/: write failed, filesystem is full
working.zip                                     6% of  248 k
B  144 kBps 00m00s
fetch: working.zip: No space left on device
ERROR: Could not write to install directory!
Any help.
10.2.0.2 - Prester (revision 1814) embedded x64 no swap + extended webgui, on atom D2700MUD 1x4gb ram, 1x mini sata controllers, 4 HDD in a icydock 4bay caddy run 2x 500gb mirror and 2x1tb mirror. Using CIFS/SMB, SSH, DLNA/UPnP, dynamic DNS, Webserver (owncloud) and BitTorrent for home use.

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

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by raulfg3 »

post df -h to see how much space left do you have.
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

fizzgig656
Advanced User
Advanced User
Posts: 155
Joined: 05 Dec 2012 16:10
Location: england
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by fizzgig656 »

Code: Select all

/dev/da0s1a                    743M    173M    570M    23%
  /cf
procfs                         4.0K    4.0K      0B   100%
  /proc
/dev/ufsid/56268af290ed9691    2.8G    309M    2.3G    12%
  /mnt/4gbusb
Mdata                          899G    695G    204G    77%
  /mnt/Mdata
Sdata                          403G    317M    403G     0%
  /mnt/Sdata
Sdata/jails                    403G     96K    403G     0%
  /mnt/Sdata/jails
Sdata/personal                 448G     45G    403G    10%
  /mnt/Sdata/personal
Sdata/services                 404G    1.5G    403G     0%
  /mnt/Sdata/services
/dev/xmd2                      248M    4.4M    223M     2%
  /var
tmpfs                          128M     76K    128M     0%
  /var/tmp
 
Thanks for reply I have...
10.2.0.2 - Prester (revision 1814) embedded x64 no swap + extended webgui, on atom D2700MUD 1x4gb ram, 1x mini sata controllers, 4 HDD in a icydock 4bay caddy run 2x 500gb mirror and 2x1tb mirror. Using CIFS/SMB, SSH, DLNA/UPnP, dynamic DNS, Webserver (owncloud) and BitTorrent for home use.

fizzgig656
Advanced User
Advanced User
Posts: 155
Joined: 05 Dec 2012 16:10
Location: england
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by fizzgig656 »

I set the jails in a dataset. Default values.
10.2.0.2 - Prester (revision 1814) embedded x64 no swap + extended webgui, on atom D2700MUD 1x4gb ram, 1x mini sata controllers, 4 HDD in a icydock 4bay caddy run 2x 500gb mirror and 2x1tb mirror. Using CIFS/SMB, SSH, DLNA/UPnP, dynamic DNS, Webserver (owncloud) and BitTorrent for home use.

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

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by raulfg3 »

try /bin/sh /tmp/thebrig_install.sh /mnt/Jails/Alcatraz 2

this time must work.
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

fizzgig656
Advanced User
Advanced User
Posts: 155
Joined: 05 Dec 2012 16:10
Location: england
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by fizzgig656 »

I changed it slight to my jail location hope that was right. Still got error

Code: Select all

ltbowers: ~# /bin/sh /tmp/thebrig_install.sh /mnt/Sdata/jails/Alcatraz 2
x conf/portsnap.conf
x conf/sbin/
x conf/sbin/freebsd-update
x conf/sbin/portsnap
x thebrig_install.sh
 
Warning: file(/var/tmp/temporary/conf/ext/thebrig/lang.inc):
 failed to open stream: No such file or directory in /root/t
emporary/conf/bin/change_ver.php on line 6
Hello new user, We will install TheBrig now
Renaming 64 bit ftp binary
Congratulations! Thebrig installed . Navigate to rudimentary
 config tab and push Save
rmdir: temporary: No such file or directory
 ltbowers: ~#
 
10.2.0.2 - Prester (revision 1814) embedded x64 no swap + extended webgui, on atom D2700MUD 1x4gb ram, 1x mini sata controllers, 4 HDD in a icydock 4bay caddy run 2x 500gb mirror and 2x1tb mirror. Using CIFS/SMB, SSH, DLNA/UPnP, dynamic DNS, Webserver (owncloud) and BitTorrent for home use.

fizzgig656
Advanced User
Advanced User
Posts: 155
Joined: 05 Dec 2012 16:10
Location: england
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by fizzgig656 »

tried again this is what i ran. is it me?

Code: Select all

 ltbowers: ~# fetch -o /tmp/thebrig_install.sh https://github.com/fsbruva/thebrig/raw/working/thebrig_install.sh
/tmp/thebrig_install.sh                       100% of 4053  B   20 MBps 00m00s
 ltbowers: ~# chmod a+x /tmp/thebrig_install.sh
 ltbowers: ~# /bin/sh /tmp/thebrig_install.sh /mnt/Sdata/jail/thebrig 2
Attempting to create a new destination directory.....
Retrieving the testing branch as a zip file
working.zip                                   100% of  248 kB  555 kBps 00m01s
Unpacking the tarball...
x README
x conf/
x conf/bin/
x conf/bin/change_ver.php
x conf/bin/ftp_amd64
x conf/bin/ftp_i386
x conf/bin/jail.sh
x conf/bin/thebrig_fetch.sh
x conf/bin/thebrig_ports_cron.php
x conf/bin/thebrig_start.php
x conf/bin/thebrig_start.sh
x conf/bin/thebrig_stop.sh
x conf/bin/thebrig_update_cron.php
x conf/ext/
x conf/ext/thebrig/
x conf/ext/thebrig/extensions_thebrig.php
x conf/ext/thebrig/extensions_thebrig_check.php
x conf/ext/thebrig/extensions_thebrig_config.php
x conf/ext/thebrig/extensions_thebrig_download.php
x conf/ext/thebrig/extensions_thebrig_edit.php
x conf/ext/thebrig/extensions_thebrig_fstab.php
x conf/ext/thebrig/extensions_thebrig_log.php
x conf/ext/thebrig/extensions_thebrig_manager.php
x conf/ext/thebrig/extensions_thebrig_ports.php
x conf/ext/thebrig/extensions_thebrig_tarballs.php
x conf/ext/thebrig/extensions_thebrig_tools.php
x conf/ext/thebrig/extensions_thebrig_update.php
x conf/ext/thebrig/fstab.png
x conf/ext/thebrig/functions.inc
x conf/ext/thebrig/lang.inc
x conf/ext/thebrig/menu.inc
x conf/ext/thebrig/off_small.png
x conf/ext/thebrig/on_small.png
x conf/freebsd-update.conf
x conf/freebsd-update_thin.conf
x conf/make.conf
x conf/periodic.conf
x conf/portsnap.conf
x conf/sbin/
x conf/sbin/freebsd-update
x conf/sbin/portsnap
x thebrig_install.sh

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 installed . Navigate to rudimentary config tab and push Save
rmdir: temporary: No such file or directory
and to check this is the other bit i ran as suggested above.

Code: Select all

 ltbowers: ~# /bin/sh /tmp/thebrig_install.sh /mnt/Sdata/jails/Alcatraz 2
Retrieving the testing branch as a zip file
working.zip                                   100% of  248 kB  544 kBps 00m00s
Unpacking the tarball...
x README
x conf/
x conf/bin/
x conf/bin/change_ver.php
x conf/bin/ftp_amd64
x conf/bin/ftp_i386
x conf/bin/jail.sh
x conf/bin/thebrig_fetch.sh
x conf/bin/thebrig_ports_cron.php
x conf/bin/thebrig_start.php
x conf/bin/thebrig_start.sh
x conf/bin/thebrig_stop.sh
x conf/bin/thebrig_update_cron.php
x conf/ext/
x conf/ext/thebrig/
x conf/ext/thebrig/extensions_thebrig.php
x conf/ext/thebrig/extensions_thebrig_check.php
x conf/ext/thebrig/extensions_thebrig_config.php
x conf/ext/thebrig/extensions_thebrig_download.php
x conf/ext/thebrig/extensions_thebrig_edit.php
x conf/ext/thebrig/extensions_thebrig_fstab.php
x conf/ext/thebrig/extensions_thebrig_log.php
x conf/ext/thebrig/extensions_thebrig_manager.php
x conf/ext/thebrig/extensions_thebrig_ports.php
x conf/ext/thebrig/extensions_thebrig_tarballs.php
x conf/ext/thebrig/extensions_thebrig_tools.php
x conf/ext/thebrig/extensions_thebrig_update.php
x conf/ext/thebrig/fstab.png
x conf/ext/thebrig/functions.inc
x conf/ext/thebrig/lang.inc
x conf/ext/thebrig/menu.inc
x conf/ext/thebrig/off_small.png
x conf/ext/thebrig/on_small.png
x conf/freebsd-update.conf
x conf/freebsd-update_thin.conf
x conf/make.conf
x conf/periodic.conf
x conf/portsnap.conf
x conf/sbin/
x conf/sbin/freebsd-update
x conf/sbin/portsnap
x thebrig_install.sh

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 installed . Navigate to rudimentary config tab and push Save
rmdir: temporary: No such file or directory
any thoughts?
10.2.0.2 - Prester (revision 1814) embedded x64 no swap + extended webgui, on atom D2700MUD 1x4gb ram, 1x mini sata controllers, 4 HDD in a icydock 4bay caddy run 2x 500gb mirror and 2x1tb mirror. Using CIFS/SMB, SSH, DLNA/UPnP, dynamic DNS, Webserver (owncloud) and BitTorrent for home use.

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

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by alexey123 »

Hi

Few times I was wrote about TheBrig

master - for 9.0 and 9.1 FreeBSD versions
working - for 9.1 and 9.2 FreeBSD versions
alcatraz - for 9.3 and 10.x FreeBSD versions


working and master not work on 9.3 or 10.x based NAS4Free

Install alcatraz branch

From command line execute:

Code: Select all

fetch  https://raw.githubusercontent.com/fsbruva/thebrig/alcatraz/thebrig_install.sh
Then run it

Code: Select all

/bin/sh thebrig_install.sh /mnt/path/to/brig_folder 3
3 - is end symbol

Test now on fresh server viewtopic.php?p=61473#p61473
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

fizzgig656
Advanced User
Advanced User
Posts: 155
Joined: 05 Dec 2012 16:10
Location: england
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by fizzgig656 »

YEAH!!!!!

thanks alot it worked. (if you could of guessed im new to all this)

firstly what the alcatraz branch? and what is the 2 or 3 (is the install type master, working or alcatraz) at the end of the install command used for? (so i can learn what and why ive done what ive done)

now ive done the install, and the webgui works its asks me to complete the rudimentary config, fair enough i assume this needs to be saved before rebooting etc.

now as a newby what is suggested to do. what do i need to set, the only info populated is "/mnt/Sdata/services/extensions/thebrig/" as the installation folder (i assume this is where all jails will be created) can i change it it /mnt/Sdata/jails/?, the rest is blank or un-ticked, i assume the archive box (self explanatory) is if i want to keep the jail config when i delete it? but the rest? I assume the remove tickbox is used only when you want to uninstall thebrig? (certainly nor yet)
10.2.0.2 - Prester (revision 1814) embedded x64 no swap + extended webgui, on atom D2700MUD 1x4gb ram, 1x mini sata controllers, 4 HDD in a icydock 4bay caddy run 2x 500gb mirror and 2x1tb mirror. Using CIFS/SMB, SSH, DLNA/UPnP, dynamic DNS, Webserver (owncloud) and BitTorrent for home use.

yustianto
NewUser
NewUser
Posts: 2
Joined: 03 Nov 2015 13:14
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by yustianto »

can't install jail

i have

System information
Hostname nas4free.local
Version 10.2.0.2 - Prester (revision 1814)
Build date Sun Aug 30 21:05:05 CEST 2015
Platform OS FreeBSD Revision: 199506
FreeBSD 10.2-RELEASE-p2 #0 r287260M: Fri Aug 28 18:37:35 CEST 2015
Platform x86-full on Intel(R) Pentium(R) 4 CPU 3.40GHz
System
System bios HP version: D18 06/01/2005
System time Tue Nov 3 19:26:36 UTC 2015
System uptime 22 day(s) 22 hour(s) 52 minute(s) 55 second(s)
Last config change Mon Nov 2 12:01:33 UTC 2015

yustianto
NewUser
NewUser
Posts: 2
Joined: 03 Nov 2015 13:14
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by yustianto »

I can't install jail

i have server nas4free Version 10.2.0.2 - Prester (revision 1814)

login as: root
root@172.20.5.57's password:
Last login: Tue Nov 3 19:29:18 2015 from 172.20.5.11
Welcome to NAS4Free!
nas4free: ~# fetch: https://github.com/fsbruva/thebrig/raw/ ... install.sh: Operation timed out

can you help me....!!!!
You do not have the required permissions to view the files attached to this post.

fizzgig656
Advanced User
Advanced User
Posts: 155
Joined: 05 Dec 2012 16:10
Location: england
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by fizzgig656 »

try this reply a few post up, it worked for me a few days ago.
alexey123 wrote:Hi

Few times I was wrote about TheBrig

master - for 9.0 and 9.1 FreeBSD versions
working - for 9.1 and 9.2 FreeBSD versions
alcatraz - for 9.3 and 10.x FreeBSD versions


working and master not work on 9.3 or 10.x based NAS4Free

Install alcatraz branch

From command line execute:

Code: Select all

fetch  https://raw.githubusercontent.com/fsbruva/thebrig/alcatraz/thebrig_install.sh
Then run it

Code: Select all

/bin/sh thebrig_install.sh /mnt/path/to/brig_folder 3
3 - is end symbol

Test now on fresh server viewtopic.php?p=61473#p61473
10.2.0.2 - Prester (revision 1814) embedded x64 no swap + extended webgui, on atom D2700MUD 1x4gb ram, 1x mini sata controllers, 4 HDD in a icydock 4bay caddy run 2x 500gb mirror and 2x1tb mirror. Using CIFS/SMB, SSH, DLNA/UPnP, dynamic DNS, Webserver (owncloud) and BitTorrent for home use.

zelduy
NewUser
NewUser
Posts: 1
Joined: 25 Nov 2015 09:23
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by zelduy »

ok.. I'm a noobie here.. and I think I already read all the tutorial..
when i tried to download TheBrig I always got this error:

Code: Select all

nas4free: JAIL# fetch https://raw.githubusercontent.com/fsbruva/thebrig/alcatraz/thebrig_install.sh
fetch: https://raw.githubusercontent.com/fsbruva/thebrig/alcatraz/thebrig_install.sh: No address record
btw.. I'm using 10.2.0.2 - Prester (revision 1906)

Thanks all

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by daoyama »

zelduy wrote:

Code: Select all

nas4free: JAIL# fetch https://raw.githubusercontent.com/fsbruva/thebrig/alcatraz/thebrig_install.sh
fetch: https://raw.githubusercontent.com/fsbruva/thebrig/alcatraz/thebrig_install.sh: No address record
Probably, your DNS is empty or wrong.
If you change between DHCP and static IP, try to reboot the NAS4Free.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by daoyama »

I found a bug. TheBrig will overwrite or remove /etc/devfs.rules.
As a result, VirtualBox does not work as expected.
It should not edit existing entries.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

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

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by alexey123 »

daoyama wrote:I found a bug. TheBrig will overwrite or remove /etc/devfs.rules.
As a result, VirtualBox does not work as expected.
It should not edit existing entries.
I solve conflict temporary as https://github.com/fsbruva/thebrig/comm ... d7f00426c4
I continue work on thebrig
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

User avatar
erico.bettoni
experienced User
experienced User
Posts: 140
Joined: 25 Jun 2012 22:36
Location: São Paulo - Brasil
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by erico.bettoni »

Alexey, maybe its time to push the version up so everyone can be sure to be running the latest Alcatraz/TheBrig from github.

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

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by alexey123 »

erico.bettoni wrote:Alexey, maybe its time to push the version up so everyone can be sure to be running the latest Alcatraz/TheBrig from github.
I plan replace version mechanizm - I plan change number as UNIX time when I have something altered.
For do it, I must replace install script.
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

NukeNuke
NewUser
NewUser
Posts: 5
Joined: 16 Jul 2012 17:05
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by NukeNuke »

Roelf wrote:Hi

I have installed theBrig, and configured a jail.
I have Plex installed in the Jail. I cannot get plex to see the data on N4F - i think it's related to the mount points

I run 2 ZFS pools - Alien and Viking
Mount point for Alien - /mnt/Alien/Singleton
Mount for Viking - /mnt/Viking/Twin

My jail is Plex
from what i understand my mounts in the FSTAB should be: (i have dirs Singleton and Twin in my jail)
/mnt/Alien/Singleton /mnt/Singleton nullfs ro 0 0
/mnt/Viking/Twin /mnt/Twin nullfs ro 0 0

The error i get is "invalid data set".

Can someone please help...
Hi,

I have installed TheBrig "Alcatraz". I also mounted a ZFS pool (on host) via mount_nullfs into a jail.

Code: Select all

root@host# mount_nullfs /mnt/pool/data/on/host /mnt/data/extensions/thebrig/jail/mnt/data
This works perfect. Jail can r/w this directory.

Remember to setup a command script after boot to make folder available to jails after boot.

Greetings

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

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by alexey123 »

We can delegate zfs dataset to jail also.
In this case zfs dataset not visible on main system, but visible for jail users.
https://www.freebsd.org/doc/handbook/zfs-zfs-allow.html
http://www.oracle.com/technetwork/artic ... 27061.html
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

phil135
Starter
Starter
Posts: 52
Joined: 12 Nov 2015 10:57
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by phil135 »

hi
i just tried the first steps to install (in webgui) on 10.2.0.2.2003, but i have this answer:

$ /bin/sh /tmp/thebrig_install.sh /mnt/pool3/Jail
Retrieving the most recent version of TheBrig
Unpacking the tarball...
X-Powered-By: PHP/5.6.15
Content-type: text/html; charset=UTF-8

Parse error: syntax error, unexpected '!' in /bin/sh on line 322
You use fresh version

before i already tried ..../jail 2 , but the answer was the same

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

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by alexey123 »

try

Code: Select all

/bin/sh /tmp/thebrig_install.sh /mnt/pool3/Jail 3
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

devnas
NewUser
NewUser
Posts: 2
Joined: 02 Sep 2015 16:30
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by devnas »

I am able to install TheBrig Alcatraz on my N4F running 10.2.0.2 properly, in that it's showing up in the GUI. When set up and start a jail, however, it never shows up under the jls command and I cannot access it to set things up. Additionally, I cannot stop a jail once it is running. Clicking stop does nothing, they only seem to 'stop' if I reboot N4F. The only thing I have done other than a stock install is add jails_enable="YES" under rc.conf. Attached is a screenshot of the settings, linked for size. Any guidance would be appreciated

http://i.imgur.com/V60uFkq.jpg

bakker_be
NewUser
NewUser
Posts: 3
Joined: 28 Dec 2015 14:56
Status: Offline

Re: [HOWTO] Install TheBrig - one Jail manager for N4F

Post by bakker_be »

Hi there,
I've tried setting this up, all seems to go well, following the first post, but when going into "Extensions->TheBrig" on the webGUI I get the following error:

Code: Select all

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 skipped to the last page of this thread and found that I need the Alcatraz branch, so I followed those instructions, but I still get the same error.
System Info:

Code: Select all

Hostname	nas4free.local
Version	10.2.0.2 - Prester (revision 2235)
Compiled	Mon Dec 14 13:45:52 CET 2015
Platform OS	FreeBSD Revision: 199506
FreeBSD 10.2-RELEASE-p8 #0 r292129M: Fri Dec 11 23:47:42 CET 2015
Platform	x64-embedded on AMD Athlon(tm) II X2 250 Processor
System	ASRock 760GM-GS3
System bios	American Megatrends Inc. version: P1.10 02/22/2011
System time	Sun Jan 3 13:51:52 CET 2016
System uptime	5 day(s) 5 hour(s) 28 minute(s) 25 second(s)
System last config change	Sun Jan 3 13:26:34 CET 2016
CPU temperature	

37.5
°C

37.5
°C
CPU frequency	
3000MHz
CPU usage	
  
24%
  
36%
 
12%
Memory usage	  
39% of 8106MiB
Swap usage	
 14% of 2GB
Device: /dev/da8s2b | Total: 2G | Used: 281.29M | Free: 1.73G
Load averages	
0.56, 0.56, 0.57
 [Show Process Information]
Disk space usage	
2TB_01
 99% of 1.8TB
Total: 1.8T | Used: 1.8T | Free: 27G
2TB_02
 99% of 1.8TB
Total: 1.8T | Used: 1.8T | Free: 10G
2TB_03
 3% of 1.8TB
Total: 1.8T | Used: 60G | Free: 1.8T
2TB_04
 72% of 1.8TB
Total: 1.8T | Used: 1.3T | Free: 526G
TEST01
 99% of 932GB
Total: 932G | Used: 919G | Free: 12G
DefaultPool
 61% of 14.5TB
Total: 14.5T | Alloc: 8.88T | Free: 5.62T | State: ONLINE
I'm installing TheBrig to /mnt/DefaultPool/jails. The 2TB_xx mount points are NTFS-formatted single drives off which I'm transferring data to the DefaultPool (which currently consists of 4x 4TB drives in raidZ vdev) with the intent of adding a second raidZ vdev to it.

Post Reply

Return to “Jails”