No UPS information available, after update

NethServer Version: 7.9
Module: UPS / NUT

UPS is unavailable after an update, does anyone else have this problem?

grafik

grafik

Is the config still there?

config show ups

Maybe it helps to reapply the config by

signal-event nethserver-nut-save

or

signal-event nethserver-nut-update

The services to check are nut-server and nut-monitor:

systemctl status -l nut-server nut-monitor

Please also check the system logs (/var/log/messages) for errors.

@fausp

What does lsusb show?
Does the UPS show up?

My 2 cents
Andy

The UPS is up and running…

1 Like

@fausp

What driver are you using, the generic usb or the APC one?

Please also share the results of

config show nut-server

config show nut-monitor

Did you already try to restart the services?

systemctl restart nut-server nut-monitor

[root@nsrv1 ~]# config show nut-server
nut-server=service
    Device=auto
    Model=usbhid-ups
    Password=mypassword
    TCPPort=3493
    Ups=UPS
    User=upsmon
    access=green
    status=enabled


[root@nsrv1 ~]# config show nut-monitor
nut-monitor=service
    Master=
    Notify=disabled
    status=enabled



[root@nsrv1 ~]# systemctl restart nut-server nut-monitor
[root@nsrv1 ~]#
Broadcast message from nut@nsrv1.mgmt.lan (Wed Apr 17 20:22:41 2024):

Communications with UPS UPS@127.0.0.1 lost



usbhid-ups

maybe try the APC one. I had a case where after 2 years I had to change the driver…

APC is, over the last few years, reducing open source… :frowning:

It worked until I did an update on CLI:
yum --enablerepo=* clean all && yum update -y && scl enable rh-php56 --fwconsole ma updateall

[root@nsrv1 ~]# rpm -qa | grep nut
collectd-nut-5.8.1-2.el7.x86_64
nethserver-nut-1.5.5-1.ns7.noarch
nut-client-2.8.0-2.el7.x86_64
...
nut-2.8.0-2.el7.x86_64

update:

Same problem here after update.

Downgrade nut and nut-client to previous version (yum downgrade nut nut-client)
After that, exclude nut and nut-client from being updated in yum.conf.

This solved my problems.

3 Likes

Same problem here after update, and when I restart the server.
I need to restart the driver with
upsdrvctl -DD start
…and my UPS is back again (Riello iDialog IDG600)
Hope this helps

3 Likes

I’ve got the same problem. On a couple of SME servers, the downgrade worked fine. On Nethserver, this is what I get if I try to downgrade:

``yum downgrade nut nut-client
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile

Don't know if that means the older version is no longer avaialble, but so far, I've got no way of fixing the problem. I did notice that the yum history from the nut upgrade reports saving a new set of config files in /etc/ups, but editing them doesn't seem like a good idea.
1 Like

Sorry for the late answer.
Which version of nut and nut-client are you using now?
Did you exclude nut and nut-client from being updated in yum.conf? If yes, please remove it and upgrade to the latest version, I think they already provided an update.

Did you already try the following: