iocage upgrade -r 12.2-RELEASE jailname
Appreciate the advice. It seems the jail was corrupted when upgrading from 11.3-U5 to 12.0-U3.1. When trying the upgrade
sudo iocage upgrade -r 12.2-RELEASE emby
it says:
"freebsd-version could not be found at /mnt/tank/iocage/jails/emby/root/bin/freebsd-version"
I found a way to fix the corrupt jail:
freebsd-update not found for basejail · Issue #893 · iocage/iocage
Supply iocage --version: Version 1.1 RELEASE 2019/0 Supply the commands used, along with any steps to recreate it: iocage start wordpress Provide the output from the command you issued: freebsd-ver...
After copying the freebsd-version file
sudo cp /mnt/tank/iocage/releases/11.2-RELEASE/root/bin/freebsd-version /mnt/tank/iocage/jails/emby/root/bin/
I ran
sudo iocage list
saw the jail was no longer in a corrupted state.
Then
sudo iocage fetch
and finally
sudo iocage upgrade -r 12.2-RELEASE emby
Now emby works again :)