Hi, I’m having trouble with Nutify sending commands to a UPS through a remote NUT server.
Setup:
- Nutify running in Docker compose (
dartsteven/nutify:amd64-latest)
- Remote NUT server is reachable
upsd.users allows a non-root account with actions = SET, actions = FSD, instcmds = ALL
From CLI everything works:
upsc returns UPS status correctly
upscmd -u <user> -p <pass> apc@192.168.xx.xx beeper.enable works (returns OK)
From Nutify WebUI:
- Any command (e.g.
beeper.enable, test.battery.start.quick) fails with:
Output command: Username (root):
Errors: Error reading from stdin!
It seems Nutify tries to run upscmd as root inside the container instead of using the configured NUT user.
The socket connection is fine and metrics display correctly, only instant commands fail.
Any ideas?
Thanks, Healy
Hi, I’m having trouble with Nutify sending commands to a UPS through a remote NUT server.
Setup:
dartsteven/nutify:amd64-latest)upsd.usersallows a non-root account withactions = SET,actions = FSD,instcmds = ALLFrom CLI everything works:
upscreturns UPS status correctlyupscmd -u <user> -p <pass> apc@192.168.xx.xx beeper.enableworks (returns OK)From Nutify WebUI:
beeper.enable,test.battery.start.quick) fails with:Output command: Username (root):
Errors: Error reading from stdin!
It seems Nutify tries to run
upscmdasrootinside the container instead of using the configured NUT user.The socket connection is fine and metrics display correctly, only instant commands fail.
Any ideas?
Thanks, Healy