Update notify_push to 1.0.0 leads to "bundled binary not working on your system"

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):

    • 30.0.5.1
  • Operating system and version (e.g., Ubuntu 24.04):

    • ubuntu 24.04.1
  • Web server and version (e.g, Apache 2.4.25):

    • NGinx 1.27.0
  • Reverse proxy and version _(e.g. nginx 1.27.2)

    • NGinx 1.26.2
  • PHP version (e.g, 8.3):

    • 8.3.11
  • Is this the first time you’ve seen this error? (Yes / No):

    • Yes (after update to notify_push app version 1.0.0)
  • When did this problem seem to first start?

    • after update to notify_push app version 1.0.0
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)

    • Bare Metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)

    • No

    Summary of the issue you are facing:

I updated the apps during upgrade from NC 30.0.4 to 30.0.5.1
I made some tests like integrity:check-core e.g. ok, so far
I rebootet my NC Server over night by cron job
→ this morning i remarked that not all services are up and running, so i restarted manually again but notify_push does no longer start.

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

  1. update notify_push app to 1.0.0
  2. reboot server and check
  3. the binary is not working on your system

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.

PASTE HERE

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.

PASTE

Web server / Reverse Proxy

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

PASTE HERE

Configuration

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

[Service]
Environment = PORT=7867
Environment = NEXTCLOUD_URL=https://MY.FQDN.CLOUDNAME
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

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***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.55.16",
            "MY.FQDN.CLOUD"
        ],
        "dns_pinning": true,
        "activity_expire_days": 14,
        "auth.bruteforce.protection.enabled": true,
        "forbidden_filenames": [
            ".htaccess",
            "Thumbs.db",
            "thumbs.db"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "MY.FQDN.CLOUD",
        "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:\/\/MY.FQDN.CLOUD",
        "dbtype": "pgsql",
        "version": "30.0.5.1",
        "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,
        "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\\MP3",
            "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": "A-FINGERPRINT",
        "onlyoffice": {
            "DocumentServerUrl": "https:\/\/MY.FQDN.ONLYOFFICE\/",
            "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.disable": false,
        "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.*"
    }
}

Apps

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

Enabled:
  - activity: 3.0.0
  - admin_audit: 1.20.0
  - app_api: 4.0.5
  - bookmarks: 15.0.5
  - bruteforcesettings: 3.0.0
  - calendar: 5.0.9
  - circles: 30.0.0
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contacts: 6.1.3
  - contactsinteraction: 1.11.0
  - dashboard: 7.10.0
  - dav: 1.31.1
  - federatedfilesharing: 1.20.0
  - federation: 1.20.0
  - files: 2.2.0
  - files_accesscontrol: 1.20.1
  - files_automatedtagging: 1.20.0
  - files_downloadlimit: 3.0.0
  - files_external: 1.22.0
  - files_pdfviewer: 3.0.0
  - files_reminders: 1.3.0
  - files_sharing: 1.22.0
  - files_versions: 1.23.0
  - gpxpod: 7.0.4
  - groupfolders: 18.0.8
  - logreader: 3.0.0
  - lookup_server_connector: 1.18.0
  - memories: 7.4.1
  - nextcloud_announcements: 2.0.0
  - notes: 4.11.0
  - notifications: 3.0.0
  - notify_push: 1.0.0
  - oauth2: 1.18.1
  - onlyoffice: 9.5.0
  - password_policy: 2.0.0
  - photos: 3.0.2
  - previewgenerator: 5.7.0
  - privacy: 2.0.0
  - provisioning_api: 1.20.0
  - qownnotesapi: 24.11.0
  - related_resources: 1.5.0
  - serverinfo: 2.0.0
  - settings: 1.13.0
  - sharebymail: 1.20.0
  - support: 2.0.0
  - suspicious_login: 8.0.0
  - systemtags: 1.20.0
  - tasks: 0.16.1
  - text: 4.1.0
  - theming: 2.5.0
  - theming_customcss: 1.18.0
  - twofactor_backupcodes: 1.19.0
  - twofactor_totp: 12.0.0-dev
  - twofactor_webauthn: 2.0.0
  - updatenotification: 1.20.0
  - user_ldap: 1.21.0
  - user_status: 1.10.0
  - viewer: 3.0.0
  - weather_status: 1.10.0
  - webhook_listeners: 1.1.0-dev
  - workflowengine: 2.12.0
Disabled:
  - encryption: 2.18.0 (installed 2.3.0)
  - files_trashbin: 1.20.1 (installed 1.18.0)
  - firstrunwizard: 3.0.0 (installed 2.3.0)
  - recommendations: 3.0.0 (installed 1.3.0)
  - survey_client: 2.0.0 (installed 1.2.0)
  - twofactor_nextcloud_notification: 4.0.0

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.

