This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
freenas [2020/05/29 20:19] k2patel [Jail migration warden to iocage] |
freenas [2020/10/30 17:11] (current) k2patel [Jail Issues] |
||
---|---|---|---|
Line 29: | Line 29: | ||
/usr/local/sbin/migrate_warden.py -v -j <Jail_name> -p <zpool> | /usr/local/sbin/migrate_warden.py -v -j <Jail_name> -p <zpool> | ||
</code> | </code> | ||
+ | |||
+ | ==== Jails ==== | ||
+ | |||
+ | === Upgrading Jail after major update === | ||
+ | :!: Select the appropriate version | ||
+ | <code bash> | ||
+ | iocage fetch | ||
+ | iocage upgrade backuppc -r 12.2-RELEASE | ||
+ | </code> | ||
+ | |||
+ | === pkg command broken after major version update === | ||
+ | :!:When //iocage pkg backuppc update// does not work. | ||
+ | |||
+ | Check if file //**/usr/local/etc/pkg/repos/FreeBSD.conf**// using the correct ABI.\\ | ||
+ | Once the version confirmed, run following commands in jail. | ||
+ | |||
+ | <code bash> | ||
+ | # pkg-static install -f pkg | ||
+ | pkg-static bootstrap -f | ||
+ | pkg update -f | ||
+ | pkg upgrade | ||
+ | </code> | ||
+ | |||
+ |