Pcntl_signal' and 'pcntl_signal_dispatch

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):
    • 31.0.9
  • Operating system and version (e.g., Ubuntu 24.04):
    • opensuse Tumbleweed
  • Web server and version (e.g, Apache 2.4.25):
    • apache2 2.4.64-2.1
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • kein
  • PHP version (e.g, 8.3):
    • php8 8.4.13-1
  • Is this the first time you’ve seen this error? (Yes / No):
    • replace me
  • When did this problem seem to first start?
    • replace me
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • tar - file
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • yes,

Summary of the issue you are facing:

[…der Start des Programms occ führt immer nur zu einer Fehlermeldung

]

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

  1. sudo -u wwwrun php occ db:add-missing-columns

  2. The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php
    Additionally the function ‘pcntl_signal’ and ‘pcntl_signal_dispatch’ need to be enabled in your php.ini.
    Done.

  3. In den beiden php.ini für cli und apache2 gibt es keinen Abschnitt oder Hinweise was man für pcntl_signal eintragen soll.

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.

{"reqId":"l10jYPUH1MpOVKqxyOjs","level":3,"time":"2025-10-10T12:43:02+00:00","remoteAddr":"170.64.197.230","user":"--","app":"index","method":"GET","url":"/alive.php","message":"The requested uri(/alive.php) cannot be processed by the script '/nextcloud/index.php')","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36","version":"31.0.9.1","exception":{"Exception":"Exception","Message":"The requested uri(/alive.php) cannot be processed by the script '/nextcloud/index.php')","Code":0,"Trace":[{"file":"/srv/www/htdocs/nextcloud/lib/private/AppFramework/Http/Request.php","line":737,"function":"getRawPathInfo","class":"OC\\AppFramework\\Http\\Request","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/base.php","line":806,"function":"getPathInfo","class":"OC\\AppFramework\\Http\\Request","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/base.php","line":1194,"function":"init","class":"OC","type":"::"},{"file":"/srv/www/htdocs/nextcloud/index.php","line":22,"args":["/srv/www/htdocs/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/www/htdocs/nextcloud/lib/private/AppFramework/Http/Request.php","Line":711,"message":"The requested uri(/alive.php) cannot be processed by the script '/nextcloud/index.php')","exception":{},"CustomMessage":"The requested uri(/alive.php) cannot be processed by the script '/nextcloud/index.php')"}}
{"reqId":"oSf8Qj8wsxZF2vd11nFQ","level":3,"time":"2025-10-10T12:43:18+00:00","remoteAddr":"170.64.197.230","user":"--","app":"index","method":"GET","url":"/teorema505?t=1","message":"The requested uri(/teorema505) cannot be processed by the script '/nextcloud/index.php')","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36","version":"31.0.9.1","exception":{"Exception":"Exception","Message":"The requested uri(/teorema505) cannot be processed by the script '/nextcloud/index.php')","Code":0,"Trace":[{"file":"/srv/www/htdocs/nextcloud/lib/private/AppFramework/Http/Request.php","line":737,"function":"getRawPathInfo","class":"OC\\AppFramework\\Http\\Request","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/base.php","line":806,"function":"getPathInfo","class":"OC\\AppFramework\\Http\\Request","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/base.php","line":1194,"function":"init","class":"OC","type":"::"},{"file":"/srv/www/htdocs/nextcloud/index.php","line":22,"args":["/srv/www/htdocs/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/www/htdocs/nextcloud/lib/private/AppFramework/Http/Request.php","Line":711,"message":"The requested uri(/teorema505) cannot be processed by the script '/nextcloud/index.php')","exception":{},"CustomMessage":"The requested uri(/teorema505) cannot be processed by the script '/nextcloud/index.php')"}}
{"reqId":"6K3rojBXIer9ULINCgN4","level":2,"time":"2025-10-10T13:25:19+00:00","remoteAddr":"192.168.178.20","user":"lothar","app":"PHP","method":"GET","url":"/nextcloud/index.php/apps/mail/api/messages/96748/dkim","message":"Undefined array key 1 at /srv/www/htdocs/nextcloud/apps/mail/vendor/phpmailer/dkimvalidator/src/Validator.php#52","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"31.0.9.1","data":{"app":"PHP"}}
{"reqId":"3uKd4gdUbJ2vqP9PpPdd","level":2,"time":"2025-10-10T13:27:28+00:00","remoteAddr":"192.168.178.20","user":"lothar","app":"PHP","method":"GET","url":"/nextcloud/index.php/apps/mail/api/messages/96737/dkim","message":"Undefined array key 1 at /srv/www/htdocs/nextcloud/apps/mail/vendor/phpmailer/dkimvalidator/src/Validator.php#52","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"31.0.9.1","data":{"app":"PHP"}}
{"reqId":"9jFc5hiiLL2vjiOeNQDl","level":2,"time":"2025-10-10T13:51:23+00:00","remoteAddr":"192.168.178.20","user":"lothar","app":"core","method":"GET","url":"/nextcloud/index.php/apps/logreader/api/poll?lastReqId=3uKd4gdUbJ2vqP9PpPdd","message":"Request used more than 300 MB of RAM: 305.1 MB","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"31.0.9.1","data":{"app":"core"}}
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

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

sudo -u wwwrun php occ config:list system
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see PHP: PCNTL - Manual
Additionally the function ‘pcntl_signal’ and ‘pcntl_signal_dispatch’ need to be enabled in your php.ini.
{
“system”: {
“instanceid”: “***REMOVED SENSITIVE VALUE***”,
“passwordsalt”: “***REMOVED SENSITIVE VALUE***”,
“secret”: “***REMOVED SENSITIVE VALUE***”,
“trusted_domains”: [
“192.168.178.20”,
xxxxxxxxxxx.de”,
“mainframe”
],
“default_phone_region”: “DE”,
“default_locale”: “de”,
“force_locale”: “de”,
“datadirectory”: “***REMOVED SENSITIVE VALUE***”,
“dbtype”: “mysql”,
“version”: “31.0.9.1”,
“overwrite.cli.url”: “https:\/\/mainframe\/nextcloud”,
“dbname”: “***REMOVED SENSITIVE VALUE***”,
“dbhost”: “***REMOVED SENSITIVE VALUE***”,
“dbport”: “”,
“dbtableprefix”: “oc_”,
“mysql.utf8mb4”: true,
“dbuser”: “***REMOVED SENSITIVE VALUE***”,
“dbpassword”: “***REMOVED SENSITIVE VALUE***”,
“installed”: true,
“allow_local_remote_servers”: true,
“mail_smtpmode”: “smtp”,
“mail_smtpsecure”: “ssl”,
“mail_sendmailmode”: “smtp”,
“mail_from_address”: “***REMOVED SENSITIVE VALUE***”,
“mail_domain”: “***REMOVED SENSITIVE VALUE***”,
“mail_smtphost”: “***REMOVED SENSITIVE VALUE***”,
“mail_smtpport”: “465”,
“mail_smtpauth”: 1,
“mail_smtpname”: “***REMOVED SENSITIVE VALUE***”,
“mail_smtppassword”: “***REMOVED SENSITIVE VALUE***”,
“maintenance”: false,
“debug”: false,
“loglevel”: 2,
“log_type”: “file”,
“log_type_audit”: “file”,
“logfile”: “\/var\/extra\/nextcloud\/data\/nextcloud.log”,
“logfile_audit”: “\/var\/extra\/nextcloud\/data\/audit.log”,
“logfilemode”: 416,
“loglevel_frontend”: 2,
“0”: “logdateformat\” => \“F d, Y H:i:s”,
“maintenance_window_start”: “100”,
“app_install_overwrite”: {
“2”: “maps”,
“3”: “backup”
},
“theme”: “”,
“allowed_admin_ranges”: [
“127.0.0.1\/8”,
“192.168.0.0\/16”
]
}
}

Apps

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

sudo -u wwwrun php occ app:list
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see PHP: PCNTL - Manual
Additionally the function ‘pcntl_signal’ and ‘pcntl_signal_dispatch’ need to be enabled in your php.ini.
Enabled:

  • activity: 4.0.0
  • admin_audit: 1.21.0
  • app_api: 5.0.2
  • bruteforcesettings: 4.0.0
  • calendar: 5.5.6
  • circles: 31.0.0
  • cloud_federation_api: 1.14.0
  • comments: 1.21.0
  • contacts: 7.3.3
  • contactsinteraction: 1.12.0
  • dashboard: 7.11.0
  • dav: 1.33.0
  • dicomviewer: 2.3.1
  • federatedfilesharing: 1.21.0
  • federation: 1.21.0
  • files: 2.3.1
  • files_downloadlimit: 4.0.0
  • files_pdfviewer: 4.0.0
  • files_reminders: 1.4.0
  • files_sharing: 1.23.1
  • files_trashbin: 1.21.0
  • files_versions: 1.24.0
  • firstrunwizard: 4.0.0
  • fulltextsearch: 31.0.0
  • groupfolders: 19.1.7
  • logreader: 4.0.0
  • lookup_server_connector: 1.19.0
  • mail: 5.5.7
  • maps: 1.6.0
  • metadata: 0.23.0
  • nextcloud_announcements: 3.0.0
  • notes: 4.12.3
  • notifications: 4.0.0
  • oauth2: 1.19.1
  • password_policy: 3.0.0
  • photos: 4.0.0
  • privacy: 3.0.0
  • profile: 1.0.0
  • provisioning_api: 1.21.0
  • recommendations: 4.0.0
  • related_resources: 2.0.0
  • serverinfo: 3.0.0
  • settings: 1.14.0
  • sharebymail: 1.21.0
  • spreed: 21.1.5
  • support: 3.0.0
  • survey_client: 3.0.0
  • systemtags: 1.21.1
  • tables: 0.9.5
  • tasks: 0.16.1
  • text: 5.0.0
  • theming: 2.6.1
  • twofactor_backupcodes: 1.20.0
  • updatenotification: 1.21.0
  • user_status: 1.11.0
  • viewer: 4.0.0
  • weather_status: 1.11.0
  • webhook_listeners: 1.2.0
  • whiteboard: 1.2.1
  • workflowengine: 2.13.0
    Disabled:
  • encryption: 2.19.0
  • files_external: 1.23.0
  • fileslibreofficeedit: 2.0.1 (installed 2.0.1)
  • richdocuments: 8.7.5 (installed 8.7.5)
  • suspicious_login: 9.0.1
  • twofactor_nextcloud_notification: 5.0.0
  • twofactor_totp: 13.0.0-dev.0
  • user_ldap: 1.22.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.

You probably just need to install the pcntl PHP module/extension:

The package on Tumbleweed is likely called php8-pcntl or similar.

Super genau das war es.

Vielen vielen Dank

Lothar

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