sudo -u www-data php /var/www/nextcloud/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 GitHub - nextcloud/notify_push: Update notifications for nextcloud clients
Press enter to continue or ESC to cancelā¦
Push binary seems to be running already
š“ failed to run self-test.
test output: ā redis is configured
š“ using unencrypted https for push server is strongly discouraged
š“ push server url is set to localhost, the push server will not be reachable from other machines
ā push server is receiving redis messages
ā push server can load mount info from database
š“ push server canāt connect to the Nextcloud server
Response from nextcloud is not a number: invalid digit found in string
OK, also fixed it.
Within the file /etc/systemd/system/notify_push.service I need to modify the webserver URL from: Environment=NEXTCLOUD_URL=https://servername/nextcloud
to Environment=NEXTCLOUD_URL=https://servername/nextcloud/
Allowing self-signed certificates in the push config.
š“ failed to run self-test with auto-generated config.
test output: [2021-08-04 20:56:35.087697 +02:00] INFO [notify_push] src/main.rs:49: Running with certificate validation disabled
[2021-08-04 20:56:35.231326 +02:00] WARN [notify_push] src/lib.rs:264: Error while trying to get cookie from Nextcloud 404 Not Found
[2021-08-04 20:56:35.232169 +02:00] INFO [notify_push] src/main.rs:84: shutdown signal received, shutting down
ā redis is configured
š“ using unencrypted https for push server is strongly discouraged
š“ push server url is set to localhost, the push server will not be reachable from other machines
ā push server is receiving redis messages
ā push server can load mount info from database
**š“ push server can't connect to the Nextcloud server**
404 Not Found
systemctl restart notify_push
systemctl restart notify_push
Failed to restart notify_push.service: Unit notify_push.service has a bad unit file setting.
See system logs and 'systemctl status notify_push.service' for details.
root@collab:/lib/systemd/system# journalctl -u notify_push -f
-- Logs begin at Sun 2021-08-01 23:15:29 CEST. --
Aug 04 22:10:47 collab.opaz-ateliers.com systemd[1]: /etc/systemd/system/notify_push.service:1: Assignment outside of section. Ignoring.
Aug 04 22:10:47 collab.opaz-ateliers.com systemd[1]: notify_push.service: Service has no ExecStart=, ExecStop=, or SuccessAction=. Refusing.