pfsense:upgrade_pfsense
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pfsense:upgrade_pfsense [2020/04/09 19:08] – [Perform the Update] peter | pfsense: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: | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
===== 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 a 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 73: | Line 82: | ||
==== Update manually (optional) ==== | ==== Update manually (optional) ==== | ||
+ | |||
+ | From the console or ssh: | ||
+ | |||
+ | * Select option 13 OR select option 8 | ||
+ | |||
+ | {{: | ||
+ | |||
+ | and run: | ||
+ | |||
+ | <code bash> | ||
+ | pfSense-upgrade | ||
+ | </ | ||
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 101: | Line 122: | ||
<code bash> | <code bash> | ||
+ | pkg-static update | ||
+ | pkg-static upgrade -fy | ||
+ | |||
pkg install -y pfSense-upgrade | pkg install -y pfSense-upgrade | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Could also try, after choosing Option 8, | ||
+ | |||
+ | < | ||
+ | ifconfig | ||
+ | cpsw0: flags=8802< | ||
+ | options=8000b< | ||
+ | ether 68: | ||
+ | hwaddr 68: | ||
+ | media: Ethernet autoselect (1000baseT < | ||
+ | status: active | ||
+ | nd6 options=21< | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | Use the first NIC shown above in the following: | ||
+ | |||
+ | <code bash> | ||
+ | dhclient cpsw0 | ||
+ | pkg-static update | ||
+ | pkg-static upgrade -fy | ||
</ | </ | ||
Line 113: | Line 161: | ||
https:// | https:// | ||
+ | |||
+ | https:// | ||
pfsense/upgrade_pfsense.1586459320.txt.gz · Last modified: 2020/07/15 09:30 (external edit)