Skip to content

Create a self-hosted instance of NTFY

Moved Guides
63 4 34.8k 1
  • It’s working now! 🎊 Really missed that point 😄

    wrote on last edited by
    #15

    @dave1904 good news. Easily missed!

  • wrote on last edited by dave1904
    #16

    Is it possible to directly open the link associated with a notification? It feels like a detour to me to first open ntfy and then to click on the link. So basically click notification -> go to website

  • Is it possible to directly open the link associated with a notification? It feels like a detour to me to first open ntfy and then to click on the link. So basically click notification -> go to website

    wrote on last edited by
    #17

    @dave1904 that’s exactly how it works for me? If I click the notification itself, it opens the link to the post directly - admittedly, in a new browser window, but if does work.

  • wrote on last edited by dave1904
    #18

    Ok, I have to check this again.
    Chat message notifications aren’t working for me at the Moment, can you confirm this?

  • Ok, I have to check this again.
    Chat message notifications aren’t working for me at the Moment, can you confirm this?

    wrote on last edited by
    #19

    @dave1904 they work fine for me?

  • wrote on last edited by dave1904
    #20

    @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

  • @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

    wrote on last edited by phenomlab
    #21

    @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?

    wrote on last edited by
    #22

    @phenomlab There I have the path to the touch icon. In the ntfy plugin I used this path as full qualified domain

  • wrote on last edited by dave1904
    #23

    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

    wrote on last edited by
    #24

    @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.

    wrote on last edited by
    #25

    @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.

    wrote on last edited by
    #26

    @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.

    wrote on last edited by
    #27

    @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?

    wrote on last edited by
    #28

    @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>"
    
    wrote on last edited by
    #29

    @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!

    wrote on last edited by
    #30

    @dave1904 Interesting! I might actually add that, but message delivery for me is almost instant.

  • wrote on last edited by
    #31

    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.

    wrote on last edited by
    #32

    @dave1904 From the desktop PC or your phone?

  • @dave1904 From the desktop PC or your phone?

    wrote on last edited by
    #33

    @phenomlab From my phone. Maybe better to use the native app?

  • @phenomlab From my phone. Maybe better to use the native app?

    wrote on last edited by
    #34

    @dave1904 Yes, always


Related Topics