DSM 6.2.4-25554 quietly broke my the enable network UPS server

Updated from 6.2.3-25426 Update 2.

Noticed when updating my ESXI hosts that upsc was not working.

getting the following Error: Connection failure: Connection refused

Checking Control Panel>Hardware& Power>UPS

All looks okay. But when going to SSH i noticed the file

/usr/syno/etc/ups/upsd.users

was blank.

I had to temporarily disable the Network UPS server hit apply

Then re-enable it and re-add my ESXI hosts' IP's and hit Apply. This regenerated the file correctly.

All is now well. May want to check yours and make sure its working. You can do that if you have the Nut Client installed on ESXi and cd to

cd /opt/nut/bin

Then run

./upsc ups@ip-address

where ip-address is the IP of your Synology NAS.

Posted Mar 1, 2021, 10:44 PM UTC · edited

516
LuN-z•

Yes, that's what I noted during the update. removing the IP of the "Permitted Synology NAS Devices" and adding it back did the trick.

You are warned on ssh anyway when the other servers can't connect to your nut host

2
devilsadvocateOP•

Makes sense. Assuming you regularly ssh into your nas or esxi hosts (in my case. I don’t have others on these. ). The issue is I don’t, I only use ssh if/when I need it. I just happened to catch it because not only did I update DSM recently. I was also updating my hosts which generally require time to add/remove nut clients for VMwares update manager to work.

2
TmaxJuices•

Glad I found this !!!! - You are exactly right, I was messing around with it for hours

Just rebooted both

Took away the Enable Network UPS Server on the main Synology and saved

Then re-enabled it and set the IP Address for the permitted clients

Then on the client I was able to enter the IP of the server and it found it straightwaway

THANK YOU !!!!!

2
Top_Humor_5296•

This is bad!

Even re-adding the permitted devices works only once.

After a shutdown cycle, it is not working again!

2
Setnof•

Here is the workaround until a fix is there.

1
Setnof•

As mentioned here the workaround is to add a cron with the following command:

/bin/sh /usr/syno/etc/rc.sysv/ups-usb.sh restart

2
ThrawnJL•

Thank you :) I just got this working on my DS1821+ …Just found out today that my ds1019+ did not connect to UPS server on 1821 when booting.

1