I'm trying to remove the NUT plugin since it won't recognize my battery backup, but I'm running into errors when trying to uninstall. I get a similar error (too many errors) when trying to do something simple like update the file system Usage Warning Threshold or add a comment to a file system.
I'm running OMV 6.0-32 on an Intel i5-3470
Code
ID: reload_monit_service
Function: service.running
Name: monit
Result: False
Comment: Job for monit.service failed because the control process exited with error code.
See "systemctl status monit.service" and "journalctl -xe" for details.
Started: 15:31:30.535118
Duration: 96.723 ms
Changes:
....
dpkg: error processing package openmediavault-nut (--remove):
installed openmediavault-nut package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
openmediavault-nut
Display More
When I run systemctl status monit.service
Code
● monit.service - LSB: service and resource monitoring daemon
Loaded: loaded (/etc/init.d/monit; generated)
Active: failed (Result: exit-code) since Wed 2021-11-03 15:31:30 CDT; 26s ago
Docs: man:systemd-sysv-generator(8)
Process: 296766 ExecStart=/etc/init.d/monit start (code=exited, status=1/FAILURE)
CPU: 12ms
Nov 03 15:31:30 NAS systemd[1]: Starting LSB: service and resource monitoring daemon...
Nov 03 15:31:30 NAS monit[296766]: Starting daemon monitor: monit
Nov 03 15:31:30 NAS monit[296769]: /etc/monit/conf.d/openmediavault-filesystem.conf.save:63: syntax error 'path "'
Nov 03 15:31:30 NAS monit[296769]: /etc/monit/conf.d/openmediavault-filesystem.conf.save:63: syntax error 'path "'
Nov 03 15:31:30 NAS monit[296770]: failed!
Nov 03 15:31:30 NAS systemd[1]: monit.service: Control process exited, code=exited, status=1/FAILURE
Nov 03 15:31:30 NAS systemd[1]: monit.service: Failed with result 'exit-code'.
Nov 03 15:31:30 NAS systemd[1]: Failed to start LSB: service and resource monitoring daemon.
Display More
Is there a way to get past these errors so that I can update my system again? (Especially remove the NUT plugin since my backup isn't compatible).