Hello,
today I installed a pending update of openmediavault-compose. Later in the GUI I was asked to apply the changes, but I got an error.
Code
...
----------
ID: start_compose_term_service
Function: service.running
Name: omv-compose-term
Result: False
Comment: Failed when setting service omv-compose-term to start at boot, but the service was already running. Additional information follows:
Failed to enable unit: Unit file omv-compose-term.service does not exist.
Started: 11:46:10.473341
Duration: 557.203 ms
Changes:
Summary for debian
-------------
Succeeded: 68 (changed=2)
Failed: 1
-------------
Total states run: 69
Total run time: 3.493 s
[ERROR ] Failed when setting service omv-compose-term to start at boot, but the service was already running. Additional information follows:
Failed to enable unit: Unit file omv-compose-term.service does not exist. in /usr/share/php/openmediavault/system/process.inc:247
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(187): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges()
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array()
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(155): OMV\Rpc\ServiceAbstract->callMethod()
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(628): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}()
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(152): OMV\Rpc\ServiceAbstract->execBgProc()
#7 /usr/share/openmediavault/engined/rpc/config.inc(208): OMV\Rpc\ServiceAbstract->callMethodBg()
#8 [internal function]: Engined\Rpc\Config->applyChangesBg()
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array()
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#11 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()
#12 {main}
Display More
The mentioned file is not there. Locate has that file still listed under /usr/lib/systemd/system/omv-compose-term.service.
I am also not able to remove the package manually as a pre-removal-Skript is failing too.