UnifiedPush: Easiest / best way of setting it up in Yunohost?

So, Unifiedpush is the FOSS system for push notifications so everything isn’t going through Google’s Firebase system or Apple’s push notification system.

It needs a fairly simple app running serverside, and I’m wondering what the best way of doing this is with Yunohost? Ideally I’d like to be able to use Nextpush, the Nextcloud app. The only thing is that this seems to have a number of extra requirements that I’m not sure if Yunohost provides or not. Alternatively, there seems to be quite a lot of momentum behind Ntfy the script you can run on a server to support UnifiedPush. I didn’t see any way of installing it based on Yunohost though, like a ntfy_ynh app. I don’t want Yunohost to upgrade and suddenly have my ntfy script wiped, or anything like that.

So, any ideas of how we might reliably be able to run UnifiedPush with Yunohost?

1 Like

I originally had problems with Nextpush actually sending notifications, but since upgrading to Nextcloud 25 on my RPI, it seems to be working on my Tusky app.

Oh, interesting! I just upgraded to 25.0.2 on Yunohost myself, so maybe I’ll give that a try. That would be so cool if just installing Nextpush (and configuring everything) did the job!

Uh… yeah… I didn’t see anything like the app… that you just posted a link to! facepalm

Thanks @tituspijean !

Also: I’ve since learned that apparently Yunohost with Nextcloud 25+ and the UnifiedPush Nextcloud app apparently works. I just set that up, and it works! It was remarkably easy compared to last time I tried. I just installed the Nextcloud UnifiedPush app. I installed Nextcloud Push on my Android phone. When I opened Fedilab on my phone I chose the “Nextpush” option it gave me. Element figured it out by itself. Now I have push notifications from my own server! <3 <3 <3!

3 Likes

did you manage to set ntfy up properly? For me, it installs alright, but I am overwhelmed with configuring it properly for use with ntfy on my phone.

I’ve never tried installing NTFY. It’s security model of “hope no-one guesses the URL or they can see all your notifications and spam you” didn’t appeal. I remember running into a similar situation in the past trying to set up UnifiedPush, though. It seemed so difficult to set up and troubleshoot that I ended up just giving up. With an upgrade from Nextcloud 22 to 25 though, Nextcloud+NextPush went from impossibly hard to laughably easy to get running. I literally did nothing but what I wrote in my last post and it’s worked flawlessly ever since.

2 Likes

Hi, I think this is a good post for asking about NextPush. All things considered this app is quite convient.

  • easy to install
  • it works
  • private, as it works through nextpush app and logged in user

but I usually get this in my phone with NextPush App

NextPush was disconnected 5 times before receiving the ping. You probably have a problem with your server configuration. Your reverse proxy timeout is probabl too low.

so it does not work after some time.

The app readme informs about this issue and how to set up and avoid this problem (with examples):

The reverse-proxy need to be configured for long timeout

and

The reverse-proxy need to be configured without buffering

in nginx, but what file should I edit? , I’ve not seen any section about uppush in

/etc/nginx/conf.d/domain.tld.d/nextcloud.conf

I don’t know if this timeout and buffering are for the whole nextcloud server or just for the nextpush nextcloud up. Would this have an effect on the general nextcloud server and/or yunohost server? thank you.