12.1-RELEASE-p10 from 11.3-RELEASE-p11

Dellyjoe

Explorer
Joined
Jun 12, 2020
Messages
80
Hello everyone,

I have two pools, my second pool is all plugins that you get in freenas, my first pool has one jail that is nextcloud, it wasn't installed with the plugin. I used dan35's code and it has been working great.

Now I made the move to Truenas code and updated my second pool first and everything went well.
I used the command line and did iocage fetch and the downloaded 12.1 and then ran the command
iocage upgrade -r 12.1-RELEASE {jailname}.

Now it came time to update my jails within my first pool. Using iocage upgrade -r 12.1-RELEASE nextcloud seemed to work I went through patching and now I have this message see attached picture.

My system seems to have stopped been waiting on this screen for over 1 hour.

Does anyone know what the issue is?

Thank you for reading,
Joe
 

Attachments

  • Updating_to_12.1-p10.PNG
    Updating_to_12.1-p10.PNG
    32.9 KB · Views: 299

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
use the "q" key to page to the end of the list
 

Kevo

Dabbler
Joined
Jan 1, 2019
Messages
37
It can take a while. My jail upgrade took quite a bit of time, more than I expected so I just let it sit for a while. It did finish and the jail was running afterwards, but I couldn't make pkg or ports work afterwards. I ended up rebuilding both of my jails from scratch. That was actually a lot quicker and in hindsight I should have just done that in the first place. I will probably do that in the future on any whole release upgrade from now on.
 

Dellyjoe

Explorer
Joined
Jun 12, 2020
Messages
80
It can take a while. My jail upgrade took quite a bit of time, more than I expected so I just let it sit for a while. It did finish and the jail was running afterwards, but I couldn't make pkg or ports work afterwards. I ended up rebuilding both of my jails from scratch. That was actually a lot quicker and in hindsight I should have just done that in the first place. I will probably do that in the future on any whole release upgrade from now on.

So I thought that the jail upgrade was done, so I ended up using ^c and when asked to re-start the jail it ended up breaking the jail.

I ended up just rebuilding the jail spent about 4 hours getting all my settings all back to normal and now we are good to go.

But I think I should have waited.

My fault. But thank you for the info @Kevo
 

AirborneTrooper

Contributor
Joined
Jun 20, 2014
Messages
148
If you have the ability to backup files and create a new 12.1-RELEASE iocage, it's much quicker.

There is a way to speed the upgrade though:
colmconn said:
For the last 2 jails I deleted /usr/src in the jail and edited /etc/freebsd-update.conf (in each jail) to change line 15 from "Components src world" to "Components world" The last two jails took about 15 mins each to upgrade to 12.1 including a complete pkg upgrade.

After you've updated your jail to 12.1-RELEASE, you need to go into the jail and enter
Code:
pkg-static install -f pkg 
and
Code:
pkg upgrade -y 
 
Top