You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To define a notify script, volume-mount it via your docker-compose file under /usr/local/bin and set the NOTIFYCMD environment variable. (*Don't* mount any executable scripts under /etc/nut, put them under /usr/local).
66
+
62
67
If you need a driver other than `usbhid-ups`, the full list of supported drivers can be listed as follows:
63
68
```
64
69
docker run --rm --entrypoint /bin/ls instantlinux/nut-upsd /usr/lib/nut
@@ -121,9 +126,16 @@ udevadm control --reload-rules && udevadm trigger
121
126
122
127
When starting up under Debian trixie, an out-of-memory error can be prevented by setting the nofile ulimit to a smaller value than system default: see [issue #1672](https://github.com/networkupstools/nut/issues/1672). The default is set here to 2048.
123
128
129
+
If you see this error message on startup:
130
+
```
131
+
Unable to use old-style MONITOR line without a username
132
+
Convert it and add a username to upsd.users - see the documentation
133
+
```
134
+
the most likely cause is a missing or empty secret (`nut-upsd-password`).
135
+
124
136
### Secrets
125
137
126
-
If the API user needs a password, you have two ways to specify it: pass the value itself as environment variable API_PASSWORD, or define a Docker secret as follows:
138
+
If the API user needs a password, you have two ways to specify it: pass the value itself as environment variable API_PASSWORD (which isn't secure), or define a Docker secret as follows:
0 commit comments