Nextcloud version (eg, 12.0.2): 17.0.2
Operating system and version (eg, Ubuntu 17.04): Debian 10
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.38
PHP version (eg, 7.1): 7.3
The issue you are facing:
The PHP cron process will sometimes run indefinitely. I have to manually kill those processes via a terminal.
Is this the first time you’ve seen this error? (Y/N): Yes, since updating from 16 to 17
Steps to replicate it:
- Create crontab entry:
*/5 * * * * /usr/bin/php7.3 -f /var/www/cloud/cron.php
(/usr/bin/php
is mapped to version 7.4, of which is unsupported.) - Let it run.
- Wait for your firewall application to warn you that there has been an unexpected process running as “www-data” for more than half an hour.
The output of your Nextcloud log in Admin > Logging:
{"reqId":"Ix1sq9tm2OxZPOF0pnM2","level":2,"time":"2019-12-24T22:12:48+00:00","remoteAddr":"2a02:8010:8002:1:***","user":"--","app":"core","method":"GET","url":"/index.php/apps/logreader/settings","message":"Renewing session token failed","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36","version":"17.0.2.1","id":"5e0335d0cf6a6"}
(This is the only recent log entry since this issue has started, and probably irrelevant.)
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'instanceid' => 'ocs6pbp54s7p',
'passwordsalt' => '***',
'secret' => '***',
'trusted_domains' =>
array (
0 => 'cloud.example.com',
),
'datadirectory' => '/var/www/cloud/data',
'dbtype' => 'mysql',
'version' => '17.0.2.1',
'overwrite.cli.url' => 'https://cloud.example.com',
'installed' => true,
'maintenance' => false,
'dbname' => 'cloud_nextcloud',
'dbhost' => 'db.example.com',
'dbuser' => 'cloud',
'dbpassword' => '***',
'mail_smtpmode' => 'sendmail',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'cloud',
'mail_domain' => 'example.com',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'theme' => '',
'loglevel' => 2,
'mysql.utf8mb4' => true,
);
The output of your Apache/nginx/system log in /var/log/____
: (Irrelevant, non-HTTP issue.)
Potentially related: https://github.com/nextcloud/groupfolders/issues/722