freenas:jails:upgrade_a_jail
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
freenas:jails:upgrade_a_jail [2020/11/18 18:48] – created 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 17: | Line 26: | ||
===== Example ===== | ===== Example ===== | ||
+ | |||
+ | Determine what Releases are available: | ||
+ | |||
+ | <code bash> | ||
+ | iocage fetch | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | [0] 11.2-RELEASE (EOL) | ||
+ | [1] 11.3-RELEASE (EOL) | ||
+ | [2] 11.4-RELEASE | ||
+ | [3] 12.0-RELEASE (EOL) | ||
+ | [4] 12.1-RELEASE | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Upgrade Plex: | ||
<code bash> | <code bash> | ||
Line 22: | 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.1605725283.txt.gz · Last modified: 2020/11/18 18:48 by peter