Yesterday I did an upgrade from 1.19 to 2.x.x. But since I saw something about OMV3 so I figured: Why stop at 2 when you can have 3? So without much thought I pressed the up arrow and enter. Upgrading to 3.0.25. The upgrade took a while, I used the time to click through the forum and read:
ZitatDo not use omv-release-upgrade to upgrade your OMV 2.x to 3.x. It may damage your installation completely at the moment!
The drives are still reachable but the webgui isn't. In don't expect much help and I know that it would be easier to reinstall but I also see it as a challenge and a chance to learn some more about linux.
First I downgraded to 3.0.13 and took the version to hold like it's described earlier. Than I tried:
- apt-get clean, apt-get update, apt-get upgrade, apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libclass-isa-perl libgd2-noxpm libgssglue1 libjs-extjs4 libminiupnpc5
libnatpmp1 libswitch-perl ttf-dejavu-core
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
btrfs-tools libaio1 libperl4-corelibs-perl samba-vfs-modules systemd-sysv
udev
The following NEW packages will be installed:
btrfs-tools libaio1 libperl4-corelibs-perl samba-vfs-modules systemd-sysv
The following packages will be upgraded:
udev
1 upgraded, 5 newly installed, 0 to remove and 218 not upgraded.
2 not fully installed or removed.
Need to get 0 B/1,645 kB of archives.
After this operation, 8,530 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
(Reading database ... 37917 files and directories currently installed.)
Preparing to unpack .../udev_215-17+deb8u4_armhf.deb ...
Since release 198, udev requires support for the following features in
the running kernel:
- inotify(2) (CONFIG_INOTIFY_USER)
- signalfd(2) (CONFIG_SIGNALFD)
- accept4(2)
- open_by_handle_at(2) (CONFIG_FHANDLE)
- timerfd_create(2) (CONFIG_TIMERFD)
- epoll_create(2) (CONFIG_EPOLL)
Please upgrade your kernel before or while upgrading udev.
AT YOUR OWN RISK, you can force the installation of this version of udev
WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
There is always a safer way to upgrade, do not try this unless you
understand what you are doing!
dpkg: error processing archive /var/cache/apt/archives/udev_215-17+deb8u4_armhf.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Errors were encountered while processing:
/var/cache/apt/archives/udev_215-17+deb8u4_armhf.deb
Creating index of upgradeable packages ...
Creating index of openmediavault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
- removed the keyrings and extras the only two plugins present
- omv-engined -f
PHP Notice: Undefined index: OMV_ENGINED_SO_OWNERGROUP_NAME in /usr/sbin/omv-engined on line 389
PHP Warning: chgrp(): parameter 2 should be string or integer, null given in /usr/sbin/omv-engined on line 389
- /etc/init.d/openmediavault stop, /etc/init.d/openmediavault start
Cleaning up...rm: cannot remove ‘/var/lib/php5/modules’: Is a directory
rm: cannot remove ‘/var/lib/php5/sessions’: Is a directory
failed.
I removed the two folders manually now it just says:
Since I can't install anything due to unmet dependencies like udev, I tried to update the Kernel, but can't do that due to unmet dependencies oO.