Hello,
I have found another to make the upgrade and it works
rm /etc/apt/sources.list.d/omv-extras-org.list
vi /etc/apt/sources.list.d/openmediavault.list
-Write in it
deb https://packages.openmediavault.org/public usul main
-empty other lines
- Upgrade debian
sed -i 's/stretch/buster/g' /etc/apt/sources.list
apt update
-always answer No
apt-get --yes --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends --option Dpkg::Options::="--force-confdef" --option DPkg::Options::="--force-confold" upgrade
apt-get --yes --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends --option Dpkg::Options::="--force-confdef" --option DPkg::Options::="--force-confold" dist-upgrade
-To solve the DNS problem that doesn't work anymore (it is possible that it will be needed later a second time)
sudo systemctl disable systemd-resolved.service
systemctl stop systemd-resolved.service
sudo rm /etc/resolv.conf
sudo vi /etc/resolv.conf
nameserver 8.8.8.8
systemctl start systemd-resolved.service
sudo systemctl enable systemd-resolved.service
- End of the DNS Problem
-Control that everything is fine
apt-get update
apt-get upgrade
apt-get purge openmediavault-*
- remove necessary things if there are errors (zfs, docker...)
- Solve the error 502 when omv-firstaid is done.
apt-get purge openmediavault
apt-get --yes --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends --option Dpkg::Options::="--force-confdef" --option DPkg::Options::="--force-confold" install openmediavault-keyring openmediavault
omv-confdbadm populate
omv-firstaid
-- After that omv-firstaid won't kill omv anymore---------
- Install the extras from version 5
wget http://omv-extras.org/openmedi…extrasorg_latest_all5.deb
dpkg -i openmediavault-omvextrasorg_latest_all5.deb
- Go in the GUI
Allow backport
Do Update and Upgrade from GUI
Select new kernel 5.2 by default
reboot
- In a terminal to compile ZFS (or use the proxmox kernel)
apt-get install linux-headers-$(uname -r)
- in the GUI
install mv-zfs 5
- in a terminal
/sbin/modprobe zfs
apt-get update
apt-get upgrade
apt-get reinstall zfs-dkms
- correct the problem with the mount (rm -R with the directory if the mount is not possible
apt-get reinstall zfs-dkms
- This time all will be fine
apt-get update
apt-get dist-upgrade
Now it works perfectly (in a virtual machine)