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!

Need to reinstall Jail. How to uninstall first.

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Kwekkel
NewUser
NewUser
Posts: 3
Joined: 24 Dec 2015 20:36
Status: Offline

Need to reinstall Jail. How to uninstall first.

Post by Kwekkel »

Hello;

I've installed Alcatraz jail which was working fine. Unfortunately I made a mistake and damaged the installation.
Now I want to reinstall but no go. See below. Obviously I need to remove the old install but it's not clear for me where
and what to remove to uninstall. I've spend quite some time to find answers but could not find it.

I used these instructions for installation:
https://dl.dropboxusercontent.com/u/988 ... f10x86.tar

Thanks.

mkdir /mnt/data/thebrig
chmod a+x /mnt/data/thebrig_install.sh
mnt/data/thebrig_install.sh /mnt/data/thebrig

Retrieving the unstable branch as a zip file
If you aren't a developer for TheBrig, is a bad idea!
Please re-install according to the documentation...
alcatraz.zip 100% of 145 kB 20 kBps 00m07s
Unpacking the tarball...
Done!
Detecting current configuration...

Looks like we're re-installing!
Upgrading/Re-installing...

Warning: require_once(/mnt/Disc_1/Jail/conf/ext/thebrig/functions.inc): failed to open stream: No such file or directory in /mnt/Disc_1/jail/install_stage/conf/bin/thebrig_start.php on line 46

Fatal error: require_once(): Failed opening required '/mnt/Disc_1/Jail/conf/ext/thebrig/functions.inc' (include_path='.:/etc/inc:/usr/local/www') in /mnt/Disc_1/jail/install_stage/conf/bin/thebrig_start.php on line 46
Congratulations! TheBrig was re-installed.
nas4free: jail# Warning: require_once(/mnt/Disc_1/Jail/conf/ext/thebrig/functions.inc): failed to open stream: No such file or directory in /mnt/Disc_1/jail/install_stage/conf/bin/thebrig_start.php on line 46

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1058
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: Need to reinstall Jail. How to uninstall first.

Post by JoseMR »

Hello and Merry xmas, seems like you are using the installation example commands instead with your own system paths, seems like /mnt/data/thebrig should be /mnt/Disc_1/thebrig for your system but you can check with df -h command, also you forgot the forward slash on your last install command "/mnt/..."

But before continue to fresh TheBrig installation, follow the instructions below to avoid further conflicts.

1: Go to System|Advanced|Command scripts and delete any TheBrig related command script, then reboot the system.
2: Create a new directory for TheBrig with: mkdir -p /mnt/your_disk/thebrig.
3: Unzip TheBrig package(if offline installer used) then place the files inside /mnt/your_disk/thebrig.
4: Proceed with TheBrig install again, and carefully check for the directory/names and slashes are correct like shown below:

Code: Select all

/mnt/your_disk/thebrig_install.sh /mnt/your_disk/thebrig
Note: Enabling SSH and using WinSCP/FileZilla can help you alot if you are uncomfortable with the CLI while creating/deleting directories.

Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

Kwekkel
NewUser
NewUser
Posts: 3
Joined: 24 Dec 2015 20:36
Status: Offline

Solved: Need to reinstall Jail. How to uninstall first.

Post by Kwekkel »

Hi,
Thanks for the quick reply. Marry Xmas too from a too warm Sweden.
I managed to get it working again. Apparently I've damaged little more than I thought. I've restored the system from a backup and reinstalled
Jail with success this time. I did an off line installation with the file thebrig-full-091-n4f10x86 and ran the install script /bin/sh /tmp/thebrig_install.sh /mnt/Disc_2/jail. No errors now and it is the gui again.

Regards, Arnold

Post Reply

Return to “Jails”