binwiederhier / ntfy

Send push notifications to your phone or desktop using PUT/POST
https://ntfy.sh
Apache License 2.0
18.54k stars 729 forks source link

unable to create new user #1223

Closed Its-EGS closed 2 days ago

Its-EGS commented 2 days ago

:lady_beetle: Describe the bug trying to create a new user on cli

:computer: Components impacted try it on ntfy server version 2.11.0 running in docker on synology

:bulb: Screenshots and/or logs grafik grafik

No logs are generated, neither with the first command nor with the second. Even withTRACE

:crystal_ball: Additional context the first command simply does not prompt for the password repeat. It is irrelevant whether it is a complex password with special characters or a simple one as in the example screenshot.

wunter8 commented 2 days ago

I'm not sure what the issue is. I just ran the same commands without a problem. Try it with docker exec -it ntfy ... instead of just "-t".

Also, you could try running the commands from a shell inside the container: docker exec -it ntfy /bin/sh then ntfy user add phil

Its-EGS commented 2 days ago

yes, docker exec -it ntfy /bin/sh worked for me. Thanks a lot.