-
@phenomlab Sorry, I was too tired this night.
I upgraded to @1.7.3 and it seems to work now. Only thing I’m still struggling with is to set my own icon in the ACP. It doesn’t seem to be changed here
@dave1904 That relies on the “touch” icon being present - what do you have in
ACP ->
/admin/settings/general -> Touch Icon
? -
@dave1904 That relies on the “touch” icon being present - what do you have in
ACP ->
/admin/settings/general -> Touch Icon
?@phenomlab There I have the path to the touch icon. In the ntfy plugin I used this path as full qualified domain
-
btw do you have any issues with iOS devices? My buddy gets a message in Safari “Notifications not supported in this browser”, without any possiblity to activate them. He tries it with the native ntfy iOS app now.
-
@phenomlab There I have the path to the touch icon. In the ntfy plugin I used this path as full qualified domain
@dave1904 Can you replicate this issue on a desktop PC using the NTFY web gui to subscribe? Interested to see if this affects desktop too - if it doesn’t, you may have an icon missing. I’ve seen this before.
-
btw do you have any issues with iOS devices? My buddy gets a message in Safari “Notifications not supported in this browser”, without any possiblity to activate them. He tries it with the native ntfy iOS app now.
@dave1904 Yes, the PWA side of things under iOS devices has always been questionable.
-
@dave1904 Yes, the PWA side of things under iOS devices has always been questionable.
@phenomlab said in Create a self-hosted instance of NTFY:
@dave1904 Yes, the PWA side of things under iOS devices has always been questionable.
In the ntfy docs I’ve read that to get the iOS ntfy app to work you have to define
upstream-base-url: "https://ntfy.sh"
. Did you set this in your config? -
@dave1904 Can you replicate this issue on a desktop PC using the NTFY web gui to subscribe? Interested to see if this affects desktop too - if it doesn’t, you may have an icon missing. I’ve seen this before.
@phenomlab The Icon ist definitely there. Will do a full rebuild later to see if that has an effect.
-
@phenomlab said in Create a self-hosted instance of NTFY:
@dave1904 Yes, the PWA side of things under iOS devices has always been questionable.
In the ntfy docs I’ve read that to get the iOS ntfy app to work you have to define
upstream-base-url: "https://ntfy.sh"
. Did you set this in your config?@dave1904 No, you only need that if you are using a proxy from recollection (which of course, you aren’t for upstream internet access) - I only use
base-url: "https://<your domain fqdn>"
-
@dave1904 No, you only need that if you are using a proxy from recollection (which of course, you aren’t for upstream internet access) - I only use
base-url: "https://<your domain fqdn>"
@phenomlab said in Create a self-hosted instance of NTFY:
@dave1904 No, you only need that if you are using a proxy from recollection (which of course, you aren’t for upstream internet access) - I only use
base-url: "https://<your domain fqdn>"
If upstream-base-url is not set, notifications will still eventually get to your device, but delivery can take hours, depending on the state of the phone. If you are using your phone, it shouldn’t take more than 20-30 minutes though.
As I don’t have an iOS device I cannot test it. Will have to observe this. Thanks!
-
@phenomlab said in Create a self-hosted instance of NTFY:
@dave1904 No, you only need that if you are using a proxy from recollection (which of course, you aren’t for upstream internet access) - I only use
base-url: "https://<your domain fqdn>"
If upstream-base-url is not set, notifications will still eventually get to your device, but delivery can take hours, depending on the state of the phone. If you are using your phone, it shouldn’t take more than 20-30 minutes though.
As I don’t have an iOS device I cannot test it. Will have to observe this. Thanks!
@dave1904 Interesting! I might actually add that, but message delivery for me is almost instant.
-
Hmm. For me this is all still working weird. Right now I had to go to ntfy.mydomain.com to receive a notification that was sent before.
-
Hmm. For me this is all still working weird. Right now I had to go to ntfy.mydomain.com to receive a notification that was sent before.
@dave1904 From the desktop PC or your phone?
-
@phenomlab From my phone. Maybe better to use the native app?
-
@phenomlab From my phone. Maybe better to use the native app?
@dave1904 Yes, always
-
Yes, working flawlessly with the native app including my icon.
-
@dave1904 Good to hear!
-
One more question, how can I restart the ntfy server? I’ve edited the config and want to restart it but I only find the ntfy serve command and it’s already serving of course.
-
One more question, how can I restart the ntfy server? I’ve edited the config and want to restart it but I only find the ntfy serve command and it’s already serving of course.
@dave1904 you should be able to use
sudo service ntfy stop sudo service ntfy start Or simpler
sudo service ntfy restart
-
Thanks, I already tried that but when I use
sudo service ntfy stop
and then
ntfy serve
it still says
2023/10/03 18:26:23 INFO Listening on 127.0.0.1:2586[http], ntfy 2.7.0, log level is INFO (tag=startup) 2023/10/03 18:26:23 FATAL listen tcp 127.0.0.1:2586: bind: address already in use (exit_code=1) listen tcp 127.0.0.1:2586: bind: address already in use I’m confused, it should stop serving right?
-
Thanks, I already tried that but when I use
sudo service ntfy stop
and then
ntfy serve
it still says
2023/10/03 18:26:23 INFO Listening on 127.0.0.1:2586[http], ntfy 2.7.0, log level is INFO (tag=startup) 2023/10/03 18:26:23 FATAL listen tcp 127.0.0.1:2586: bind: address already in use (exit_code=1) listen tcp 127.0.0.1:2586: bind: address already in use
I’m confused, it should stop serving right?
@dave1904 not if you have another window running where
ntfy serve
is still running? That message would indicate you have it running somewhere already.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (ether email, or push notification). You'll also be able to save bookmarks, use reactions, and upvote to show your appreciation to other community members.
With your input, this post could be even better 💗
RegisterLog in