bal0an
Explorer
- Joined
- Mar 2, 2012
- Messages
- 72
After successfully upgrading from FreeNAS 11.3-U5 to TrueNAS 12.0-U1 I wanted to upgrade my jails to the latest version as well:
The jail still works fine after the upgrade, it merged some ~8300 files. The UI shows release 12.0-RELEASE-p13 now.
But it looks like the jail is not aware of the upgrade:
What is the best way to make the jail state consistent? Reinstall (just kidding)?
I am not quite sure whether 12.0-RELEASE is right, I just guessed the iocage version.iocage stop bareos
iocage upgrade bareos -r 12.0-RELEASE
iocage start bareos
The jail still works fine after the upgrade, it merged some ~8300 files. The UI shows release 12.0-RELEASE-p13 now.
But it looks like the jail is not aware of the upgrade:
This is especially annoying when using the package manager which thinks it is still on 11.3, so the latest bareos-server packages 19.2.9 are not available (just 19.2.7). Also package dependency management shows dependencies that don't work (bareos-webui wants to pull PHP7.4 which doesn't work).root@bareos:~ # freebsd-version
11.3-RELEASE-p11
root@bareos:~ # uname -a
FreeBSD bareos 12.2-RELEASE-p2 FreeBSD 12.2-RELEASE-p2 663e6b09467(HEAD) TRUENAS amd64
root@bareos:~ # pkg -vv
Version : 1.15.10
...
ABI = "FreeBSD:11:amd64";
...
FreeBSD: {
url : "pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
Bareos: {
url : "pkg+https://download.bareos.org/bareos/release/19.2/FreeBSD_11.3",
enabled : yes,
priority : 0,
mirror_type : "SRV"
}
What is the best way to make the jail state consistent? Reinstall (just kidding)?