Notify_push 1.3.3 failed to start ... can't bind to [::]:7876

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.0.3
  • Operating system and version (e.g., Ubuntu 24.04):
    • ubuntu server 24.04.
  • Web server and version (e.g, Apache 2.4.25):
    • nginx 1.30.1
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx
  • PHP version (e.g, 8.3):
    • 8.4.21
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • after update notify_push 1.3.3
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • by occ command
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

░░ An ExecStart= process belonging to unit notify_push.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 101.
Mai 19 07:22:24 cloud systemd[1]: notify_push.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit notify_push.service has entered the 'failed' state with result 'exit-code'.
Mai 19 07:22:24 cloud systemd[1]: Failed to start notify_push.service - Push daemon for Nextcloud clients.
░░ Subject: A start job for unit notify_push.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit notify_push.service has finished with a failure.
░░ 
░░ The job identifier is 2966 and the job result is failed.
Mai 19 07:23:24 cloud systemd[1]: notify_push.service: Scheduled restart job, restart counter is at 10.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ Automatic restarting of the unit notify_push.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Mai 19 07:23:24 cloud systemd[1]: Starting notify_push.service - Push daemon for Nextcloud clients...
░░ Subject: A start job for unit notify_push.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit notify_push.service has begun execution.
░░ 
░░ The job identifier is 3099.
Mai 19 07:23:24 cloud notify_push[17031]: [2026-05-19 07:23:24.196496 +02:00] WARN [rustls_platform_verifier::verification::others] /nix/store/0z2r3kypvq12cl33jkaabbifpi8jhd9z-crates-io-dependencies/rustls-platform-verifier->
Mai 19 07:23:24 cloud notify_push[17031]: Error:   × Main thread panicked.
Mai 19 07:23:24 cloud notify_push[17031]:   ├─▶ at /nix/store/0z2r3kypvq12cl33jkaabbifpi8jhd9z-crates-io-dependencies/
Mai 19 07:23:24 cloud notify_push[17031]:   │   warp-0.3.7-
Mai 19 07:23:24 cloud notify_push[17031]:   │   4378d202ff965b011c64817db11d5829506d3404edeadb61f190d111da3f231c/src/
Mai 19 07:23:24 cloud notify_push[17031]:   │   server.rs:291:27
Mai 19 07:23:24 cloud notify_push[17031]:   ╰─▶ error binding to [::]:7867: error creating server listener: Address
Mai 19 07:23:24 cloud notify_push[17031]:       family not supported by protocol (os error 97)
Mai 19 07:23:24 cloud notify_push[17031]:   help: set the `RUST_BACKTRACE=1` environment variable to display a
Mai 19 07:23:24 cloud notify_push[17031]:         backtrace.
Mai 19 07:23:24 cloud systemd[1]: notify_push.service: Main process exited, code=exited, status=101/n/a
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ An ExecStart= process belonging to unit notify_push.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 101.
Mai 19 07:23:24 cloud systemd[1]: notify_push.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit notify_push.service has entered the 'failed' state with result 'exit-code'.
Mai 19 07:23:24 cloud systemd[1]: Failed to start notify_push.service - Push daemon for Nextcloud clients.
░░ Subject: A start job for unit notify_push.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit notify_push.service has finished with a failure.
░░ 
░░ The job identifier is 3099 and the job result is failed.

Steps to replicate it (hint: details matter!):

  1. just update notify_push to latest 1.3.3

  2. have a server that is fixed on IPv4

  3. dual stack failed to start

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

see above

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

no logs in WebUI

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

no logs from the nginx server

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "serverid": "55",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.55.16",
            "HOSTNAME"
        ],
        "dns_pinning": false,
        "activity_expire_days": 14,
        "auth.bruteforce.protection.enabled": true,
        "forbidden_filenames": [
            ".htaccess",
            "Thumbs.db",
            "thumbs.db"
        ],
        "forbidden_filename_basenames": [
            "con",
            "prn",
            "aux",
            "nul",
            "com0",
            "com1",
            "com2",
            "com3",
            "com4",
            "com5",
            "com6",
            "com7",
            "com8",
            "com9",
            "com\u00b9",
            "com\u00b2",
            "com\u00b3",
            "lpt0",
            "lpt1",
            "lpt2",
            "lpt3",
            "lpt4",
            "lpt5",
            "lpt6",
            "lpt7",
            "lpt8",
            "lpt9",
            "lpt\u00b9",
            "lpt\u00b2",
            "lpt\u00b3"
        ],
        "forbidden_filename_characters": [
            "<",
            ">",
            ":",
            "\"",
            "|",
            "?",
            "*",
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            " ",
            ".",
            ".filepart",
            ".part"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "FQDN",
        "overwriteconaddr": "^192\\.168\\.55\\.90$",
        "overwriteprotocol": "https",
        "forward_for_headers": [
            "X-Forwarded-For",
            "HTTP_X_FORWARDED_FOR"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "updatedirectory": "\/home\/www-data\/nextcloud\/updater",
        "upgrade.disable-web": true,
        "overwrite.cli.url": "https:\/\/FQDN",
        "dbtype": "pgsql",
        "version": "33.0.3.2",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "logtimezone": "Europe\/Berlin",
        "default_phone_region": "DE",
        "logfile": "\/mnt\/cloud\/data\/nextcloud.log",
        "log_rotate_size": 10485760,
        "cron_log": true,
        "loglevel": 4,
        "0": "logdateformat\" => \"F d, Y H:i:s",
        "installed": true,
        "filesystem_check_changes": 1,
        "quota_include_external_storage": false,
        "skeletondirectory": "",
        "share_folder": "\/Freigaben",
        "knowledgebaseenabled": false,
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
        "ldapUserCleanupInterval": 20,
        "bulkupload.enabled": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        },
        "mail_smtpmode": "sendmail",
        "mail_smtpsecure": "ssl",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtptimeout": 10,
        "mail_smtpauth": 0,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "integrity.check.disabled": false,
        "updater.release.channel": "stable",
        "enable_previews": true,
        "preview_Movie_path": "\/usr\/bin\/ffmpeg",
        "preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\Movie",
            "OC\\Preview\\PDF",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\MSOffice2003",
            "OC\\Preview\\MSOfficeDoc",
            "OC\\Preview\\Image",
            "OC\\Preview\\Photoshop",
            "OC\\Preview\\SVG",
            "OC\\Preview\\Font",
            "OC\\Preview\\MKV",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI",
            "OC\\Preview\\TIFF"
        ],
        "imaginary_process_documents": false,
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "preview_max_memory": 4096,
        "preview_max_filesize_image": 256,
        "preview_max_scale_factor": 1,
        "trashbin_retention_obligation": "auto, 2",
        "mail_sendmailmode": "smtp",
        "data-fingerprint": "db31f3894c4bbacbe53f95d3e3b01d86",
        "onlyoffice": {
            "DocumentServerUrl": "https:\/\/OO-FQDN\/",
            "verify_peer_off": true,
            "jwt_header": "Authorization",
            "jwt_secret": "***REMOVED SENSITIVE VALUE***"
        },
        "encryption.legacy_format_support": false,
        "encryption.key_storage_migrated": false,
        "defaultapp": "dashboard",
        "theme": "",
        "allow_local_remote_servers": true,
        "files_external_allow_create_new_local": true,
        "simpleSignUpLink.shown": false,
        "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "session_keepalive": true,
        "maintenance_window_start": 1,
        "memories.db.triggers.fcu": true,
        "memories.gis_type": 2,
        "memories.index.path.blacklist": ".*\\\/Uploads.*",
        "files.chunked_upload.max_size": 0,
        "memories.vod.disable": false,
        "app_install_overwrite": []
    }
}

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

I presume that the change on github mentioned is the “game changer”

In my case i have setup everything fix on IPv4 so the error message from

journalctl -xeu notify_push.service

is

Mai 19 07:43:29 cloud notify_push[26143]: Error: × Main thread panicked.
Mai 19 07:43:29 cloud notify_push[26143]: ├─▶ at /nix/store/0z2r3kypvq12cl33jkaabbifpi8jhd9z-crates-io-dependencies/
Mai 19 07:43:29 cloud notify_push[26143]: │ warp-0.3.7-
Mai 19 07:43:29 cloud notify_push[26143]: │ 4378d202ff965b011c64817db11d5829506d3404edeadb61f190d111da3f231c/src/
Mai 19 07:43:29 cloud notify_push[26143]: │ server.rs:291:27
Mai 19 07:43:29 cloud notify_push[26143]: ╰─▶ error binding to [::]:7867: error creating server listener: Address
Mai 19 07:43:29 cloud notify_push[26143]: family not supported by protocol (os error 97)
Mai 19 07:43:29 cloud notify_push[26143]: help: set the RUST_BACKTRACE=1 environment variable to display a
Mai 19 07:43:29 cloud notify_push[26143]: backtrace.

So appreciate any help how to set an environment variable e.g. or something else to fix notify_push back to IPv4 so that binding to [::]:7876 becomes obsolete.
Or any other solution that is practicable here. If i am wrong with my presume for the root that causes the error - thanks for any hint and idea what to do now.

I didn’t downgrade to the previous notify_push version because it wouldn’t be a solution for future updates i think.

Thanks in advance :blush:

I also append my issue to an existing github post

solved my Problem

Set notify_push.service file from

[Unit]
Description = Push daemon for Nextcloud clients
Documentation=https://github.com/nextcloud/notify_push
After=nginx.service php8.4-fpm.service postgresql.service redis.service

[Service]
Environment = PORT=7867
#Environment = NEXTCLOUD_URL=https://FQDN
ExecStart = /var/www/nextcloud/apps/notify_push/bin/x86_64/notify_push /var/www/nextcloud/config/config.php
User = www-data
Type = notify
Restart = always
RestartSec = 60

[Install]
WantedBy = multi-user.target

to

[Unit]
Description = Push daemon for Nextcloud clients
Documentation=https://github.com/nextcloud/notify_push
After=nginx.service php8.4-fpm.service postgresql.service redis.service

[Service]
Environment = PORT=7867 BIND=127.0.0.1
#Environment = NEXTCLOUD_URL=https://FQDN
ExecStart = /var/www/nextcloud/apps/notify_push/bin/x86_64/notify_push /var/www/nextcloud/config/config.php
User = www-data
Type = notify
Restart = always
RestartSec = 60

[Install]
WantedBy = multi-user.target

After systemctl daemon-reload i was able to restart notify_push again.
:grinning_face:

Alternative:

[Unit]
Description = Push daemon for Nextcloud clients
Documentation=https://github.com/nextcloud/notify_push
After=nginx.service php8.4-fpm.service postgresql.service redis.service

[Service]
Environment = PORT=7867 BIND=0.0.0.0
#Environment = NEXTCLOUD_URL=https://FQDN
ExecStart = /var/www/nextcloud/apps/notify_push/bin/x86_64/notify_push /var/www/nextcloud/config/config.php
User = www-data
Type = notify
Restart = always
RestartSec = 60

[Install]
WantedBy = multi-user.target