I can't seem to upgrade from OMV6 to 7, I have tried on three occasions (one via Wetty that seemed to become unresponsive and twice via terminal/ssh) and it seems to fail everytime. After my failed second attempt, I thought it was because I forgot to disable backports before upgrading but I checked the output (via terminal) of my backports after upgrading and it stated backports were disabled. Thinking the issue was fixed, I stupdly ran omv-release upgrade again and this seems to have borked the sysem even more. Last time I recovered with apt --fix broken install but this is no longer working.
Here is the log (shortened due to character limit) of my last most recent attempt at upgrading that seems to have made things even worse as I can no longer recover via apt --fix-broken install or omv-firstaid.
QuoteDisplay Moreroot@xxxomv:~# omv-release-upgrade
Upgrading system to 7.0 (Sandworm) ...
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:4 file:/var/cache/openmediavault/archives Translation-en
Hit:5 http://deb.debian.org/debian bookworm InRelease
Hit:6 http://security.debian.org/debian-security bookworm-security InRelease
Hit:7 http://deb.debian.org/debian bookworm-updates InRelease
Hit:8 http://packages.openmediavault.org/public shaitan InRelease
Get:9 https://openmediavault.github.io/packages shaitan InRelease [12.8 kB]
Get:10 https://pkgs.tailscale.com/stable/debian bullseye InRelease
Fetched 19.3 kB in 1s (32.1 kB/s)
Reading package lists... Done
N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/release…ation.html#non-free-split
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
avahi-daemon beep bsdmainutils fuse libnfsidmap2 libnode72 libnss-mdns
linux-image-6.1.0-0.deb11.13-amd64 openmediavault openmediavault-backup
openmediavault-borgbackup openmediavault-diskstats openmediavault-fail2ban
openmediavault-flashmemory openmediavault-locate
openmediavault-luksencryption openmediavault-podman
openmediavault-sharerootfs openmediavault-usbbackup openmediavault-wetty
php-pam php7.4-bcmath php7.4-cgi php7.4-cli php7.4-common php7.4-fpm
php7.4-json php7.4-mbstring php7.4-opcache php7.4-readline php7.4-xml
salt-minion telnet
The following NEW packages will be installed:
cron-daemon-common dbus-user-session eslint fuse3 handlebars
inetutils-telnet libabsl20220623 libaom3 libavif15 libcbor0.8 libdav1d6
libde265-0 libevent-core-2.1-7 libfuse3-3 libgav1-1 libhashkit2 libheif1
libicu72 libjs-async libjs-events libjs-prettify libjs-regenerate
libjs-source-map libjs-sprintf-js libjs-util liblerc4 libnfsidmap1
libnode108 libntfs-3g89 libnuma1 libpam-systemd libproc2-0 libpython3.11
465 upgraded, 287 newly installed, 33 to remove and 0 not upgraded.
Need to get 0 B/287 MB of archives.
After this operation, 78.1 MB of additional disk space will be used.
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 55551 files and directories currently installed.)
Preparing to unpack .../base-files_12.4+deb12u10_amd64.deb ...
Unpacking base-files (12.4+deb12u10) over (12.4+deb12u9) ...
Setting up base-files (12.4+deb12u10) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 55551 files and directories currently installed.)
Preparing to unpack .../libc6_2.36-9+deb12u10_amd64.deb ...
Unpacking libc6:amd64 (2.36-9+deb12u10) over (2.36-9+deb12u9) ...
Setting up libc6:amd64 (2.36-9+deb12u10) ...
(Reading database ... 55551 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.36-9+deb12u10_amd64.deb ...
Unpacking libc-bin (2.36-9+deb12u10) over (2.36-9+deb12u9) ...
Setting up libc-bin (2.36-9+deb12u10) ...
(Reading database ... 55548 files and directories currently installed.)
Removing openmediavault-luksencryption (6.0.1) ...
Removing openmediavault-locate (6.0) ...
dpkg: bsdmainutils: dependency problems, but removing anyway as you requested:
salt-minion depends on bsdmainutils.
Removing bsdmainutils (12.1.8) ...
dpkg: openmediavault: dependency problems, but removing anyway as you requested:
openmediavault-wetty depends on openmediavault (>= 6.5.4).
openmediavault-usbbackup depends on openmediavault (>= 6.5.0).
openmediavault-sharerootfs depends on openmediavault (>= 6.5.0).
openmediavault-podman depends on openmediavault (>= 6.9.4).
......
Removing openmediavault (6.9.16-1) ...
Removing avahi-daemon (0.8-10+deb12u1) ...
Created symlink /run/systemd/system/avahi-daemon.service -> /dev/null.
Removed "/run/systemd/system/avahi-daemon.service".
Removing beep (1.4.9-1+b1) ...
Removing salt-minion (3006.0+ds-1+214.1) ...
Selecting previously unselected package libfuse3-3:amd64.
(Reading database ... 54228 files and directories currently installed.)
Preparing to unpack .../libfuse3-3_3.14.0-4_amd64.deb ...
Unpacking libfuse3-3:amd64 (3.14.0-4) ...
Preparing to unpack .../ntfs-3g_1%3a2022.10.3-1+deb12u2_amd64.deb ...
Unpacking ntfs-3g (1:2022.10.3-1+deb12u2) over (1:2017.3.23AR.3-4+deb11u4) ...
(Reading database ... 54229 files and directories currently installed.)
Removing fuse (2.9.9-5) ...
update-initramfs: deferring update (trigger activated)
Selecting previously unselected package fuse3.
(Reading database ... 54221 files and directories currently installed.)
Preparing to unpack .../fuse3_3.14.0-4_amd64.deb ...
Unpacking fuse3 (3.14.0-4) ...
Preparing to unpack .../nfs-kernel-server_1%3a2.6.2-4+deb12u1_amd64.deb ...
Unpacking nfs-kernel-server (1:2.6.2-4+deb12u1) over (1:1.3.4-6+deb11u1) ...
............
Unpacking libnode108:amd64 (18.19.0+dfsg-6~deb12u2) ...
(Reading database ... 54942 files and directories currently installed.)
Removing libnss-mdns:amd64 (0.15.1-3) ...
Removing linux-image-6.1.0-0.deb11.13-amd64 (6.1.55-1~bpo11+1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.1.0-0.deb11.13-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.1.0-31-amd64
Found initrd image: /boot/initrd.img-6.1.0-31-amd64
Found linux image: /boot/vmlinuz-6.1.0-0.deb11.17-amd64
Found initrd image: /boot/initrd.img-6.1.0-0.deb11.17-amd64
done
Removing openmediavault-backup (6.1.1) ...
/var/lib/dpkg/info/openmediavault-backup.postrm: 6: .: cannot open /usr/share/openmediavault/scripts/helper-functions: No such file
dpkg: error processing package openmediavault-backup (--remove):
installed openmediavault-backup package post-removal script subprocess returned error exit status 2
dpkg: too many errors, stopping
Errors were encountered while processing:
openmediavault-backup
Processing was halted because there were too many errors.
At this point, I couldn't log into my cli (though my docker containers were all running well). I tried fixing things by running
apt --fix-broken install at which point I got this output:
QuoteDisplay Moreroot@xxxomv:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
avahi-daemon beep bsdmainutils libevent-core-2.1-7 libnss-mdns libntfs-3g89 openmediavault salt-minion
Suggested packages:
avahi-autoipd calendar vacation mailutils avahi-autoipd | zeroconf python3-augeas
Recommended packages:
debconf-utils net-tools
The following packages will be REMOVED:
openmediavault-backup
The following NEW packages will be installed:
avahi-daemon beep bsdmainutils libevent-core-2.1-7 libnss-mdns libntfs-3g89 openmediavault salt-minion
0 upgraded, 8 newly installed, 1 to remove and 454 not upgraded.
20 not fully installed or removed.
Need to get 2,683 kB/2,978 kB of archives.
After this operation, 14.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bookworm/main amd64 avahi-daemon amd64 0.8-10+deb12u1 [83.0 kB]
Get:2 http://packages.openmediavault.org/public shaitan/main amd64 salt-minion all 3006.0+ds-1+214.1 [126 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 beep amd64 1.4.9-1+b1 [32.2 kB]
Get:4 http://packages.openmediavault.org/public shaitan/main amd64 openmediavault all 6.9.16-1 [2,415 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 bsdmainutils all 12.1.8 [5,952 B]
Get:6 http://deb.debian.org/debian bookworm/main amd64 libnss-mdns amd64 0.15.1-3 [20.6 kB]
Fetched 2,683 kB in 1s (2,111 kB/s)
Preconfiguring packages ...
(Reading database ... 49938 files and directories currently installed.)
Removing openmediavault-backup (6.1.1) ...
/var/lib/dpkg/info/openmediavault-backup.postrm: 6: .: cannot open /usr/share/openmediavault/scripts/helper-functions: No such file
dpkg: error processing package openmediavault-backup (--remove):
installed openmediavault-backup package post-removal script subprocess returned error exit status 2
dpkg: too many errors, stopping
Errors were encountered while processing:
openmediavault-backup
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried running omv-firstaid but get a command not found error.
Quoteroot@xxxomv:~# omv-firstaid
-bash: omv-firstaid: command not found
I am not sure what happened here as I was careful not to modify core files outside the OMV gui, I think I ran sudo apt update once or twice via the terminal and played around with a config file (can't recall the file anymore) regarding time syncing as OMV kept resetting it's time and I could not log in. This was before I realised it was an issue in my BIOS that I fixed.
Can anyone help me get my system back up and running and upgraded to OMV7? When I try to access my gui/dashboard I get error 403.