Latest News:
*New 11.2 series Release:
2019-06-20: XigmaNAS 11.2.0.4.6766 - released!

*New 12.0 series Release:
2019-06-20: XigmaNAS 12.0.0.4.6766 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

TheBrig Not Loading after updates

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
tool172
NewUser
NewUser
Posts: 6
Joined: 14 Aug 2018 04:54
Status: Offline

TheBrig Not Loading after updates

#1

Post by tool172 » 10 Feb 2019 18:57

Error on The Brig Extensions: XigmaNAS 11.2.0.4 - Omnius

Capture.PNG

Jails obviously work fine, I just can't get to the GUI anymore. Should I be transferring over to IOCage? I haven't had time to research enough.

Any info on script corrections before I dive in head first? :geek:
You do not have the required permissions to view the files attached to this post.
Full Install - XigmaNAS 11.2.0.4 - Omnius (revision 5748) - Supermicro X7DBN - Intel Xeon L5420 x 2, 32GB ECC Ram, Minisas card to Supermicro 846EL1 - ZFS raid - vdev1 raidz2 - 5 x 2TB WD RED, vdev2 raidz2 - 5 x 4TB WD Red, 1 WD Red 4TB hot spare w/1 60gb ssd as boot drive with 20gb swap, dual gigabit intel nic - LAGG - Layer3 with Cisco WS4948 (29TB usable), OBI w/extended gui, Plexpass, 2 x TheBrig Jails (web stuff - apache server running nextcloud, intranet, docker) and another running other web services.

tool172
NewUser
NewUser
Posts: 6
Joined: 14 Aug 2018 04:54
Status: Offline

Re: TheBrig Not Loading after updates

#2

Post by tool172 » 11 Feb 2019 21:17

Issue resolved by forcing direct link.

In extensions_thebrig.php : Changed Line 24 to include path without

Code: Select all

rtrim( file_get_contents('/tmp/thebrig.tmp') )
In extensions_thebrig_config.php: Changed Line 38 to full path from

Code: Select all

$includefunctions = "$includepath . "conf/ext/thebrig/functions.inc";
after it loaded, I resaved config and all is well.
Full Install - XigmaNAS 11.2.0.4 - Omnius (revision 5748) - Supermicro X7DBN - Intel Xeon L5420 x 2, 32GB ECC Ram, Minisas card to Supermicro 846EL1 - ZFS raid - vdev1 raidz2 - 5 x 2TB WD RED, vdev2 raidz2 - 5 x 4TB WD Red, 1 WD Red 4TB hot spare w/1 60gb ssd as boot drive with 20gb swap, dual gigabit intel nic - LAGG - Layer3 with Cisco WS4948 (29TB usable), OBI w/extended gui, Plexpass, 2 x TheBrig Jails (web stuff - apache server running nextcloud, intranet, docker) and another running other web services.

L_oled
NewUser
NewUser
Posts: 2
Joined: 22 Mar 2018 13:26
Status: Offline

Re: TheBrig Not Loading after updates

#3

Post by L_oled » 07 Apr 2019 16:32

Hi tool172,

It's may be unrecognized/missing data in your global config ?
In extensions_thebrig_config, the rootpath is supposed to be read in global config if thebrig already exists, or get it from /tmp if it's a new install:

Code: Select all

// If thebrig array does not exist or is not a valid array within the global config, then create a blank one.
if ( isset($config['thebrig']) ) {
	if (is_array($config['thebrig'])) { 
		$includepath = $config['thebrig']['rootfolder'] ;
	} else {
		$input_errors[] = "You have broken config";
	}
}	else {
		$config['thebrig'] = array();
		if (file_exists("/tmp/thebrig.tmp")) {
			$includepath=rtrim( file_get_contents('/tmp/thebrig.tmp') ) ."/" ;
		} else {
			$input_errors[] = _THEBRIG_NOT_INSTALLED;
		}
	}
I got similar issue for a fresh install but there was a remnant '<thebrig/>' in my global config

Hope it will work for next update! :)

Post Reply

Return to “Jails”