Summary
I have recently setup Nextcloud Talk with following:
Versions
Talk : 20.1.3
Coturn: 4.6.1
Signaling server: nextcloud-spreed-signaling version 97452ae8d57fddaca8d9231ab4f11546bfa4c773/go1.22.2
Janus: Janus version: 1102 (1.1.2)
nas: latest docker image
notify_push: 1.0.0
Seems all working fine except two issues:
1- Not receiving any notifications [ calls, message ] on IOS & Android
2- Android phone calls does not connects, shows waiting for other user to join or connects 1 way and other user shows mute while the other user can listen
But main issue is notifications, how does it work? I read nextcloud uses Notifications app
and connects to push-notifications.nextcloud.com and forward the notifications on ios/Android. Does this work for Self hosted Nextcloud instance?
I have tested Notifications to user by occ notification:test-push
, I receive the notification immigiately in Nextcloud Website, but not on the ios/android app.
All configurations seems fine from Administration page, signaling server connects successfully, also TURN and STUN status is ok.
Log entries
Nextcloud
I Do not see any error logs while testing the notification, the output for occ notification:test-push
does not prints any output but the Notifications for Nextcloud website works.
Web server / Reverse Proxy
The output of your nginx vhost for push notifications
location ^~ /push/ {
proxy_pass http://127.0.0.1:7867/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
Configuration
Nextcloud
Followed this guide : GitHub - nextcloud/notify_push: Update notifications for nextcloud clients
Notify Push
[Unit]
Description = Push daemon for Nextcloud clients
Documentation=https://github.com/nextcloud/notify_push
[Service]
Environment = PORT=7867
Environment = NEXTCLOUD_URL=https://domain.url
ExecStart = /var/www/nextcloud/apps/notify_push/bin/x86_64/notify_push /var/www/nextcloud/config/config.php
Type=notify
User=www-data
Restart=always
RestartSec=60
[Install]
WantedBy = multi-user.target