Nextcloud version (eg, 20.0.5): 27.1.3
Operating system and version (eg, Ubuntu 20.04): FreeBSD 13.2-RELEASE-p4 GENERIC amd64
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4
PHP version (eg, 7.4): 8.2
The issue you are facing:
I’ve set con.php to run once every hour. A couple of times every day, the system reports the following:
php8.2 -f /path/to/cron.php
completed at 2023-10-31 13:15:08 UTC after 15 minutes and produced the
following output:
php8.2 -f /path/to/cron.php exited with no output and return code 14
What does this return code mean?
Where can I find descriptions/explanations of Nextcloud’s return/error codes?
Is this the first time you’ve seen this error? (Y/N):
N
Steps to replicate it:
See description above.
The output of your Nextcloud log in Admin > Logging:
I don’t see any log entries corresponding to this.
The output of your config.php file in
/path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array(
'instanceid' => '[redacted]',
'passwordsalt' => '[redacted]',
'secret' => '[redacted]',
'trusted_domains' =>
array(
0 => 'site.example.com',
),
'datadirectory' => '/path/to/data',
'tempdirectory' => '/path/to/temp',
'log_type' => 'file',
'logfile' => '/path/to/log',
'logfilemode' => 432,
'loglevel' => 2,
'log.condition' =>
array(
'apps' =>
array(
0 => 'admin_audit',
),
),
'log_rotate_size' => 10485760,
'debug' => false,
'dbtype' => 'mysql',
'version' => '27.1.1.0',
'overwrite.cli.url' => 'https://site.example.com/base',
'htaccess.RewriteBase' => '/base',
'dbname' => '[redacted]',
'dbhost' => '[redacted]',
'dbport' => '[redacted]',
'dbtableprefix' => '[redacted]',
'mysql.utf8mb4' => true,
'dbuser' => '[redacted]',
'dbpassword' => '[redacted]',
'installed' => true,
'mail_smtpmode' => 'sendmail',
'mail_sendmailmode' => 'smtp',
'mail_smtpdebug' => false,
'mail_smtpsecure' => '',
'mail_smtpauth' => false,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => '127.0.0.1',
'mail_smtpport' => 25,
'mail_smtptimeout' => 10,
'trashbin_retention_obligation' => 'auto, 30',
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array(
0 => '[redacted]',
1 => '[redacted]',
),
'twofactor_enforced_excluded_groups' =>
array(
),
'maintenance' => false,
'has_rebuilt_cache' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'theme' => '',
);
The output of your Apache/nginx/system log in
/var/log/____
:
NA
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
No corresponding errors in nextcloud.log.