Upgrading jails 13.3

So, I finally found some time (and courage) to upgrade my TrueNAS box from 13.1-U6 to 13.3. The main trigger was a dead front fan in my Fractal Define R5 case, making the other fan work twice as hand and loud. Anyway, replaced the fan, dusted and upgraded without any problems.

On a roll, I thought I try upgrading a jail from 13.1-RELEASE to 13.3-RELEASE, but I’m having some problems. It’s a while since I upgraded them from 12 to 13, so can’t remember exactly how I did it, but I’m guessing it was through the built-in console. That’s gone, so I’m having to SSH.

I’d downloaded the latest version:

#iocage fetch -r 13.3-RELEASE

And the using:

#iocage upgrade -r 13.3-RELEASE jailname

It starts off fine, and I get past the section where I need to confirm with several y’s, but then I get the file list, and it pauses with a :

I remember this step takes some time, but my SSH connection is timing out and when I log back in I’ve lost my progress. I’m connecting from a MacBook using Terminal.

Any suggestions which don’t involve installing a different OS :laughing:

You should start a tmux session, so that any interruptions from the client’s SSH session won’t disrupt the progress.

Before doing any commands:

tmux new -t iocage

Then do your stuff.

You can always detach from a session with CTRL + B, then D.

To list sessions:

tmux list-sessions

To reattach to the most recent session:

tmux a

To reattach to a specific named session:

tmux a -t iocage

To kill a session, just use CTRL + D. No different than killing any terminal session.

4 Likes

Also, when you are met with the “:” you will need to hit “q” I believe it is 4 times.

3 Likes

Thank you both so much! How have I been using FreeNAS/TrueNAS for almost 10 years, and I didn’t know about tmux? Once I’d worked out it was still running after the terminal disconnects, I’d managed to find the “q” command from a Google search taking me back to the old forum (ah, how I miss that place)

It’s great to know you get the same outstanding help and support over here though! One jail down, 5 to go…

Thanks again!

1 Like

Has no one told you that the people from the old forums have been frozen in subzero cryogenic stasis?

We’re all clones here. I can understand if the avatar icons and usernames might have caused this confusion.

I must admit, having to learn the (unfunny) humor of Sir Winnie the Linnie has been quite the struggle for me. However, I think I’ve mastered it in the last few months. :+1:

The Original Stux is not even French, yet his clone keeps slipping with “le”. Some clones are better mimickers of the originals. Oh well.

2 Likes

Yes, GPT clones. Blame the training data.

Now you know why Winnie wanted to download all his posts…

3 Likes