Hello to all,
I have ran into an issue with updating one of my OMV systems.
The hardware I'm using in this system, is RPI4.
I had a notification saying there's an update waiting for me to apply. version 6.3.4-1 was waiting for me to install on top of 6.3.3-1.
I have confirmed the installation, but seems that it was freezing at the end with the following state
QuoteDisplay More(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 57308 files and directories currently installed.)
Preparing to unpack .../openmediavault_6.3.4-1_all.deb ...
Unpacking openmediavault (6.3.4-1) over (6.3.3-1) ...
Setting up openmediavault (6.3.4-1) ...
Creating configuration database ...
Migrating configuration database ... Running migration conf_6.3.3
INFO: The node 'routemetric' already exists at XPath '/config/system/network/interfaces/interface'.
INFO: The node 'routemetric6' already exists at XPath '/config/system/network/interfaces/interface'.
Setting up Salt environment ...
I waited for a very long time, but this message didn't change. I opened a new browser tab to connect to web-UI, and saw the following:
1. uptime was ~4 minutes (meaning, system has rebooted itself).
2. installed version was 6.3.4-1
3. for some reason, a notification for updates was still showing.
Going to the updates page, I saw that 6.3.4-1 was still waiting for me. Not sure why. Thought that maybe the process of installation did not completed correctly, so I tried to re-install it again. Unfortunately, this was not doable. I got the following error message:
QuoteDisplay MoreFailed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" dist-upgrade 2>&1' with exit code '100': E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" dist-upgrade 2>&1' with exit code '100': E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. in /usr/share/openmediavault/engined/rpc/apt.inc:225
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(619): Engined\Rpc\Apt->Engined\Rpc\{closure}('/tmp/bgstatusCq...', '/tmp/bgoutput5P...')
#1 /usr/share/openmediavault/engined/rpc/apt.inc(229): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: Engined\Rpc\Apt->upgrade(NULL, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('upgrade', NULL, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Apt', 'upgrade', NULL, Array, 1)
#6 {main}
I tried then to do as suggested and logged into via SSH to my RPI. Then I ran the following:
sudo dpkg --configure -a
The result was the following:
QuoteDisplay MoreSetting up openmediavault (6.3.4-1) ...
Creating configuration database ...
Migrating configuration database ...
Running migration conf_6.3.3
INFO: The node 'routemetric' already exists at XPath '/config/system/network/interfaces/interface'.
INFO: The node 'routemetric6' already exists at XPath '/config/system/network/interfaces/interface'.
Setting up Salt environment ...
And again - it was frozen at this state. And again, when checking, the system has rebooted.
Not sure what to do next to solve the problem.
Any help would be much appreciated.