Upgrading Unraid
Upgrading Unraid OS ensures that you have the latest features, security updates, and hardware support. This page outlines the standard upgrade process, along with troubleshooting tips and manual upgrade options.
Before you start upgrading, make sure to create a complete backup of your USB flash device. For more details, refer to Backing up your flash device.
- Make a backup of your flash drive and any important data.
- Read the Release Notes for the version you plan to install.
- Update all plugins to their latest versions.
- Optionally, stop the array before proceeding.
- Update Unraid OS using the Tools → Update OS page.
- Reboot your server to complete the upgrade.
Standard upgrade process
- Unraid 7.x and later
- Unraid 6.11 to 6.12
Upgrading Unraid is done using the new Update OS tool with a user-friendly interface:
- In the WebGUI, click the top-right dropdown menu and select Check for Update or navigate to Tools → Update OS.
- Choose the Stable channel for stable releases, or the Next channel for betas and RCs.
- Click View Changelog to Start Update. The Changelog will appear for you to review before hitting Continue.
- Click Confirm and start update to apply the latest stable release.
- When prompted, reboot your server to complete the upgrade.
You may need to log into your Unraid account to access updates, especially for "Next" branch releases.
For Unraid versions 6.11 and 6.12, follow this traditional update method:
- In the WebGUI, go to Tools → Update OS.
- Click Check for Updates.
- If a new release is available, click Update.
- Reboot your server when prompted.
When upgrading to Unraid 7.x, you may see warnings about ZFS pool feature upgrades during boot or in the WebGUI. These warnings are not a sign of a problem; they simply indicate that your ZFS pool is using features from an older version of ZFS.
Upgrading your pool isn't urgent, but if you do decide to upgrade, keep in mind that it may not work with previous versions of Unraid. This means you may not be able to revert to a previous Unraid version after making the upgrade.
As always, remember to back up your data before upgrading your ZFS pools.
Troubleshooting upgrade issues
If you run into problems after upgrading, check the relevant section below for assistance.
Array or docker containers are slow to start after upgrade - Click to expand/collapse
A one-time migration may be necessary for Docker containers after certain upgrades. This process can take time, especially if you have many images. Be patient during this process; performance should normalize after the initial start.
Docker containers are not working correctly after upgrade - Click to expand/collapse
If you encounter errors like "layers from manifest don't match image configuration," you may need to rebuild your Docker image file. Here’s how:
- Go to Settings → Docker and stop the Docker service.
- Check the box to delete the Docker image and click the delete button.
- Restart Docker to recreate the image.
- Navigate to the Apps tab, Previous Apps and check off what you wish to reinstall and click "Install xx Applications".
VMs show "cannot get interface MTU" or network errors - Click to expand/collapse
If you've used a custom bridge name for VM networking, update all VMs to use the default br0 bridge by following these steps:
- Go to the VMs tab and edit each VM (make sure to enable Advanced View).
- Set the network bridge to
br0and click Apply. - Navigate to Settings → VM Manager (in Advanced View) and set the default bridge to
br0.
VNC access to VMs is not working or is slow - Click to expand/collapse
VM will not boot (EFI shell appears) - Click to expand/collapse
If you have OVMF-based VMs created in older Unraid versions, you might encounter an EFI shell. You can boot the VM by entering the following commands:
- Type
fs0:. - Then type
cd efi/boot. - Finally, type
bootx64.efi.
If fs0: doesn't work, you can try fs1: instead. If you continue to have issues, please visit the Unraid forums for assistance.
Trying to start my VM gives an "Invalid machine type" error - Click to expand/collapse
Poor VM performance after upgrading - Click to expand/collapse
Manual downgrade
Manual downgrades are infrequently necessary but may be needed if you can't access the WebGUI or need to revert to a prior version. Before proceeding, it's important to back up your USB flash device, details of which you can find in Backing up your flash device.
Only use these methods if you can't access the WebGUI:
- Simplest method
- Command line method
- Download the Unraid version ZIP file from the Version History.
- Unzip the file on your computer.
- Access the
flashshare or connect the USB flash device to your computer. - Create a
previousdirectory if it doesn't already exist. - Move all
bz*andchanges.txtfiles into thepreviousdirectory. - Copy the new
bz*andchanges.txtfiles to the root of the flash drive. - Reboot your server.
This method should only be used if you are comfortable with the Linux command line, as mistakes might make your system unbootable.
-
Copy the URL of the desired Unraid version ZIP file from the Version History.
-
Log in via SSH or console.
-
Execute the following commands one at a time (replace
<URL>with the copied link):cd /tmp
rm -f unraid.zip
rm -rf unraid_install
wget -O unraid.zip <URL>
[[ -s unraid.zip ]] && echo "OK to continue" || echo "STOP: the file was not downloaded"
unzip -d unraid_install unraid.zip
[[ -s unraid_install/bzroot ]] && echo "OK to continue" || echo "STOP: the file was not extracted properly"
[[ ! -d /boot/previous ]] && mkdir /boot/previous
mv /boot/bz* /boot/previous
mv /boot/changes.txt /boot/previous
cp unraid_install/bz* /boot
cp unraid_install/changes.txt /boot
sync -f /boot
sleep 5
reboot
When using the Downgrade OS tool (WebGUI), the tool will automatically handle the following:
- System validation: It checks that the downgrade is safe to perform.
- File backup: A backup of your current system files will be created.
- Version verification: The tool ensures that the files for the target version are valid and complete.
- File replacement: It replaces the current OS files with the files from the previous version.
- Configuration preservation: Your current settings will be maintained.
- System preparation: The system will be prepared for the previous version.
- Reboot scheduling: A reboot will be scheduled to finish the downgrade.
Post-downgrade verification
After the downgrade is complete and your server has rebooted:
- Check the version: Verify that you're running the version of Unraid you expect.
- Test core functionality: Ensure that the array, Docker, and VM services are working properly.
- Verify plugins: Check that your installed plugins are compatible and functioning as expected.
- Test Docker containers: Start your Docker containers and confirm they are working correctly.
- Check VMs: If you have any virtual machines (VMs), make sure they start and operate properly. See VM setup for configuration guidance.
- Monitor system logs: Keep an eye on the system logs for any error messages. Use diagnostics tools to capture detailed system information.
Troubleshooting downgrade issues
Downgrade option not available - Click to expand/collapse
If you don’t see an option to downgrade:
- Check system history: Make sure you've previously upgraded from a compatible version.
- Verify file integrity: Previous version files might be corrupted or missing.
- Check compatibility: The earlier version may not be compatible with your current hardware.
- Manual method: If needed, follow the manual downgrade methods outlined on this page.
Downgrade fails during process - Click to expand/collapse
If the downgrade process doesn't go as planned:
- Don’t panic: Your system should still work with the current version.
- Check logs: Take a look at the system logs to find specific error messages. Use diagnostics tools for comprehensive log analysis.
- Verify files: Ensure that all required files for the target version are available.
- Try the manual method: If the tool doesn't work, consider using the manual downgrade methods.
- Contact support: If problems continue, reach out to Unraid support with your diagnostics.
System won't boot after downgrade - Click to expand/collapse
If your system doesn’t boot after downgrading:
- Boot from USB: Use another computer to access your USB flash device. See boot troubleshooting for detailed recovery steps.
- Restore from backup: Copy your backup files back to the USB device.
- Check file integrity: Make sure all system files are present and not damaged.
- Try Safe Mode: Boot into Safe Mode for further troubleshooting.
- Manual recovery: If necessary, utilize the manual recovery methods.
Plugins or Docker containers not working - Click to expand/collapse
After downgrading, some plugins or containers may not function properly:
- Update plugins: Look for plugin updates that work with the downgraded version. Check Community Applications for compatible versions.
- Rebuild Docker: Delete and recreate your Docker image file. See Docker troubleshooting for detailed steps.
- Check dependencies: Ensure that all necessary dependencies are available.
- Plugin compatibility: Some plugins might not support earlier Unraid versions.
- UI/WebGUI feature-dependent plugins: Plugins relying on newer WebGUI features may not operate correctly on older versions.
- Theme plugins: Visual customization plugins may require updates or removal if they are incompatible.