OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: Evert on November 23, 2023, 09:03:07 AM

Title: on which version of NUT is os-nut 1.8.1_2 based?
Post by: Evert on November 23, 2023, 09:03:07 AM
Hi all,

I see that NUT released version 2.8.1 a few weeks ago (https://github.com/networkupstools/nut/releases) and now I'm wondering which version of NUT the os-nut plugin is based on.
(Surely it isn't version 1.8.1 of NUT which is aeons old (if it existed in the first place)
Title: Re: on which version of NUT is os-nut 1.8.1_2 based?
Post by: Patrick M. Hausen on November 23, 2023, 09:50:25 AM
root@opnsense:~ # pkg info | grep nut
nut-2.8.0_24                   Network UPS Tools
os-nut-1.8.1_2                 Network UPS Tools
Title: Re: on which version of NUT is os-nut 1.8.1_2 based?
Post by: Evert on November 23, 2023, 10:01:14 AM
Thanks :)

I'm currently in the process of migrating from **sense to OPNsense. On the former, we had a persistent issue with NUT 2.8.0 which is finally resolved now that they have switched to 2.8.2(?)

But perhaps that update reaches OPNsense soon as well?   ;)
Title: Re: on which version of NUT is os-nut 1.8.1_2 based?
Post by: franco on November 23, 2023, 11:06:51 AM
In FreeBSD nut is at 2.8.1, which is what we are targeting for 23.7.10.


Cheers,
Franco
Title: Re: on which version of NUT is os-nut 1.8.1_2 based?
Post by: Evert on November 23, 2023, 11:52:36 AM
Quote from: franco on November 23, 2023, 11:06:51 AM
In FreeBSD nut is at 2.8.1, which is what we are targeting for 23.7.10.


Cheers,
Franco

I'm currently on OPNsense 23.10_2-amd64. Which 23.10.x version will include the new nut?
(or doesn't it work that way? I am pretty fresh when it comes to OPNsense, and I haven't looked into how the various versions compare to one another)
Title: Re: on which version of NUT is os-nut 1.8.1_2 based?
Post by: franco on November 23, 2023, 12:50:56 PM
23.10.1 might be hit and miss (probably targeting 23.7.8 or 23.7.9), but you could always use the test package now:

# pkg add -f https://pkg.opnsense.org/FreeBSD:13:amd64/snapshots/latest/All/nut-2.8.1.pkg

If that doesn't work as expected revert to the standard one:

# opnsense-revert nut


Cheers,
Franco
Title: Re: on which version of NUT is os-nut 1.8.1_2 based?
Post by: valantur on December 04, 2023, 05:09:55 AM
I just noticed there's something wrong with NUT on my opnsense firewall. The diagnostics page shows the UPS status just fine as it always did, but the website isn't responding and it shows some weird messages both on the browser and curl (see attached).

@franco any chance you can take a look?