Hi,
I just switched from OMV5 to 6 and even after third fresh installation I'm having trouble with the system monitoring.
OMV is installed this way: https://wiki.omv-extras.org/do…omv6:raspberry_pi_install
Everything seems to be fine in the beginning, I can activate/deactivate/activate the monitoring and the graphs are working.
After installing the CPUTemp-Plugin it seems to be still working, but after de-activating and re-activating the monitoring I get this error.
The error still exists after removing the CPUTemp-Plugin.
Shortened error message (full message in attachement):
Code
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=; omv-salt deploy run --no-color collectd 2>&1' with exit code '1': raspberrypi:
----------
[...]
Changes:
----------
ID: start_collectd_service
Function: service.running
Name: collectd
Result: False
Comment: Job for collectd.service failed because the control process exited with error code.
See "systemctl status collectd.service" and "journalctl -xe" for details.
Started: 20:00:38.986780
Duration: 7127.186 ms
Changes:
----------
ID: monitor_collectd_service
Function: module.run
Result: False
Comment: One or more requisite failed: omv.deploy.collectd.default.start_collectd_service
Started: 20:00:46.119605
Duration: 0.018 ms
Changes:
----------
Summary for raspberrypi
-------------
Succeeded: 15 (changed=3)
Failed: 2
-------------
Total states run: 17
Total run time: 12.330 s in /usr/share/php/openmediavault/system/process.inc:220
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(170): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(619): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusox...', '/tmp/bgoutpute4...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(192): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
Display More
Code
pi@raspberrypi:~ $ sudo systemctl status collectd.service
● collectd.service - Statistics collection and monitoring daemon
Loaded: loaded (/lib/systemd/system/collectd.service; disabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/collectd.service.d
└─openmediavault.conf
Active: activating (auto-restart) (Result: exit-code) since Sun 2023-01-22 20:05:12 CET; 5s ago
Docs: man:collectd(1)
man:collectd.conf(5)
https://collectd.org
Process: 8984 ExecStartPre=/usr/sbin/collectd -t (code=exited, status=0/SUCCESS)
Process: 8985 ExecStart=/usr/sbin/collectd (code=exited, status=1/FAILURE)
Main PID: 8985 (code=exited, status=1/FAILURE)
Display More
System: Raspberry Pi 4b, Raspian Lite 64bit, OS on SD-Card, no other drives connected.