NUT is Broken After Udating to 26.1.8_5

Started by kiekar, May 16, 2026, 06:39:04 PM

Previous topic - Next topic
Hello,

I just updated OPNsense to 26.1.8_5 from 26.1.6 and noticed the dashboard widget for NUT shows a message "Nut is not returning a status".

I went to System -> Nut -> Diagnostic and noticed the UPS Status page is empty. I'm currently runing the os-nut plugin version 1.9_1.

Below are the general and backend logs. Any help would be much appreciated.

Thanks

Quote[b5ba2e74-de5c-4ea7-9fad-8954797db051] Script action failed with Command '/usr/local/bin/upsc 'apc@127.0.0.1'' died with <Signals.SIGSEGV: 11>. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 93, in execute subprocess.run(script_command, env=self.config_environment, shell=True, ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ check=not self.disable_errors, stdout=output_stream, stderr=error_stream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/subprocess.py", line 577, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '/usr/local/bin/upsc 'apc@127.0.0.1'' died with <Signals.SIGSEGV: 11>.

Quote<6>[815] pid 76946 (upsc), jid 0, uid 0: exited on signal 11 (no core dump - bad address)

opnsense-revert -r 26.1.7 nut
pkg lock nut
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)


I just got a UPS that has USB output and was setting it up and I have the same blank diagnostic screen and errors in the backend logs.

running the revert and lock didn't seem to fix the errors or cause the diagnostic screen to work.

Instead of a dozen reports for OPNsense I think one to NUT may make a lot more sense:

https://github.com/networkupstools/nut/issues

FreeBSD ports doesn't appear to have an reports or movement on that particular subject.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT