5 minute read
TrueNAS has an integrated update system to make it easy to keep up to date. For Updating HA systems refer to the Updating a High Availability System guide.
Preparing for Updates
It is best to perform updates at times the TrueNAS system is idle, with no clients connected and no scrubs or other disk activity happening. Most updates require a system reboot. Plan updates around scheduled maintenance times to avoid disrupting user activities.
The update process will not proceed unless there is enough free space in the boot pool for the new update files. If a space warning is shown, go to System > Boot to remove unneeded boot environments.
Updates and Trains
Cryptographically signed update files are used to update TrueNAS. Update files provide flexibility in deciding when to upgrade the system. Updates are installed in a new Boot Environment, giving you the opportunity to install and test an update, but revert to a previous Boot Environment in System > Boot if anything goes wrong.
TrueNAS defines software branches, known as trains. There are several trains available for updates, but the web interface only displays trains that can be selected as an upgrade.
Update trains are labeled with a numeric version followed by a short description. The current version receives regular bug fixes and new features. Supported older versions of TrueNAS only receive maintenance updates. See the Software Development Life Cycle for more details about the development and support timeline for TrueNAS versions.
Several specific words are used to describe the type of train:
STABLE: Bug fixes and new features are available from this train. Upgrades available from a STABLE train are tested and ready to apply to a production environment.
Nightlies: Experimental train used for testing future versions of TrueNAS®.
SDK: Software Developer Kit train. This has additional tools for testing and debugging TrueNAS®.
Note: The UI shows a warning when the currently selected train is not suited for production use. Before using a non-production train, be prepared to experience bugs or problems. Testers are encouraged to submit bug reports at https://jira.ixsystems.com.
Checking for Updates
The system checks daily for updates and downloads an update if one is available.
An alert is issued when a new update becomes available.
The automatic check and download of updates is disabled by unsetting
Check for Updates Daily and Download if Available.
Click ⟳ (Refresh) to perform another check for updates.
To change the train, use the drop-down menu to make a different selection.
Note: The train selector does not allow downgrades. For example, the STABLE train cannot be selected while booted into a Nightly boot environment, or a 9.10 train cannot be selected while booted into a 11 boot environment. To go back to an earlier version after testing or running a more recent version, reboot and select a boot environment for that earlier version. This screen can then be used to check for updates that train.
Information about the update is displayed along with a link to the release notes. It is important to read the release notes before updating to determine if any of the changes in that release impact the use of the system.
Saving the Configuration File
A dialog to save the system configuration file appears before installing updates.
Warning: Keep the system configuration file secure after saving it. The security information in the configuration file could be used for unauthorized access to your TrueNAS system.
Make sure the system is in a low-usage state as described above in Preparing for Updates. Click DOWNLOAD UPDATES to immediately download and install an update.
The Save Configuration dialog appears so the current configuration can be saved to external media.
A confirmation window appears before the update is installed.
Apply updates and reboot system after downloading is set, clicking CONTINUE downloads and applies the update, then reboots the system.
The update can be downloaded for a later manual installation by unsetting
Apply updates and reboot system after downloading.
APPLY PENDING UPDATE is visible when an update is downloaded and ready to install.
Click this button to see a confirmation window.
Confirm and clicking CONTINUE installs the update and reboots the system.
Warning: Each update creates a boot environment. If the update process needs more space, it attempts to remove old boot environments. Boot environments marked with the Keep attribute as shown in System > Boot are not removed. If space for a new boot environment is not available, the upgrade fails. Space on the operating system device can be manually freed by going to System > Boot and removing the Keep attribute or deleting any boot environments that are no longer needed.
Updates can also be manually downloaded and applied in System > Update.
Note: Manual updates cannot be used to upgrade from older major versions.
Go to https://download.freenas.org/ and find an update file of the desired version.
Manual update file names end with
Download the desired update file to your local system. Log in to the TrueNAS web interface and go to System > Update. Click INSTALL MANUAL UPDATE FILE.
The Save Configuration dialog opens. This makes it possible to save a copy of the current configuration to external media for backup in case of an update problem.
After the dialog closes, the manual update screen is shown.
The current version of TrueNAS is shown for verification.
Select the manual update file that was saved to your local system using Browse.
Reboot After Update to reboot the system after the update has been installed.
Click APPLY UPDATE to begin the update.
Update in Progress
Starting an update shows a progress dialog. When an update is in progress, the web interface shows an animated system_update_alt icon in the top row. Dialogs also appear in every active web interface session to warn that a system update is in progress. Do not interrupt a system update.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.