User Tools

Site Tools


pfsense:upgrade_pfsense

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
pfsense:upgrade_pfsense [2020/04/09 17:44] – [Perform the Update] peterpfsense:upgrade_pfsense [2021/01/06 14:23] (current) – [Prepare a fall back plan] peter
Line 1: Line 1:
 ====== PFSense - Upgrade PFSense ====== ====== PFSense - Upgrade PFSense ======
  
 +
 +<WRAP important>
 +**IMPORTANT:**  Do not upgrade packages until after you have updated pfSense itself.
 +</WRAP>
 +
 +
 +
 +
 +----
  
 ===== Take a backup ===== ===== Take a backup =====
Line 31: Line 40:
 If the upgrade fails for some reason, you could reinstall it from this USB stick, and then just reapply the changes you need. If the upgrade fails for some reason, you could reinstall it from this USB stick, and then just reapply the changes you need.
  
-As extra step, you could also have a another USB stick written with the current pfSense image file.+As an extra step, you could also have a another USB stick written with the current pfSense image file.
  
 This would allow you to revert the system to the existing version if really needed. This would allow you to revert the system to the existing version if really needed.
Line 58: Line 67:
  
 ===== Perform the Update ===== ===== Perform the Update =====
 +
 +From the GUI:
  
 Navigate to **System -> Update**. Navigate to **System -> Update**.
  
   * Set **Branch** to Latest stable version.   * Set **Branch** to Latest stable version.
 +  * Click on "Confirm".
 +
 +{{:pfsense:pfsense_system_update.png?800|}}
 +
 +----
 +
    
 +
 +==== Update manually (optional) ====
 +
 +From the console or ssh:
 +
 +  * Select option 13 OR select option 8
 +
 +{{:pfsense:pfsense_shell_options.png?800|}}
 +
 +and run:
 +
 +<code bash>
 +pfSense-upgrade
 +</code>
  
 An alternative method is to use the following commands from the console or shell: An alternative method is to use the following commands from the console or shell:
Line 88: Line 119:
 A log of the last update attempt is located at /conf/upgrade_log.latest.txt. A log of the last update attempt is located at /conf/upgrade_log.latest.txt.
  
 +If the update check fails, or the update does not complete, run the following to ensure that pfSense-upgrade is present.
 +
 +<code bash>
 +pkg-static update 
 +pkg-static upgrade -fy
 +
 +pkg install -y pfSense-upgrade
 +</code>
 +
 +----
 +
 +Could also try, after choosing Option 8,
 +
 +<code>
 +ifconfig
 +cpsw0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
 +        options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
 +        ether 68:9e:19:9c:a6:59
 +        hwaddr 68:9e:19:9c:a6:59
 +        media: Ethernet autoselect (1000baseT <full-duplex>)
 +        status: active
 +        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
 +...
 +</code>
 +
 +Use the first NIC shown above in the following:
 +
 +<code bash>
 +dhclient cpsw0 
 +pkg-static update 
 +pkg-static upgrade -fy
 +</code>
  
 ---- ----
Line 94: Line 157:
  
 https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html
 +
 +https://docs.netgate.com/pfsense/en/latest/install/upgrading-pfsense-software-installations.html
  
 https://docs.netgate.com/pfsense/en/latest/install/upgrade-troubleshooting.html https://docs.netgate.com/pfsense/en/latest/install/upgrade-troubleshooting.html
 +
 +https://files.pfsense.org/hashes/
  
pfsense/upgrade_pfsense.1586454283.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki