mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1657] Postgres configuration should support postgresql scheme/protocol specifier #1158
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#1158
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 @BradStaton on GitHub (Mar 15, 2026).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1657
🐞 Describe the bug
In ntfy version 2.19.0 if
NTFY_DATABASE_URLis set to a URL beginning withpostgresql://the application will fail to start with the messageif database-url is set, it must start with postgres://. Thepostgresql://option worked in version 2.18.0 and is the default format generated by CloudNativePG. The PostgreSQL documentation also usespostgresql://when specifying connection URLs.💻 Components impacted
ntfy server
💡 Screenshots and/or logs
🔮 Additional context
Ideally both
postgresql://andpostgres://should be supported.@binwiederhier commented on GitHub (Mar 15, 2026):
Apologies. I'll fix that in the next one
@BradStaton commented on GitHub (Mar 15, 2026):
Thanks! I created a PR here.
@binwiederhier commented on GitHub (Mar 16, 2026):
Thx