Can't upgrade jail

Glorious1

Guru
Joined
Nov 23, 2014
Messages
1,210
I have successfully upgraded one jail (not a plugin jail) but can't upgrade my transmission plugin jail.

Code:
sudo iocage upgrade transmission -r 12.1

It goes through and upgrades it indeed, but then I can't successfully log into the jail. I get:

Code:
Tabernacle:~$ sudo iocage console transmission
Last login: Sun Feb 28 10:30:19 on pts/1
FreeBSD 12.2-RELEASE-p3 7851f4a452d(HEAD) TRUENAS

Welcome to FreeBSD!
. . .
Edit /etc/motd to change this login announcement.
login: /usr/local/bin/bash: No such file or directory
Tabernacle:~$

Note that it actually upgraded to 12.2, and I can't log in because bash is gone. In fact from the lengthy output of the upgrade, it seems to have deleted almost all packages. I can roll back to start over, but not sure what to do at this point.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,974
12.1 is no longer supported, you should be upgrading your jails to 12.2. The correct syntax is iocage upgrade jailname -r 12.2-RELEASE
 

Glorious1

Guru
Joined
Nov 23, 2014
Messages
1,210
I get the same result whether I specify 12.2-RELEASE or 12.1, it upgrades to 12.2 and I can't log in. Then when I roll back to 11.2, the jail and plugin GUI shows that it is 11.2, but when I log in, it shows 12.2. Maybe the whole thing is borked?

If I start over, do you think it's better to do the transmission plugin again, or create an empty jail and install it with pkg? The plugin architecture seems more finicky.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,974
I prefer installing things via pkg in a standard jail if at all possible.
 

Glorious1

Guru
Joined
Nov 23, 2014
Messages
1,210
Thanks. Finally got it fully functional in a roll-your-own jail.
 
Top