Hi, I know that this problem has been agitated several times but I didn't find solution.
Before updating from 2.2.14 to 3 I've uninstalled all plugins and omv extras from webgui.
After that I put from console: omv-release-upgrade
When it finished I've reboot WD My cloud and I can access to my shared folder, I can login by console but I can't log in by webgui. When I tried to do that there is no error, page is blank.
I tried : omv-firstaid after that I have results:
Traceback (most recent call last):
File "/usr/sbin/omv-firstaid", line 24, in <module>
import natsort
ImportError: No module named 'natsort'
When I put: dpkg -l | grep openm
I have:
iU openmediavault 3.0.89 all
Open network attached storage solution
Next steps what I did:
omv-update - after that I received monit alert:
1)
Execution failed Service nginx
Date: Sun, 22 Oct 2017 09:51:05
Action: alert
Host: MyCloud.local
Description:failed to start
2)
Does not exist Service nginx
Date: Sun, 22 Oct 2017 09:51:35
Action: restart
Host: MyCloud.local
Description:process is not running
3)
Does not exist Service omv-engined
Date: Sun, 22 Oct 2017 09:54:59
Action: restart
Host: MyCloud.local
Description:process is not running
I also run:
apt-get update
apt-get upgrade - after that I've received information:
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
consolekit : Breaks: udev (< 204-1) but 175-7.2 is installed
lsof : Depends: libperl4-corelibs-perl but it is not installed or
perl (< 5.12.3-7) but 5.20.2-3+deb8u9 is installed
openmediavault : Depends: systemd but it is not installed
Depends: systemd-sysv but it is not installed
Depends: samba-vfs-modules but it is not installed
Depends: pciutils but it is not installed
Depends: python3-pyudev but it is not installed
Depends: python3-natsort but it is not installed
Depends: jq but it is not installed
Depends: python3-netifaces but it is not installed
Depends: apt-transport-https but it is not installed
Depends: python3-lxml but it is not installed
Depends: btrfs-tools but it is not installed or
btrfs-progs but it is not installable
E: Unmet dependencies. Try using -f.
so I've put: apt-get -f install
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 libdconf0 libffi5 libhal1 libjs-extjs5 libmemcached10
libprotobuf-c0 librabbitmq0 libswitch-perl libupsclient1 libvarnishapi1
php-json-schema python3.2 python3.2-minimal tftpd-hpa
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
apt-transport-https btrfs-tools dmeventd dmsetup jq libaio1
libasn1-8-heimdal libcap2-bin libcryptsetup4 libcups2 libdevmapper1.02.1
libgmp10 libgnutls-deb0-28 libhcrypto4-heimdal libhdb9-heimdal
libheimbase1-heimdal libhogweed2 libhx509-5-heimdal libkrb5-26-heimdal
libldb1 liblvm2cmd2.02 libmount1 libnettle4 libntdb1 libp11-kit0
libperl4-corelibs-perl libroken18-heimdal libsmartcols1 libtalloc2
libtasn1-6 libtdb1 libtevent0 libwbclient0 libwind0-heimdal lvm2 mount
pciutils python-crypto python-dnspython python-ldb python-ntdb python-samba
python-talloc python-tdb python3-lxml python3-natsort python3-netifaces
python3-pyudev samba samba-common samba-common-bin samba-dsdb-modules
samba-libs samba-vfs-modules systemd systemd-sysv udev
Suggested packages:
cups-common gnutls-bin thin-provisioning-tools python-crypto-dbg
python-crypto-doc python3-lxml-dbg bind9 bind9utils ctdb ldb-tools
smbldap-tools winbind heimdal-clients systemd-ui
Recommended packages:
libpam-cap python-natsort-doc attr libpam-systemd
The following NEW packages will be installed:
apt-transport-https btrfs-tools dmeventd jq libaio1 libasn1-8-heimdal
libcap2-bin libcryptsetup4 libgnutls-deb0-28 libhcrypto4-heimdal
libhdb9-heimdal libheimbase1-heimdal libhogweed2 libhx509-5-heimdal
libkrb5-26-heimdal libldb1 liblvm2cmd2.02 libnettle4 libntdb1
libperl4-corelibs-perl libroken18-heimdal libsmartcols1 libtasn1-6
libtevent0 libwind0-heimdal pciutils python-crypto python-dnspython
python-ldb python-ntdb python-samba python-talloc python-tdb python3-lxml
python3-natsort python3-netifaces python3-pyudev samba-dsdb-modules
samba-libs samba-vfs-modules systemd systemd-sysv
The following packages will be upgraded:
dmsetup libcups2 libdevmapper1.02.1 libgmp10 libmount1 libp11-kit0
libtalloc2 libtdb1 libwbclient0 lvm2 mount samba samba-common
samba-common-bin udev
15 upgraded, 42 newly installed, 0 to remove and 252 not upgraded.
151 not fully installed or removed.
Need to get 0 B/17.6 MB of archives.
After this operation, 32.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 47407 files and directories currently installed.)
Preparing to unpack .../udev_215-17+deb8u7_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+deb8u7_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
Preparing to unpack .../dmsetup_2%3a1.02.90-2.2+deb8u1_armhf.deb ...
Unpacking dmsetup (2:1.02.90-2.2+deb8u1) over (2:1.02.74-8) ...
Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.90-2.2+deb8u1_armhf.deb ...
Unpacking libdevmapper1.02.1:armhf (2:1.02.90-2.2+deb8u1) over (2:1.02.74-8) ...
Preparing to unpack .../libmount1_2.25.2-6_armhf.deb ...
Unpacking libmount1:armhf (2.25.2-6) over (2.20.1-5.3) ...
Errors were encountered while processing:
/var/cache/apt/archives/udev_215-17+deb8u7_armhf.deb
Creating index of upgradeable packages ...
Creating index of openmediavault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
next step:
apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
consolekit : Breaks: udev (< 204-1) but 175-7.2 is installed
lsof : Depends: libperl4-corelibs-perl but it is not installed or
perl (< 5.12.3-7) but 5.20.2-3+deb8u9 is installed
openmediavault : Depends: systemd but it is not installed
Depends: systemd-sysv but it is not installed
Depends: samba-vfs-modules but it is not installed
Depends: pciutils but it is not installed
Depends: python3-pyudev but it is not installed
Depends: python3-natsort but it is not installed
Depends: jq but it is not installed
Depends: python3-netifaces but it is not installed
Depends: apt-transport-https but it is not installed
Depends: python3-lxml but it is not installed
Depends: btrfs-tools but it is not installed or
btrfs-progs but it is not installable
E: Unmet dependencies. Try using -f.
next step:
apt-get -f install
I do also:
apt-get -y install nginx
and I have next monit:
1)
Execution failed Service nginx
Date: Sun, 22 Oct 2017 10:13:51
Action: alert
Host: MyCloud.local
Description:failed to start
2)
Does not exist Service omv-engined
Date: Sun, 22 Oct 2017 10:13:52
Action: restart
Host: MyCloud.local
Description:process is not running
I tried also this:
root@MyCloud:~# omv-mkconf nginx
root@MyCloud:~# omv-mkconf php5fpm
root@MyCloud:~# service nginx restart
Restarting nginx: nginx: [emerg] open() "/etc/nginx/fastcgi.conf" failed (2: No such file or directory) in /etc/nginx/sites-enabled/openmediavault-webgui:32
nginx: configuration file /etc/nginx/nginx.conf test failed
root@MyCloud:~# service php5-fpm restart
Thanks for help.