freenas:update_freenas:update_freenas_to_truenas
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
freenas:update_freenas:update_freenas_to_truenas [2020/11/13 14:08] – peter | freenas:update_freenas:update_freenas_to_truenas [2021/01/25 09:29] (current) – [Check Alerts] peter | ||
---|---|---|---|
Line 7: | Line 7: | ||
* Check if Pools are Healthy, do not need re-silvering and are online. | * Check if Pools are Healthy, do not need re-silvering and are online. | ||
* If Pools do need remediation then do this prior to upgrading. | * If Pools do need remediation then do this prior to upgrading. | ||
- | * Backup of the actual data taken, just in case. | + | * Backup of the actual data, just in case. |
- | * Check services and ensure they are running. | + | * Check services and ensure they are running |
* Ensure Plugins and Jails are running okay. | * Ensure Plugins and Jails are running okay. | ||
* Ensure Virtual machines are running okay. | * Ensure Virtual machines are running okay. | ||
- | * Stop any running Virtual machines. | + | * Stop any running Virtual machines. Just as a precaution. |
- | * Take a backup of system configuration. | + | * Take a backup of system configuration. |
Line 41: | Line 41: | ||
{{: | {{: | ||
- | We select | + | Select |
{{: | {{: | ||
Line 78: | Line 78: | ||
Eventually, when done, Log back in. | Eventually, when done, Log back in. | ||
- | [todo - put login screenshot] | + | {{: |
It will display an introductory help message: | It will display an introductory help message: | ||
Line 91: | Line 91: | ||
---- | ---- | ||
- | CHECK | + | ===== Check Alerts ===== |
- | UPGRADE POOL | + | Check any alerts: |
- | UPDATE JAILS | + | {{:freenas: |
- | * Take snapshot first, from Pools. | + | |
- | * Try update through option under GUI Jail menu. | + | |
- | * If not moved to version 12, then need to use command line: | + | |
- | * Type " | + | |
- | * Choose option to move to | + | |
- | * Type " | + | |
- | * where PlexServer is the name of the Jail | + | |
- | * Does this look reasonable prompts - enter Y | + | |
- | * If you get asked to run something like "/ | + | |
- | * Start Jail through GUI. | + | |
- | * Go to Shell, using option under the actual Jail. | + | |
- | * Type " | + | |
- | * Type " | + | |
- | * Check Jail version is now updated. | + | |
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | The other message shown here is around Plex Jail update. | ||
+ | |||
+ | These will both be updated in the next steps. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Upgrade Pool ===== | ||
+ | |||
+ | Navigate to **Storage -> Pools**. | ||
+ | |||
+ | Click the Gears icon and select **Upgrade Pool**. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Take head of the warning: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | <WRAP important> | ||
+ | **WARNING**: | ||
+ | |||
+ | Once the upgrade is done then the Pool cannot be used with the old FreeNAS version. | ||
+ | |||
+ | </ | ||
+ | |||
+ | This will confirm the Pool has been upgraded. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Upgrade Jails ===== | ||
+ | |||
+ | Take snapshot first, from Pools. | ||
+ | |||
+ | * Navigate to **Storage -> Pools**. | ||
+ | * Expand the **iocage** to show the **Jails**. | ||
+ | * Select the **Create Snapshot** option by clicking the 3 dots to right-side of the **jails** filesystem. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | Navigate to **Jails**. | ||
+ | |||
+ | Select the Jail to update and click the **Update** button: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Confirm the update: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | If the update is Successful, then check that the actual version number showing against the Jail is definitely version 12 or higher, as appropriate for TrueNAS. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** This shows that the update failed as a full Upgrade of the Jail is needed. | ||
+ | |||
+ | This Full Upgrade will be done through the shell. | ||
+ | |||
+ | </ | ||
+ | |||
+ | Navigate to the **Shell** menu. | ||
+ | |||
+ | Type " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE**: This will display all available versions. | ||
+ | |||
+ | Per the above screenshot, option 5 seems to be the most recent, so select this option. | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | Entering the Option that is wanted, 5 in this case will then do the upgrade: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | Try to run this. No worries if this does not run. | ||
+ | |||
+ | </ | ||
+ | |||
+ | Upgrade Plex, by typing **iocage upgrade -r 12.2-RELEASE PlexServer**: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE**: | ||
+ | |||
+ | If so then try a previous version, such as 12.1 by typing **iocage upgrade -r 12.1-RELEASE PlexServer** | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | Verify that the Jail is on the latest release: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | Navigate to **Jails**. | ||
+ | |||
+ | Select the Jail to update and click the **Update** button: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Backup ===== | ||
+ | |||
+ | It is recommended to take a full backup of the system again which will be on the new version. | ||
- | BACKUP system which is on new version. | + | If a restore were needed going forward, the backup would already be on this version, otherwise you may need to have to repeat the full upgrade process again, if using an older backup. |
freenas/update_freenas/update_freenas_to_truenas.1605276539.txt.gz · Last modified: 2020/11/13 14:08 by peter