-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
bugSomething isn't workingSomething isn't working
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
My setup works successfully for desktop clients, but it doesn't work Firefox/Chrome (or I don't know what to be expecting to see).
Steps to reproduce
Apache:
<Location /push>
ProxyPass unix:/run/nextcloud/notify_push.sock|http://localhost
ProxyPassReverse unix:/run/nextcloud/notify_push.sock|http://localhost
</Location>
<Location /push/ws>
ProxyPass unix:/run/nextcloud/notify_push.sock|ws://localhost/ws
</Location>
systemd:
[Unit]
Description=Nextcloud push client update notifications
Documentation=https://github.com/nextcloud/notify_push
After=network-online.target httpd.service postgresql.service valkey.service
[Service]
Type=notify
User=apache
#Environment=NEXTCLOUD_URL=https://localhost
Environment=SOCKET_PATH=/run/nextcloud/notify_push.sock
ExecStart=/var/lib/nextcloud/apps/notify_push/bin/x86_64/notify_push --log-level debug /etc/nextcloud/config.php
Restart=always
RestartSec=60
RuntimeDirectory=nextcloud
RuntimeDirectoryMode=0750
[Install]
WantedBy=multi-user.target
Expected behaviour
I'm thinking that the web browser would also have it's files list updated, or at least a notification in the little bell icon.
Actual behaviour
On the same desktop, with the browser and desktop client open, the desktop client gets the push and updates, the web browser doesn't seem to do anything.
Server configuration
Web server: Apache
Database: PostgreSQL
PHP version: 8.4
Nextcloud version: 32.0.4.1
List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Enabled:
- activity: 5.0.0-dev.0
- bruteforcesettings: 5.0.0-dev.0
- calendar: 6.1.5
- cloud_federation_api: 1.16.0
- comments: 1.22.0
- contacts: 8.2.1
- contactsinteraction: 1.13.1
- dashboard: 7.12.0
- dav: 1.34.2
- federatedfilesharing: 1.22.0
- federation: 1.22.0
- files: 2.4.0
- files_antivirus: 6.1.0
- files_downloadlimit: 5.0.0-dev.0
- files_external: 1.24.0
- files_pdfviewer: 5.0.0-dev.0
- files_reminders: 1.5.0
- files_sharing: 1.24.1
- files_trashbin: 1.22.0
- files_versions: 1.25.0
- firstrunwizard: 5.0.0-dev.0
- lookup_server_connector: 1.20.0
- memories: 7.7.0
- music: 2.5.1
- nextcloud_announcements: 4.0.0-dev.0
- notifications: 5.0.0-dev.0
- notify_push: 1.3.0
- oauth2: 1.20.0
- password_policy: 4.0.0-dev.0
- photos: 5.0.0-dev.1
- previewgenerator: 5.11.0
- privacy: 4.0.0-dev.0
- profile: 1.1.0
- provisioning_api: 1.22.0
- recommendations: 5.0.0-dev.0
- related_resources: 3.0.0-dev.0
- richdocuments: 9.0.2
- serverinfo: 4.0.0-dev.0
- settings: 1.15.1
- sharebymail: 1.22.0
- spreed: 22.0.8
- support: 4.0.0-dev.0
- survey_client: 4.0.0-dev.0
- systemtags: 1.22.0
- tasks: 0.17.1
- text: 6.0.1
- theming: 2.7.0
- twofactor_backupcodes: 1.21.0
- updatenotification: 1.22.0
- user_oidc: 8.3.0
- user_status: 1.12.0
- viewer: 5.0.0-dev.0
- weather_status: 1.12.0
- webhook_listeners: 1.3.0
- workflowengine: 2.14.0
Disabled:
- admin_audit: 1.22.0
- app_api: 32.0.0 (installed 32.0.0)
- circles: 32.0.0 (installed 30.0.0-dev)
- encryption: 2.20.0
- logreader: 5.0.0-dev.0 (installed 2.13.0)
- mail_roundcube: 1.2.2 (installed 1.2.2)
- suspicious_login: 10.0.0-dev.0
- twofactor_nextcloud_notification: 6.0.0-dev.0 (installed 5.0.0)
- twofactor_totp: 14.0.0 (installed 13.0.0-dev.0)
- user_ldap: 1.23.0 (installed 1.22.0)
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
{
"system": {
"log_type": "syslog",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"updatechecker": false,
"check_for_working_htaccess": false,
"asset-pipeline.enabled": false,
"assetdirectory": "\/var\/lib\/nextcloud",
"apps_paths": [
{
"path": "\/usr\/share\/nextcloud\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/lib\/nextcloud\/apps",
"url": "\/apps-appstore",
"writable": true
}
],
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"nextcloud.example.com"
],
"dbtype": "pgsql",
"version": "32.0.4.1",
"overwrite.cli.url": "https:\/\/nextcloud.example.com\/",
"htaccess.RewriteBase": "\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "US",
"maintenance": false,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0,
"user": "nextcloud",
"password": "***REMOVED SENSITIVE VALUE***"
},
"auth.bruteforce.protection.enabled": true,
"allow_local_remote_servers": true,
"maintenance_window_start": 3,
"loglevel": 2,
"trashbin_retention_obligation": "auto, 7",
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\Movie",
"OC\\Preview\\Markdown",
"OC\\Preview\\TXT",
"OC\\Preview\\HEIC"
],
"preview_max_memory": 4096,
"preview_max_filesize_image": 256,
"preview_max_x": 2048,
"preview_max_y": 2048,
"theme": "",
"app_install_overwrite": [
"files_antivirus",
"mail_roundcube"
],
"profile.enabled": false,
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.vod.path": "\/var\/lib\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
"memories.vod.disable": false,
"memories.vod.connect": "127.0.0.1:9000",
"memories.vod.external": true,
"updater.release.channel": "stable",
"app.mail.verify-tls-peer": false,
"debug": false,
"memories.gis_type": 2,
"memories.db.triggers.fcu": true,
"memories.video_default_quality": "-2",
"user_oidc": {
"auto_provision": true,
"soft_auto_provision": true,
"disable_account_creation": true
},
"memories.exiftool_no_local": true,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_sendmailmode": "smtp",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***"
}
Browser
Browser name: Firefox/Chrome
Browser version: 147/144
firefox-147.0-1.fc43.x86_64
google-chrome-stable-144.0.7559.59-1.x86_64
Operating system: Fedora 43
Browser log
Notifications permissions granted NotificationsApp-Cg368833.chunk.mjs:1:113471
Has notify_push enabled, slowing polling to 15 minutes NotificationsApp-Cg368833.chunk.mjs:1:108993
Polling interval updated to 900000 NotificationsApp-Cg368833.chunk.mjs:1:112902
Started background fetcher as session_keepalive is enabled NotificationsApp-Cg368833.chunk.mjs:1:110062
Got notification data, restoring default polling interval. NotificationsApp-Cg368833.chunk.mjs:1:111857
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working