Nextcloud version (eg, 20.0.5): Nextcloud AIO v6.3.0
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.2 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache , not find
PHP version (eg, 7.4): 8.1.21
A few days ago I noticed that I no longer received backup and update notifications from my Nextcloud AIO instance on my smartphone with the Nextcloud application.
After some investigation on my part, I have this log which appears in my “notify-push” container.
[2023-08-12 08:39:37.434987 +00:00] WARN [notify_push::connection] src/connection.rs:75: Invalid credentials [2023-08-12 08:39:37.564506 +00:00] WARN [notify_push::connection] src/connection.rs:75: Invalid credentials
I admit that I do not know what credentials this concerns, no modification has taken place on my part.
After doing some research, I found this topic rather similar to mine: Notify_push Invalid credentials warning
Unfortunately when I try to apply this type of command to my infra I do not have the same expected results.
docker exec --user www-data -it nextcloud-aio-nextcloud php occ notify_push:setup
This setup wizard is intended for use on single server instances where the nextcloud server, web server/reverse proxy and push daemon all run on the same machine. If your setup is more complex or involves any kind of load balancing you should follow the manual setup instruction on the README instead https://github.com/nextcloud/notify_push Press enter to continue or ESC to cancel... 🗴 your system doesn't seem to be using systemd. See the steps in the README for manual setup instructions: https://github.com/nextcloud/notify_push
docker exec --user www-data -it nextcloud-aio-nextcloud php occ notify_push:self-test
✓ redis is configured ✓ push server is receiving redis messages ✓ push server can load mount info from database ✓ push server can connect to the Nextcloud server 🗴 push server is not a trusted proxy, please add '127.0.0.1' to the list of trusted proxies or configure any existing reverse proxy to forward the 'x-forwarded-for' send by the push server. See https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/reverse_proxy_configuration.html#defining-trusted-proxies for how to set trusted proxies. The following trusted proxies are currently configured: "127.0.0.1", "::1" The following x-forwarded-for header was received by Nextcloud: 172.22.0.8, 172.22.0.1 from the following remote: 127.0.0.1 If you're having issues getting the trusted proxy setup working, you can try bypassing any existing reverse proxy in your setup by setting the `NEXTCLOUD_URL` environment variable to point directly to the internal Nextcloud webserver url (You will still need the ip address of the push server added as trusted proxy)
docker exec --user www-data -it nextcloud-aio-nextcloud php occ notify_push:metrics
Active connection count: 5 Total connection count: 14 Total database query count: 29 Events received: 221 Messages sent: 168
For additional information, on the Talk side all works very well in terms of notifications.
Thanks in advance for any help or information.