And here the output of my occ setup -vvv

 dav:
                ✓ DAV system address book: No outstanding DAV system address book sync.
        network:
                ✓ WebDAV endpoint: Your web server is properly set up to allow file synchronization over WebDAV.
                ✓ Data directory protected
                ✓ Internet connectivity
                ✓ JavaScript source map support
                ✓ JavaScript modules support
                ✓ OCS provider resolving
                ✓ .well-known URLs: Your server is correctly configured to serve `.well-known` URLs.
                ✓ Font file loading
        system:
                ⚠ Errors in the log: 4 errors in the logs since January 13, 2025, 7:30:30 AM
                ✓ Allowed admin IP ranges: Admin IP filtering isn’t applied.
                ℹ Brute-force Throttle: Your remote address could not be determined.
                ✓ Cron errors: The last cron job ran without errors.
                ✓ Cron last run: Last background job execution ran seconds ago.
                ✓ Debug mode: Debug mode is disabled.
                ✓ File locking
                ✓ Maintenance window start: Maintenance window to execute heavy background jobs is between 1:00 UTC and 7:00 UTC
                ✓ Memcache: Configured
                ✓ Mimetype migrations available: None
                ✓ Architecture: 64-bit
                ✓ Temporary space available: Temporary directory is correctly configured:
- 9.7 GiB available in /tmp (PHP temporary directory)
- 6861.3 GiB available in /mnt/cloud/data/upload_tmp (Nextcloud temporary directory)
                ✓ Push service: Free push service
        notifications:
                ✓ Push notifications - Fair use policy
        security:
                ✓ App directories owner: App directories have the correct owner "www-data"
                ✓ Old administration imported certificates
                ✓ Code integrity: No altered files
                ℹ Forwarded for headers: Your remote address could not be determined.
                ✓ HTTPS access and URLs: You are accessing your instance over a secure connection, and your instance is generating secure URLs.
                ✓ Old server-side-encryption: Disabled
                ✓ PHP version: You are currently running PHP 8.3.11.
                ✓ Random generator: Secure
                ✓ HTTP headers: Your server is correctly configured to send security headers.
        database:
                ✓ Database missing columns: None
                ✓ Database missing indices: None
                ✓ Database missing primary keys: None
                ✓ Database pending bigint migrations: None
                ✓ MySQL Unicode support: You are not using MySQL
                ✓ Scheduling objects table size: Scheduling objects table size is within acceptable range.
                ✓ Database version: 17.2 (Ubuntu 17.2-1.pgdg24.04+1)
                ✓ Database transaction isolation level: Read committed
        config:
                ✓ Default phone region: DE
                ✓ Email test: Email test was successfully sent
                ✓ Overwrite CLI URL: The "overwrite.cli.url" option in your config.php is set to "https://MY.FQDN.CLOUD" which is a correct URL. Suggested URL is "https://localhost".
                ✓ Configuration file access rights: Nextcloud configuration file is writable
        php:
                ✓ PHP default charset: UTF-8
                ✓ PHP set_time_limit: The function is available.
                ✓ Freetype: Supported
                ✓ PHP getenv
                ✓ PHP memory limit: ?
                ✓ PHP modules
                ✓ PHP opcache: Correctly configured
                ✓ PHP "output_buffering" option: Disabled
                ✓ PHP Imagick module
        ldap:
                ✓ Invalid LDAP UUIDs: None found
                ✓ LDAP Connection: Binding and searching works on the configured LDAP connection (s01)

My letsencrypt cert is still valid until April 2025

Appended a journalctl output:

Update:

i opened an issue on github - maybe others will append to this

OK, so steps to reproduce
(as workaround!)

  1. occ app:remove notify_push
    → notify_push 1.0.0 disabled and removed
  2. download the tar.gz file of the 0.7 version from the nextcloud apps store
  3. unpack the file/folder to the …/nextcloud/apps dir
  4. check user rights, if all (also recursive) files → especially the binary file is accessible by the webuser (e,g, www-data)
  5. command …occ app:enable notify_push
    → should report that notify_push app version 0.7.0 is enabled
  6. restart the service
    → systemctl restart notify_push.service
    → systemctl status notify_push.service
  7. and see this!!

As you can see with same config notify_push is running again.
So really seems to be the binary file that is the smoking gun in this game, or any other ideas?

I do notice in your forum post that your x86_64/notify_push binary has a slightly different size than the distributed one:

the downloaded binary during nextcloud upgrade → apps updates seems to be 2 bytes too small (mine had 23455782)

It should be 23455784 .

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.