mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #421] Unable to use auth on new install #327
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#327
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sebastien4 on GitHub (Sep 30, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/421
Hi,
I'm trying to make auth work on fresh Ubuntu install, using this:
I'm following this: https://ntfy.sh/docs/config/#example-private-instance
When I try to add new user, I get this: option auth-file not set; auth is unconfigured for this server
What am I doing wrong? Sorry if I miss sth usually clear :/
Thanks.
@binwiederhier commented on GitHub (Sep 30, 2022):
Likely a duplicate of https://github.com/binwiederhier/ntfy/issues/401#issuecomment-1260287006
This is a documentation failure. The systemd service runs as user
ntfy, so you have to execute the ACL updates as that user:sudo -u ntfy ntfy user add --role=admin someuser@sebastien4 commented on GitHub (Oct 1, 2022):
Indeed, you must use paths (bin, etc, db) mentioned in documentation in order for this to work.
Thanks @binwiederhier.