NUT is Broken After Udating to 26.1.8_5

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

Previous topic - Next topic
Quote from: Patrick M. Hausen on Today at 10:09:30 AMtry changing the package repo from "quarterly" to "latest"

Thanks Patrick, I'll try that when the test machines are freed from their current role.

Cheers,

Larry.

yes:
OPNsense 26.7-amd64
FreeBSD 15.1-RELEASE-p1
OpenSSL 3.5.7

Quote from: Patrick M. Hausen on Today at 07:54:56 AMAre you on 26.7? In that case this workaround is not necessary, anymore.

i was able to install 1.8.5 manually:
pkg install nut-2.8.5_1

pkg info|grep -i nut
nut-2.8.5_1                    Network UPS Tools

^but issue remains, not sure how to proceed. guess i gotta keep waiting?

Today at 04:35:54 PM #17 Last Edit: Today at 05:24:53 PM by Patrick M. Hausen
The NUT release bundled with OPNsense 26.7 is current and working:

root@opnsense:~ # opnsense-version
OPNsense 26.7 (amd64)
root@opnsense:~ # pkg info | grep nut
nut-2.8.5_1                    Network UPS Tools
os-nut-1.9_1                   Network UPS Tools

What issue exactly are you seeing?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

monitor service runs,tool doesn't. on gui when i click on nut, i get the bug report crash.

also, apcupsd status is 'commlost' very odd.

Quote from: Patrick M. Hausen on Today at 04:35:54 PMThe NUT release bundled with OPNsense 26.7 is current and working:

root@opnsense:~ # opnsense-version
OPNsense 26.7 (amd64)
root@opnsense:~ # pkg info | grep nut
nut-2.8.5_1                    Network UPS Tools
os-nut-1.9_1                   Network UPS Tools

What issue exactly are you seeing?

Today at 06:23:09 PM #19 Last Edit: Today at 06:25:45 PM by Patrick M. Hausen
Quote from: JediFonger on Today at 06:10:28 PMon gui when i click on nut, i get the bug report crash.

That's a new OPNsense frontend problem completely unrelated to the NUT crash we had on 26.1 and definitely not fixed by manually messing around with packages.

Rather, just do:

opnsense-patch https://github.com/opnsense/core/commit/14710e775

The crash report you get looks nowhere like the issue we had on 26.1 yet somehow you come to the conclusion that both issues are the same and require the same fix? The title of this thread is "NUT is Broken After Udating to 26.1.8_5". Not "NUT is Broken After Udating to 26.7".  🤷

If you installed the workaround on 26.1 then unlock the NUT package:

pkg unlock nut

Then check for pending updates from the UI and update the NUT package to the one matching 26.7. Then apply the patch above.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)