Page 1 of 1

Jails - update

Posted: 04 Mar 2014 12:19
by howi42
I am running NAS4Free version 9.1 with several jails, managed by TheBrig.
As I am using the master branch of TheBrig, there is no update function.

In the case I wanted to update to NAS4Free 9.2, any advice on how to proceed ?

- could I upgrade TheBrig to the working branch and use the update function ? If yes, how to do this without killing the jails ?

- or do I need to update each jail manually and then the main system ?

Thanks for any help .

Re: Jails - update

Posted: 04 Mar 2014 12:52
by raulfg3
howi42 wrote:I am running NAS4Free version 9.1 with several jails, managed by TheBrig.
As I am using the master branch of TheBrig, there is no update function.
new working release of TheBrig have update function, so my suggest is update "thebrig" to latest working branch.
howi42 wrote: could I upgrade TheBrig to the working branch and use the update function ? If yes, how to do this without killing the jails ?
, you only need to stop all jails, upgrade thebrig, check new version en webGUI, update ports and base files, and restart jails.

You can upgrade Base files for each jail individually, because perhaps some jail need BSD 8.2, other BSD 9.0 and others BSD 9.2 to work.

only one warnning, once you update BSD base files, you can't revert, so be sure that you really need to update Base Files, the powerfull of jails is to have a frozen virtual enviroments that works for you.

PD:You can also update ports in new webGUI in Thebrig working branch.

stepts to update to working branch: viewtopic.php?f=79&t=1654&start=100#p31435

Re: Jails - update

Posted: 04 Mar 2014 14:10
by pierouelle
you only need to stop all jails, upgrade thebrig, check new version en webGUI, update ports and base files, and restart jails.
Check new vewrsion webgui, sorry to ask but where do i see that in webgui... :o

Re: Jails - update

Posted: 04 Mar 2014 14:16
by raulfg3
pierouelle wrote:Check new vewrsion webgui, sorry to ask but where do i see that in webgui...
new working version of TheBring have a new tab to see what version of theBring do you use, I can't show you any screen capture, and I write from memory , but I'm relatively sure.

I all cases you are sure that update is done if your theBrig webGUI changes to one new with more tabs.

Re: Jails - update

Posted: 04 Mar 2014 15:00
by pierouelle
Extensions|TheBrig
Current Jails/Maintenance

Current Jails/Maintenance
Tarball Management/ Rudimentary Config/Backup/Restore

This is what isee, so i do not think i have the possibilities to update via webgui???
so i guess i have to do that way...
1-stop all jails
2-Connect over ssh or choice console menu 6) Shell and type command

Code: Select all

fetch https://raw.github.com/fsbruva/thebrig/working/thebrig_install.sh
3-When download complete, run extracted script

Code: Select all

sh thebrig_install.sh /mnt/<path>/<to>/<thebrig> 2
4-restart jails
is this ok...thank you

Re: Jails - update

Posted: 04 Mar 2014 20:31
by raulfg3
pierouelle wrote:1-stop all jails
2-Connect over ssh or choice console menu 6) Shell and type command

Código: Seleccionar todo
fetch https://raw.github.com/fsbruva/thebrig/ ... install.sh


3-When download complete, run extracted script

Código: Seleccionar todo
sh thebrig_install.sh /mnt/<path>/<to>/<thebrig> 2


4-restart jails
is this ok...thank you
yes , it's ok