Apologies for being uneducated and breaking things;
I have an OMV system on a Raspberry Pi that I try to keep mostly hands-off, and keep up to date with unattended upgrades. However I did something that seems to have broken things.
The problems seem to have started when I accidentally installed 'ntp.' I did not realize what it was for, and that OMV uses chrony instead. Installing 'ntp' removed the packages `chrony openmediavault openmediavault-flashmemory openmediavault-omvextrasorg`
When I tried to install them back, I got some errors.
Package openmediavault-flashmemory is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package openmediavault-omvextrasorg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'openmediavault-flashmemory' has no installation candidate
E: Package 'openmediavault-omvextrasorg' has no installation candidate
Display More
and
~$ sudo apt install openmediavault
Reading package lists... Done
Building dependency tree
Reading state information... Done
openmediavault is already the newest version (5.6.16-1).
The following package was automatically installed and is no longer required:
libopts25
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
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)
Display More
I can go to the web-interface of OMV like normal, but I can't login. I get this error: `Failed to connect to socket: No such file or directory`
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}
How badly did I screw up?
EDIT: Doing omv-firstaid for submitting diagnostic to administrator:
Submitting system diagnostic report to the administrator account. Please check your email mailbox ...
Unknown script, /usr/share/openmediavault/sysinfo/modules.d/| not found.
ERROR: Command '['omv-sysinfo', '|', 'mail', '-s', 'System diagnostic report', 'root']' returned non-zero exit status 100.