freenas:jails:upgrade_a_jail
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
freenas:jails:upgrade_a_jail [2020/11/18 18:50] – peter | freenas:jails:upgrade_a_jail [2020/12/21 18:05] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== FreeNAS - Jails - Upgrade a Jail ====== | ====== FreeNAS - Jails - Upgrade a Jail ====== | ||
+ | |||
+ | Before upgrading a Jail: | ||
+ | |||
+ | * [[FreeNAS: | ||
+ | * [[FreeNAS: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Upgrade the Jail ===== | ||
Stop the Jail. | Stop the Jail. | ||
Line 18: | Line 27: | ||
===== Example ===== | ===== Example ===== | ||
- | Determine Releases: | + | Determine |
<code bash> | <code bash> | ||
Line 42: | Line 51: | ||
</ | </ | ||
+ | ---- | ||
+ | |||
+ | ===== Upgrade all of the packages inside the Jail ===== | ||
+ | |||
+ | When the upgrade is done, enter the jail: | ||
+ | |||
+ | <code bash> | ||
+ | sudo iocage console PlexServer | ||
+ | </ | ||
+ | |||
+ | and run: | ||
+ | |||
+ | <code bash> | ||
+ | pkg update && pkg upgrade | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | Updating iocage-plugins repository catalogue... | ||
+ | iocage-plugins repository is up to date. | ||
+ | All repositories are up to date. | ||
+ | Updating iocage-plugins repository catalogue... | ||
+ | iocage-plugins repository is up to date. | ||
+ | All repositories are up to date. | ||
+ | Checking for upgrades (0 candidates): | ||
+ | Processing candidates (0 candidates): | ||
+ | Checking integrity... done (0 conflicting) | ||
+ | Your packages are up to date. | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Verify the Upgrade has worked ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo iocage list | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | +-----+------------+-------+--------------+------+ | ||
+ | | JID | NAME | STATE | | ||
+ | +=====+============+=======+==============+======+ | ||
+ | | 4 | PlexServer | up | 12.1-RELEASE | DHCP | | ||
+ | +-----+------------+-------+--------------+------+ | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | If this error is seen: | ||
+ | |||
+ | <code bash> | ||
+ | pkg: repository meta / | ||
+ | </ | ||
+ | |||
+ | try: | ||
+ | |||
+ | <code bash> | ||
+ | pkg bootstrap -f | ||
+ | </ | ||
+ | |||
+ | ---- | ||
freenas/jails/upgrade_a_jail.1605725414.txt.gz · Last modified: 2020/11/18 18:50 by peter