My issue seems very close to Superturisto's problem except that I have an Odroid HC2 instead of a RPi4. I finally noticed I could not log into the webgui; I got a 403 Forbidden and so I tried apt-get install --reinstall openmediavault which failed. (Running as root).
When I run apt-get -f install I end up with this:
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
openmediavault
dpkg --audit output:
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
openmediavault openmediavault - The open network attached storage soluti
apt-get -f install (with file "openmediavault.postinst" changed to "#!/bin/sh -x"):
apt-get_-f_install--output.txt (exceeded 10K characters)
The install effectively does dpkg --configure openmediavault as I see the output duplicated, so I didn't include that here.
Per that thread and Zoki I unsuccesfully tried omv-salt deploy run apt cronapt which had this output:
omv-salt_deploy_run_apt_cronapt--output.txt
I see references in the three errors to "oldstable", but I don't know what to try at this point. OMV6 is a possibility, I guess, but I'd rather get OMV5 working again before I give that a shot. Many thanks for any help thrown my way!