Original: https://forum.openmediavault.org/index.php?thread/42340-is-there-a-guide-to-in-place-upgrade/&postID=305564#post305564
- Backup the OS drive (this is allways a good idea, not only for upgrades)
- Make sure, you have enough free space on your os drive
- Check any installed plugins if they have been ported to OMV6
If you are using plugins which have not been / will not be ported, get rid of the plugins except unionfs / mergefolderfs. These two will automatically be be converted to the newer mergerfs plugin
(Many plugins can be replaced by docker containers. Do this before upgrading) - If you installed software from foreign repos make sure they have a release for bullseye or remove the repos / software
- Go to the cli (Putty, ssh, keyboard) and run these commands (In case of errors stop and ask on the forum before makingthings worse)
- Make sure your current install is correct all configs can be deployed by running sudo omv-salt stage run deploy
- Get the current install up to date: sudo omv-upgrade
- Do the release upgrade by running sudo omv-release-upgrade
If you see an error message from patch which says a patch has alredy been applied, ignore it. (this is the only error to be ignored)
- Wait for the last script to finish and reboot.
- Refresh/clear browser cache (Crtl-Shift R on most browsers)
- Check if all services and docker containers are running as you expect.
- If you see Linux image Updates you can not install on the UI, go to the cli and run omv-upgrade once more.
Troubleshooting
If no plugins are visible try to run these commands:
rm -f /usr/sbin/omv-mkaptidx
dpkg-divert --remove --rename /usr/sbin/omv-mkaptidx
omv-mkaptidx