mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #446] Configuration not reload on systemctl restart. #342
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#342
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 @Microwave-WYB on GitHub (Oct 21, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/446
When received a link to an attachment, the port number is missing and must be manually added.
For example the topic is at "example.com:8000/ntfy"
The file link will appear to be "example.com/files/hash.png"
@binwiederhier commented on GitHub (Oct 21, 2022):
Can you be more specific where you see this? Android app, web app?
The generated attachment URL is based on the
base-urlconfigured in theserver.ymlfile. If that does not have the correct port, then your generated attachment URL will be incorrect.@Microwave-WYB commented on GitHub (Oct 21, 2022):
I have the port number in the base url. This is not a problem about android or web app, it's the back-end sending the wrong url. I restarted the server to make sure the configuration is reloaded.
@Microwave-WYB commented on GitHub (Oct 21, 2022):
From here it seems like the base url should be used, but I've tested multiple times that this is not including the port number
@Microwave-WYB commented on GitHub (Oct 21, 2022):
I found the problem here.
systemctl restart ntfydoes not reload configuration. I had to dosystemctl stop ntfy; systemctl start ntfy@binwiederhier commented on GitHub (Oct 21, 2022):
This is the second instance of this that I'm hearing about. I use
systemctl restart ntfywhen I deploy a new version and it works nicely. What system are you on? What does journalctl say when you issue a restart? Are you using the .deb/.rpm or something custom?@binwiederhier commented on GitHub (Nov 19, 2022):
Closed due to inactivity