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/12/21 17:53] – peter | freenas:jails:upgrade_a_jail [2020/12/21 18:05] (current) – peter | ||
---|---|---|---|
Line 51: | 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.1608573210.txt.gz · Last modified: 2020/12/21 17:53 by peter