How do i upgrade from 4 to 5 to 6 ?
Is there a guide to in place upgrade?
-
- OMV 5.x
- Upgrade 5.x -> 6.x
- Adrian E
-
-
-
I have been trying to upgrade from OMV V5 to V6 by following the instructions from here, but got stuck here:
Quotepi@pi:~ $ sudo omv-release-upgrade
Upgrading system to 6.0 (Shaitan) ...
This system is running a desktop environment! This setup is not supported.
pi@pi:~ $
Any suggestions on how to overcome this?
This is on a RPI4 4GB, running raspian.
TIA!
-
-
I have been trying to upgrade from OMV V5 to V6 by following the instructions from here, but got stuck here:
Any suggestions on how to overcome this?
This is on a RPI4 4GB, running raspian.
TIA!
Desktop installs have never been supported.
Install the lite os then install OMV on top of it
-
Desktop installs have never been supported.
Install the lite os then install OMV on top of it
Thanks for the prompt reply. I think that's what I actually did a few years ago when I initially set it up. I believe I followed the instructions from here with Raspbian Buster Lite. Is this what you were referring to?
-
Thanks for the prompt reply. I think that's what I actually did a few years ago when I initially set it up. I believe I followed the instructions from here with Raspbian Buster Lite. Is this what you were referring to?
At some point you've installed something that is using desktop packages
-
-
At some point you've installed something that is using desktop packages
Makes sense. So in order for me to upgrade to OMV from V5 to V6 is there a way to salvage the current install* or it is 'nuke and pave' for me?
* I have OMV, Portainer with PiHole installed on the SD card.
-
sudo apt-get purge gdm3 sddm xdm xdm lightdm slim wdm
Some of these packages might not be installed but all of them cannot be installed to install OMV 6.x+
-
sudo apt-get purge gdm3 sddm xdm xdm lightdm slim wdm
Some of these packages might not be installed but all of them cannot be installed to install OMV 6.x+
Thanks much for your reply. I just tried this, followed by the steps laid out before. Unfortunately I am still getting the
"pi@pi:~ $ sudo omv-release-upgrade
Upgrading system to 6.0 (Shaitan) ...
This system is running a desktop environment! This setup is not supported."
...message.
Any other ideas or suggestions I could try?
-
-
Any other ideas or suggestions I could try?
Post the output of the command I gave you. The script is looking for those exact packages.
-
Post the output of the command I gave you. The script is looking for those exact packages.
Here it is:
Code
Display Morepi@pi:~ $ sudo apt-get purge gdm3 sddm xdm xdm lightdm slim wdm Reading package lists... Done Building dependency tree Reading state information... Done Package 'gdm3' is not installed, so not removed Package 'lightdm' is not installed, so not removed Package 'sddm' is not installed, so not removed Package 'slim' is not installed, so not removed Package 'wdm' is not installed, so not removed Package 'xdm' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 170 not upgraded.
-
What about:
dpkg -l | grep -Eqw "gdm3|sddm|lxdm|xdm|lightdm|slim|wdm"
-
-
What about:
dpkg -l | grep -Eqw "gdm3|sddm|lxdm|xdm|lightdm|slim|wdm"
Still no joy.....
After your command I resumed from Step 2:, but ended up with the same error message.Is there anything else I could try?
Here an excerpt of the log (I had to remove parts to still fit the 10,000 character limit of this forum. but I hope it still helps.)
Code
Display MoreLast login: Mon Dec 18 10:17:19 2023 pi@pi:~ $ dpkg -l | grep -Eqw "gdm3|sddm|lxdm|xdm|lightdm|slim|wdm" pi@pi:~ $ sudo omv-upgrade Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< SNIP >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Hit:5 http://security.debian.org/debian-security buster/updates InRelease Get:6 https://openmediavault.github.io/packages usul InRelease [12.7 kB] Get:7 https://openmediavault-plugin-developers.github.io/packages/debian usul In Release [3928 B] Get:8 http://httpredir.debian.org/debian buster-backports InRelease [51.4 kB] Get:9 http://deb.debian.org/debian buster-backports InRelease [51.4 kB] Hit:10 https://download.docker.com/linux/debian buster InRelease Hit:11 http://packages.openmediavault.org/public usul InRelease Hit:12 http://archive.raspberrypi.org/debian buster InRelease Err:8 http://httpredir.debian.org/debian buster-backports InRelease The following signatures couldn't be verified because the public key is not av ailable: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 Hit:13 http://raspbian.raspberrypi.org/raspbian buster InRelease Err:9 http://deb.debian.org/debian buster-backports InRelease The following signatures couldn't be verified because the public key is not av ailable: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 Fetched 16.7 kB in 4s (4543 B/s) Reading package lists... Done W: An error occurred during the signature verification. The repository is not up dated and the previous index files will be used. GPG error: http://httpredir.deb ian.org/debian buster-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_ PUBKEY 6ED0E7B82643E131 W: An error occurred during the signature verification. The repository is not up dated and the previous index files will be used. GPG error: http://deb.debian.or g/debian buster-backports InRelease: The following signatures couldn't be verifi ed because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 W: Failed to fetch http://deb.debian.org/debian/dists/buster-backports/InRelease The following signatures couldn't be verified because the public key is not av ailable: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 W: Failed to fetch http://httpredir.debian.org/debian/dists/buster-backports/InR elease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: aspell avahi-daemon bind9-host bluez cifs-utils cpio curl dbus dbus-x11 dpkg git gstreamer1.0-alsa gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-x gzip isc-dhcp-client libaom0 libarchive13 libaspell15 libavahi-client3 libavahi-common3 libavahi-core7 libbind9-161 libbluetooth3 libncursesw6 libnettle6 libnghttp2-14 libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-image-filter libnginx-mod-mail libnginx-mod-stream libnode64 libnss3 libntfs-3g883 libopenexr23 libopenjp2-7 libopenmpt0 libp11-kit0 libpcre2-16-0 libpcre2-8-0 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< SNIP >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> nginx-full ntfs-3g openjdk-11-jdk openjdk-11-jdk-headless openjdk-11-jre openjdk-11-jre-headless openssh-client openssh-server openssh-sftp-server openssl patch php7.3-bcmath php7.3-cgi php7.3-cli php7.3-common php7.3-fpm php7.3-json php7.3-mbstring php7.3-opcache php7.3-readline php7.3-xml python-cryptography python-ldb python-pil python2.7-dev python2.7-minimal python3-apt python3-cryptography python3-lxml python3-pil python3.7-dev python3.7-minimal rsyslog sudo udisks2 unzip vim-tiny wpasupplicant xz-utils zlib1g zlib1g-dev 170 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 256 MB of archives. After this operation, 39.4 MB of additional disk space will be used. Get:1 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf dpkg armhf 1.19.8 [2143 kB] Get:2 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf gzip armhf 1.9-3+deb10u1 [121 kB] Get:3 http://mirror.umd.edu/raspbian/raspbian buster/main armhf ncurses-bin armh f 6.1+20181013-2+deb10u5 [400 kB] Get:5 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf zlib1 g armhf 1:1.2.11.dfsg-1+deb10u2 [84.6 kB] Get:4 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libfastjson4 arm hf 0.99.8-2+deb10u1 [24.2 kB] Get:6 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf rsysl og armhf 8.1901.0-1+deb10u2 [606 kB] Get:7 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf libne ttle6 armhf 3.4.1-1+deb10u1 [223 kB] Get:8 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf libho gweed4 armhf 3.4.1-1+deb10u1 [130 kB] <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< SNIP >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Get:168 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf unzip armhf 6.0-23+deb10u3 [152 kB] Get:169 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf wpasupplicant armhf 2:2.7+git20190128+0c1e2 9f-6+deb10u3 [1008 kB] Get:170 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-1+deb10u2 [2 03 kB] Fetched 256 MB in 2min 1s (2115 kB/s) apt-listchanges: Reading changelogs... Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 176428 files and directories currently installed.) Preparing to unpack .../archives/dpkg_1.19.8_armhf.deb ... Unpacking dpkg (1.19.8) over (1.19.8) ... Setting up dpkg (1.19.8) ... (Reading database ... 176428 files and directories currently installed.) Preparing to unpack .../gzip_1.9-3+deb10u1_armhf.deb ... Unpacking gzip (1.9-3+deb10u1) over (1.9-3+deb10u1) ... Setting up gzip (1.9-3+deb10u1) ... <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< SNIP >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Processing triggers for libc-bin (2.28-10+rpt2+rpi1+deb10u2) ... Processing triggers for systemd (241-7~deb10u10) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ... Processing triggers for dictionaries-common (1.28.1) ... Processing triggers for php7.3-fpm (7.3.31-1~deb10u5) ... pi@pi:~ $ sudo omv-release-upgrade Upgrading system to 6.0 (Shaitan) ... This system is running a desktop environment! This setup is not supported. pi@pi:~ $
-
Still no joy.....
After your command I resumed from Step 2:, but ended up with the same error message.My command was not meant to do anything other than give me information since I can't see anything on the system.
Is there anything else I could try?
Here an excerpt of the log (I had to remove parts to still fit the 10,000 character limit of this forum. but I hope it still helps.)
I would reinstall. Your system is a mess with a desktop environment and php7.3. It will take too much back and forth to fix.
-
My command was not meant to do anything other than give me information since I can't see anything on the system.
I would reinstall. Your system is a mess with a desktop environment and php7.3. It will take too much back and forth to fix.
Got it. Will do. Thanks much for all your help! I greatly appreciate it.
-
-
Got it. Will do. Thanks much for all your help! I greatly appreciate it.
And use arm64 lite version instead of armhf.
-
Trying to perform my upgrade but it looks like I have an issue with my sources.list. When running sudo omv-release-upgrade I receive error
CodeErr:16 https://deb.debian.org/debian-security bullseye/updates Release 404 Not Found [IP: 151.101.202.132 443]
Later I will receive the error that Repository 'https://deb.debian.org/debian-security bullseye/updates Release' does not have Release file.
My sources.list file:
Codedeb https://deb.debian.org/debian bullseye main contrib non-free deb-src https://deb.debian.org/debian bullseye main contrib non-free deb https://deb.debian.org/debian-security bullseye/updates main contrib non-free deb-src https://deb.debian.org/debian-security bullseye/updates main contrib non-free deb https://deb.debian.org/debian bullseye-updates main contrib non-free deb-src https://deb.debian.org/debian bullseye-updates main contrib non-free
I'm logged into root and I can resolve deb.debain.org so it's not DNS related. Something with that particular source has changed, I'm just not sure how to resolve.
-
Later I will receive the error that Repository 'https://deb.debian.org/debian-security bullseye/updates Release' does not have Release file.
Change the lines to
https://deb.debian.org/debian-security bullseye-updates
Post the output of
sudo omv-upgrade
-
-
Change the lines to
https://deb.debian.org/debian-security bullseye-updates
Post the output of
sudo omv-upgrade
Thank you for the reply!
This looks like an issue with the sudo omv-release-upgrade process. I went back to and restored my disc image and repeated the process and no issues until omv-release-upgrade runs and it fails one bullseye repository and now my sourceslist has the failing library. If I fix it with your code from above and run omv-upgrade, OMV will be removed and not reinstalled, and my system will be broken. I'll try and edit the file and run omv-release-upgrade again or try and find where the scrip is getting its source list from (assuming its local) and edit that.
Code
Display Moresudo omv-release-upgrade Upgrading system to 6.0 (Shaitan) ... Ensure the system is up-to-date before doing the release upgrade ... Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Hit:5 http://security.debian.org/debian-security buster/updates InRelease Hit:6 https://deb.debian.org/debian buster InRelease Get:7 https://openmediavault.github.io/packages usul InRelease [12.7 kB] Hit:8 https://deb.debian.org/debian-security buster/updates InRelease Hit:9 https://deb.debian.org/debian buster-updates InRelease Get:10 https://openmediavault-plugin-developers.github.io/packages/debian usul InRelease [3928 B] Hit:11 https://download.docker.com/linux/debian buster InRelease Hit:12 http://httpredir.debian.org/debian buster-backports InRelease Hit:13 http://linux.teamviewer.com/deb stable InRelease Hit:14 http://packages.openmediavault.org/public usul InRelease Fetched 16.7 kB in 5s (3569 B/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Running pre-upgrade scripts ... Adding 'local diversion of /usr/sbin/omv-mkaptidx to /usr/sbin/omv-mkaptidx.real' Adding 'local diversion of /etc/pam.d/openmediavault to /etc/pam.d/openmediavault.real' Adding 'local diversion of /etc/pam.d/openmediavault-common-auth to /etc/pam.d/openmediavault-common-auth.real' Adding 'local diversion of /etc/pam.d/openmediavault-webgui to /etc/pam.d/openmediavault-webgui.real' '/etc/openmediavault/config.xml' -> '/etc/openmediavault/config.xml.5x.bak' Starting release upgrade ... Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Hit:5 http://linux.teamviewer.com/deb stable InRelease Get:6 https://deb.debian.org/debian bullseye InRelease [116 kB] Get:8 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB] Get:9 https://openmediavault-plugin-developers.github.io/packages/debian shaitan InRelease [3934 B] Ign:10 https://deb.debian.org/debian-security bullseye/updates InRelease Get:11 https://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Hit:12 https://deb.debian.org/debian buster InRelease Hit:13 https://deb.debian.org/debian-security buster/updates InRelease Hit:14 https://deb.debian.org/debian buster-updates InRelease Get:7 https://openmediavault.github.io/packages shaitan InRelease [12.8 kB] Err:15 https://deb.debian.org/debian-security bullseye/updates Release 404 Not Found [IP: 151.101.202.132 443] Get:16 http://packages.openmediavault.org/public shaitan InRelease [12.8 kB] Get:17 https://deb.debian.org/debian bullseye/main Sources [8502 kB] Get:18 https://download.docker.com/linux/debian bullseye/stable amd64 Packages [28.1 kB] Get:19 https://deb.debian.org/debian bullseye/contrib Sources [43.2 kB] Get:20 https://deb.debian.org/debian bullseye/non-free Sources [81.0 kB] Get:21 https://deb.debian.org/debian bullseye/main amd64 Packages [8062 kB] Get:22 https://openmediavault-plugin-developers.github.io/packages/debian shaitan/main amd64 Packages [9375 B] Get:23 https://deb.debian.org/debian bullseye/main Translation-en [6236 kB] Get:24 https://deb.debian.org/debian bullseye/contrib amd64 Packages [50.4 kB] Get:25 https://deb.debian.org/debian bullseye/contrib Translation-en [46.9 kB] Get:26 https://deb.debian.org/debian bullseye/non-free amd64 Packages [96.3 kB] Get:27 https://deb.debian.org/debian bullseye/non-free Translation-en [92.4 kB] Get:28 https://deb.debian.org/debian bullseye-updates/main Sources [7908 B] Get:29 https://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB] Get:30 https://deb.debian.org/debian bullseye-updates/main Translation-en [10.9 kB] Get:31 https://openmediavault.github.io/packages shaitan/main amd64 Packages [13.7 kB] Get:32 http://packages.openmediavault.org/public shaitan/main amd64 Packages [13.7 kB] Reading package lists... Done E: The repository 'https://deb.debian.org/debian-security bullseye/updates Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
-
Looking at the upgrade script, looks like it's at this point the issue occurs.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!