Every time I try to apply or undo a configuration change in the OMV dashboard I get this error: (i had to cut the error message in the code box down, as forum complained it was too long and I dont know which parts of the error message are the informative important ones).
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color postfix 2>&1' with exit code '1': debian:
----------
ID: configure_postfix_main
Function: file.managed
Name: /etc/postfix/main.cf
Result: True
Comment: File /etc/postfix/main.cf is in the correct state
Started: 00:27:52.773196
Duration: 45.378 ms
Summary for debian
-------------
Succeeded: 19 (changed=2)
Failed: 1
-------------
Total states run: 20
Total run time: 837.556 ms
[ERROR ] Command 'dpkg-divert' failed with return code: 2
[ERROR ] stderr: dpkg-divert: error: 'local diversion of /usr/sbin/sendmail to /usr/sbin/sendmail.real' clashes with 'diversion of /usr/sbin/sendmail to /usr/sbin/sendmail.real by openmediavault'
[ERROR ] retcode: 2
[ERROR ] {'pid': 58798, 'retcode': 2, 'stdout': '', 'stderr': "dpkg-divert: error: 'local diversion of /usr/sbin/sendmail to /usr/sbin/sendmail.real' clashes with 'diversion of /usr/sbin/sendmail to /usr/sbin/sendmail.real by openmediavault'"} 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(169): OMV\Rpc\ServiceAbstract->callMethod()
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(646): OMV\Rpc\ServiceAbstract->{closure:OMV\Rpc\ServiceAbstract::callMethodBg():155}()
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(155): OMV\Rpc\ServiceAbstract->execBgProc()
#7 /usr/share/openmediavault/engined/rpc/config.inc(209): 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(546): OMV\Rpc\Rpc::call()
#12 {main}
Display More
This has made it impossible to configure OMV as I can't make any changes to the system, nor remove the ones awaiting application, so at present it is unusable.. ![]()
Can anyone advise this complete beginner please?
Version 8.0.3-1 (Synchrony)