User Tools

Site Tools


freenas:jails:upgrade_a_jail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
freenas:jails:upgrade_a_jail [2020/12/21 17:57] peterfreenas:jails:upgrade_a_jail [2020/12/21 18:05] (current) peter
Line 52: Line 52:
  
 ---- ----
 +
 +===== Upgrade all of the packages inside the Jail =====
  
 When the upgrade is done, enter the jail: When the upgrade is done, enter the jail:
Line 59: Line 61:
 </code> </code>
  
-and then upgrade all of the packages inside the Jail:+and run:
  
 <code bash> <code bash>
Line 78: Line 80:
 Checking integrity... done (0 conflicting) Checking integrity... done (0 conflicting)
 Your packages are up to date. Your packages are up to date.
 +</code>
 +
 +----
 +
 +===== Verify the Upgrade has worked =====
 +
 +<code bash>
 +sudo iocage list
 +</code>
 +
 +returns:
 +
 +<code bash>
 ++-----+------------+-------+--------------+------+
 +| JID |    NAME    | STATE |   RELEASE    | IP4  |
 ++=====+============+=======+==============+======+
 +| 4   | PlexServer | up    | 12.1-RELEASE | DHCP |
 ++-----+------------+-------+--------------+------+
 +</code>
 +
 +----
 +
 +===== Troubleshooting =====
 +
 +If this error is seen:
 +
 +<code bash>
 +pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
 +</code>
 +
 +try:
 +
 +<code bash>
 +pkg bootstrap -f
 </code> </code>
  
 ---- ----
  
freenas/jails/upgrade_a_jail.1608573465.txt.gz · Last modified: 2020/12/21 17:57 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki