The crontab issue has been around for over a week. Each day I start up Nextcloud, I see the same cron message. I have read numerous articles and tried a number of different things to fix it. So far nothing has worked. Any help with this issue would be greatly appreciated. I have just recently setup my Unraid server and installed the NextCloud docker container. So far things are going very well except for this persistent cron issue.
Nextcloud version: Nextcloud Hub 3 (25.0.2)
Operating system and version: Linux 5.19.17-Unraid x86_64
Apache or nginx version: nginx/1.20.2
PHP version: 8.0.25
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
Go to Basic Setings and view Background Jobs.
The output of config.php file
config.php
<?php
$CONFIG = array (
'filelocking.enabled' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\Memcache\\APCu',
'datadirectory' => '/data',
'instanceid' => 'xxxxxxxxxx',
'passwordsalt' => 'xxxxxxxxxxxxx',
'secret' => 'xxxxxxxxxx',
'trusted_domains' =>
array (
0 => 'xxxxxxxxx',
1 => 'xxxxxxxxx',
),
'dbtype' => 'mysql',
'version' => '25.0.2.3',
'overwrite.cli.url' => 'https://xxxxxxxx',
'dbname' => 'nextcloud',
'dbhost' => 'xxxxxxx:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'xxxxxxx',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'xxxxxx',
'mail_domain' => 'gmail.com',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.gmail.com',
'mail_smtpport' => '587',
'mail_smtpname' => 'xxxxxx@gmail.com',
'mail_smtppassword' => 'xxxxxx',
'memories.exiftool' => '/config/www/nextcloud/apps/memories/exiftool-bin/exiftool-amd64-musl',
'updater.release.channel' => 'stable',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
0 => 'xxxxxx Family',
),
'twofactor_enforced_excluded_groups' =>
array (
),
);
The output of your Apache/nginx/system log in /var/log/____
:
error.log on /var/log/nginx is empty.
Here is the output of crontab -l
root@bf333f7f86f4:/var/log/php8# crontab -l
do daily/weekly/monthly maintenance
min hour day month weekday command
*/15 * * * * run-parts /etc/periodic/15min
0 * * * * run-parts /etc/periodic/hourly
0 2 * * * run-parts /etc/periodic/daily
0 3 * * 6 run-parts /etc/periodic/weekly
0 5 1 * * run-parts /etc/periodic/monthly
nextcloud cron
*/5 * * * * s6-setuidgid abc php -f /config/www/nextcloud/cron.php