I'm running OMV on my Raspberry Pi since 2020. After a blackout the clock was wrong so I decided to correct it via SSH. I installed ntp and a few minutes later the clock was fixed.
For whatever reason I executed
which removed OMV I tried to re-install it with
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
which worked quite well. The web server and Samba is up again, but unfortunately I cannot login to the web interface.
After entering user name and password it takes a few seconds and then I get
Error #0:
OMV\Rpc\Exception: Failed to connect to socket: No such file or directory in /usr/share/php/openmediavault/rpc/rpc.inc:141
Stack trace:
#0 /var/www/openmediavault/rpc/session.inc(57): OMV\Rpc\Rpc::call('UserMgmt', 'authUser', Array, Array, 2, true)
#1 [internal function]: OMVRpcServiceSession->login(Array, Array)
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('login', Array, Array)
#4 /usr/share/php/openmediavault/rpc/proxy/json.inc(97): OMV\Rpc\Rpc::call('Session', 'login', Array, Array, 3)
#5 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
#6 {main}
I'm not sure which OMV version I was running before I removed it accidentally, but I'm quite sure it was version 5, maybe a pre-release, I cannot remember anymore. I think I made some kind of upgrade with my attempt to re-install OMV, but now I'm stuck.
Here's a list of installed OMV packages, maybe it helps:
dpkg -l | grep openmediavault
iU openmediavault 5.6.16-1 all openmediavault - The open network attached storage solution
rc openmediavault-flashmemory 5.0.7 all folder2ram plugin for OpenMediaVault
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
rc openmediavault-omvextrasorg 5.2.3 all OMV-Extras.org Package Repositories for OpenMediaVault
I don't want to uninstall packages indiscriminately, I end up making the situation even worse.
Additionally I noticed an issue with lvm2:
sudo apt upgrade
Setting up lvm2 (2.03.02-3) ...
update-initramfs: deferring update (trigger activated)
Failed to restart lvm2-lvmpolld.service: Unit lvm2-lvmpolld.socket is masked.
invoke-rc.d: initscript lvm2-lvmpolld, action "restart" failed.
● lvm2-lvmpolld.service - LVM2 poll daemon
Loaded: loaded (/lib/systemd/system/lvm2-lvmpolld.service; static; vendor preset: enabled)
Active: inactive (dead)
Docs: man:lvmpolld(8)
dpkg: error processing package lvm2 (--configure):
installed lvm2 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on lvm2; however:
Package lvm2 is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Errors were encountered while processing:
lvm2
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
I have considered deleting lvm2 completely and reinstalling it, but it says it will also remove the openmediavault package, therefore i have discarded this plan for the time being.