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: