Hi,
I had a look at the Dashboard on my OMV, saw I was running 5.3.x and figured I would upgrade to the latest version of OMV, so I ran omv-update, it started to run its course but eventually stopped and gave me this error:
Errors were encountered while processing:
openmediavault-omvextrasorg
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@openmediavault ~ # omv-update
-bash: /usr/sbin/omv-update: No such file or directory
root@openmediavault ~ # omv
-bash: omv: command not found
root@openmediavault ~ # omv-firstaid
-bash: omv-firstaid: command not found
None of the usual OMV commands exist anymore.
I ran apt-get update and apt-get upgrade, and I got the following error:
Removing openmediavault-omvextrasorg (5.3.3) ...
/var/lib/dpkg/info/openmediavault-omvextrasorg.postrm: 22: .: Can't open /usr/share/openmediavault/scripts/helper-functions
dpkg: error processing package openmediavault-omvextrasorg (--remove):
installed openmediavault-omvextrasorg package post-removal script subprocess returned error exit status 127
Errors were encountered while processing:
openmediavault-omvextrasorg
E: Sub-process /usr/bin/dpkg returned an error code (1)
At this point I'm scared of doing anything, I have a LOT of data on the hard drives installed in my NAS and don't want to lose anything.
What's the best course of action to get OMV back up and running again?
EDIT: I've removed the faulty file /usr/share/openmediavault/scripts/helper-functions and successfully run apt-get upgrade but OMV is still nowhere to be found, it hasn't re-installed itself after the update. How do I fix this?
Thanks!
Mark