I have two separate instances of TrueNAS Scale 23.10.2, where I cannot start the UPS service. I’m getting the following errors. I checked /run/nut, but the directory is empty. Any ideas on how to fix this? Should I try to install nut manually through the shell?
[EFAULT] Apr 09 20:13:55 systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller. Apr 09 20:13:55 nut-monitor[1750680]: fopen /run/nut/upsmon.pid: No such file or directory Apr 09 20:13:55 nut-monitor[1750680]: Could not find PID file to see if previous upsmon instance is already running! Apr 09 20:13:55 nut-monitor[1750680]: Unable to use old-style MONITOR line without a username Apr 09 20:13:55 nut-monitor[1750680]: Convert it and add a username to upsd.users - see the documentation Apr 09 20:13:55 nut-monitor[1750680]: Fatal error: unusable configuration Apr 09 20:13:55 nut-monitor[1750680]: Network UPS Tools upsmon 2.8.0 Apr 09 20:13:55 systemd[1]: nut-monitor.service: Main process exited, code=exited, status=1/FAILURE Apr 09 20:13:55 systemd[1]: nut-monitor.service: Failed with result ‘exit-code’.
Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 201, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/service.py", line 191, in start
raise CallError(await service_object.failure_logs() or 'Service not running after start')
middlewared.service_exception.CallError: [EFAULT] Apr 09 20:13:55 systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
Apr 09 20:13:55 nut-monitor[1750680]: fopen /run/nut/upsmon.pid: No such file or directory
Apr 09 20:13:55 nut-monitor[1750680]: Could not find PID file to see if previous upsmon instance is already running!
Apr 09 20:13:55 nut-monitor[1750680]: Unable to use old-style MONITOR line without a username
Apr 09 20:13:55 nut-monitor[1750680]: Convert it and add a username to upsd.users - see the documentation
Apr 09 20:13:55 nut-monitor[1750680]: Fatal error: unusable configuration
Apr 09 20:13:55 nut-monitor[1750680]: Network UPS Tools upsmon 2.8.0
Apr 09 20:13:55 systemd[1]: nut-monitor.service: Main process exited, code=exited, status=1/FAILURE
Apr 09 20:13:55 systemd[1]: nut-monitor.service: Failed with result 'exit-code'.