Redis / Notify Push Error

NC 25 latest
Ubuntu 20.0.4


we checking the status for the notify push service with service notify_push status I get this:
ERROR [notify_push] src/ Self test failed: Error while communicating with nextcloud instance

After service notify_push restart, the error is gone and everything is fine.

Any ideas, this can be solved?


And then it runs until the next restart?

Yes that’s the error after system reboot. After restarting the service everything is fine till next server reboot

Hi @hokaido

I had a similar problem when I first set up Notify_push. For me it was because the Notify_Push service was started before the database service. You can try adding the following line to the [UNIT] section in the file /etc/systemd/system/notify_push.service.


If you are using another database like PostgreSQL, adjust the line accordingly.

The complete config looks like this on my system:

Description = Push daemon for Nextcloud clients

ExecStart=/var/www/html/nextcloud/apps/notify_push/bin/x86_64/notify_push /var/www/html/nextcloud/config/config.php

WantedBy =

As bb77 wrote …

In my case i expand the “After=…” line by the following (instead of mariadb i am using postgresql)
and i am using redis for caching

Description = Push daemon for Nextcloud clients
After=nginx.service php8.2-fpm.service postgresql.service redis.service

So database type and php version need to be adjusted to your needs.

Seem this worked after a restart… Will check it from time to time