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!
9.3->10.1: how upgrade jails?
- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
9.3->10.1: how upgrade jails?
Could somebody recommend how-to, suitable for jails upgrade with 9.3->10.1 host upgrade?
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: 9.3->10.1: how upgrade jails?
I upgraded my jails ubder TheBrig and command-line. Currently TheBrig allow make upgrade from 9 to 10 based system only for full jails.
Procedure:
1. Under 9.3 - I run FreeBSD update over webgui for each jail.
2. Then I connect to jail as user and execute su
3 Execute
Some files edited manually, procedure ask it ( I don't know why ? )
4 Repeat upgrade for all jails.
5. Then I upgraded main system, and
6 updated each jail over webgui
Procedure:
1. Under 9.3 - I run FreeBSD update over webgui for each jail.
2. Then I connect to jail as user and execute su
3 Execute
Code: Select all
freebsd-update -r 10.1-RELEASE upgrade4 Repeat upgrade for all jails.
5. Then I upgraded main system, and
6 updated each jail over webgui
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
- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
Re: 9.3->10.1: how upgrade jails?
Thx! I'll try
- ExTruckie
- experienced User

- Posts: 100
- Joined: 25 Jun 2012 22:52
- Location: York, Pennsylvania
- Status: Offline
Re: 9.3->10.1: how upgrade jails?
I just did this
DON'T answer questions N
All must be Y
My jail is up and running but I cannot access thru the webgui
I get 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
This is the part of the config .xml file for my current setup
<thebrig>
<rootfolder>/mnt/TestRaid/Jail/</rootfolder>
<template>/mnt/TestRaid/Jail/template/</template>
<basejail>
<folder>/mnt/TestRaid/Jail/basejail/</folder>
</basejail>
<version>0.8</version>
<content>
<uuid>8ef777e8-5bd2-4cfd-9d9e-26cace8a54f3</uuid>
<enable/>
<jailno>1</jailno>
<jailname>ownCloud</jailname>
<jail_type>full</jail_type>
<if>re0</if>
<ipaddr>192.168.0.25</ipaddr>
<subnet>24</subnet>
<jailpath>/mnt/TestRaid/Jail/ownCloud/</jailpath>
<devfsrules/>
<jail_mount/>
<devfs_enable/>
<exec_prestart/>
<exec_start>/bin/sh /etc/rc</exec_start>
<afterstart0/>
<afterstart1/>
<exec_stop>/bin/sh /etc/rc.shutdown</exec_stop>
<extraoptions>-l -U root -n ownCloud</extraoptions>
<jail_parameters/>
<desc/>
<base_ver>9.3-RELEASE</base_ver>
<lib_ver>9.3-RELEASE</lib_ver>
<src_ver>Not Installed</src_ver>
<doc_ver>9.3-RELEASE</doc_ver>
<image/>
<image_type/>
<attach_params/>
<attach_blocking/>
<force_blocking/>
<zfs_datasets/>
<fib/>
</content>
</thebrig>
any ideas??
I can access the files on the server and the owncloud install within the jail itself.
DON'T answer questions N
All must be Y
My jail is up and running but I cannot access thru the webgui
I get 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
This is the part of the config .xml file for my current setup
<thebrig>
<rootfolder>/mnt/TestRaid/Jail/</rootfolder>
<template>/mnt/TestRaid/Jail/template/</template>
<basejail>
<folder>/mnt/TestRaid/Jail/basejail/</folder>
</basejail>
<version>0.8</version>
<content>
<uuid>8ef777e8-5bd2-4cfd-9d9e-26cace8a54f3</uuid>
<enable/>
<jailno>1</jailno>
<jailname>ownCloud</jailname>
<jail_type>full</jail_type>
<if>re0</if>
<ipaddr>192.168.0.25</ipaddr>
<subnet>24</subnet>
<jailpath>/mnt/TestRaid/Jail/ownCloud/</jailpath>
<devfsrules/>
<jail_mount/>
<devfs_enable/>
<exec_prestart/>
<exec_start>/bin/sh /etc/rc</exec_start>
<afterstart0/>
<afterstart1/>
<exec_stop>/bin/sh /etc/rc.shutdown</exec_stop>
<extraoptions>-l -U root -n ownCloud</extraoptions>
<jail_parameters/>
<desc/>
<base_ver>9.3-RELEASE</base_ver>
<lib_ver>9.3-RELEASE</lib_ver>
<src_ver>Not Installed</src_ver>
<doc_ver>9.3-RELEASE</doc_ver>
<image/>
<image_type/>
<attach_params/>
<attach_blocking/>
<force_blocking/>
<zfs_datasets/>
<fib/>
</content>
</thebrig>
any ideas??
I can access the files on the server and the owncloud install within the jail itself.
Mark Minnich
XigmaNAS 11.4.0.4 (7848) on a 16Gb USB Stick for embedded install.
AMD Athlon(TM)II X4 645 Processor.
Biostar N68SB-M3S_100521 Motherboard.
8Gb DDR3 Ram.
PCI-Express 4 port SATA III Controller Card.
4 Hitachi Ultrastar 7K3000 2Tb SATA Hard Drives in a raid1z, total storage available 5.61Tb.
320Gb SATA HD for OMV OS. 1Tb SATA Hard Drive for Backups.
XigmaNAS 11.4.0.4 (7848) on a 16Gb USB Stick for embedded install.
AMD Athlon(TM)II X4 645 Processor.
Biostar N68SB-M3S_100521 Motherboard.
8Gb DDR3 Ram.
PCI-Express 4 port SATA III Controller Card.
4 Hitachi Ultrastar 7K3000 2Tb SATA Hard Drives in a raid1z, total storage available 5.61Tb.
320Gb SATA HD for OMV OS. 1Tb SATA Hard Drive for Backups.
- ExTruckie
- experienced User

- Posts: 100
- Joined: 25 Jun 2012 22:52
- Location: York, Pennsylvania
- Status: Offline
Re: 9.3->10.1: how upgrade jails?
got it working
had to use the upgrade path show in this thread: viewtopic.php?f=71&t=8871
had to use the upgrade path show in this thread: viewtopic.php?f=71&t=8871
Mark Minnich
XigmaNAS 11.4.0.4 (7848) on a 16Gb USB Stick for embedded install.
AMD Athlon(TM)II X4 645 Processor.
Biostar N68SB-M3S_100521 Motherboard.
8Gb DDR3 Ram.
PCI-Express 4 port SATA III Controller Card.
4 Hitachi Ultrastar 7K3000 2Tb SATA Hard Drives in a raid1z, total storage available 5.61Tb.
320Gb SATA HD for OMV OS. 1Tb SATA Hard Drive for Backups.
XigmaNAS 11.4.0.4 (7848) on a 16Gb USB Stick for embedded install.
AMD Athlon(TM)II X4 645 Processor.
Biostar N68SB-M3S_100521 Motherboard.
8Gb DDR3 Ram.
PCI-Express 4 port SATA III Controller Card.
4 Hitachi Ultrastar 7K3000 2Tb SATA Hard Drives in a raid1z, total storage available 5.61Tb.
320Gb SATA HD for OMV OS. 1Tb SATA Hard Drive for Backups.
- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
Re: 9.3->10.1: how upgrade jails?
I could confirm, this way is working, but time and labor consuming.
I had described this way detaily in Russian at http://2gusia.livejournal.com/302626.html
Google translate could help, but pay attention, the translator tends to corrupt *nix commands. Keep an eye at original version, then you copy-paste commands
I had described this way detaily in Russian at http://2gusia.livejournal.com/302626.html
Google translate could help, but pay attention, the translator tends to corrupt *nix commands. Keep an eye at original version, then you copy-paste commands
-
axc27
- NewUser

- Posts: 5
- Joined: 24 Sep 2013 07:48
- Status: Offline
Re: 9.3->10.1: how upgrade jails?
Hi there!
What about slim jails? How can I update them to 10.2?
Unfortunately I did everything with slim jails on my NAS...
Best,
axc27
What about slim jails? How can I update them to 10.2?
Unfortunately I did everything with slim jails on my NAS...
Best,
axc27