mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1070] Ntfy server is impossible to set up on NixOS 23.11 #748
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#748
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 @deivpaukst on GitHub (Mar 26, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1070
🐞 Describe the bug
When installing ntfy-sh by enabling it as a module, the state directory is created in
/var/lib/private/ntfy-shand linked to/var/lib/ntfy-sh. This is a problem as the private folder is owned by root which makes the symlink inaccessible. Changing the permissions of the private folder seems to create other problems as ntfy-sh requests the folder be owned by root with permissions 0700 and that makes this problem a Catch-22 as by default ntfy-sh can't access the files in it's state folder and if permissions are changed, ntfy-sh does not want to access it's folder.💻 Components impacted
ntfy server v2.8.0
💡 Screenshots and/or logs
Default:
Too permissive:
Wrong User:
@binwiederhier commented on GitHub (Mar 26, 2024):
The Nix package is linked in the install instructions, but not officially maintained by us. See https://github.com/binwiederhier/ntfy/pull/462 - You may want to reach out to @wamserma