Nextcloud version (eg, 20.0.5): 23.0.0
Image: nextcloud:23.0.0-apache
Until recently Background jobs completely normally, but something happened
The cron jobs I have setup myself:
- Create a new container (image:curlimages/curl:7.81.0)
- Cron Schedule: Every 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50 and 55th minute past every hour
- Command: curl -L -s https://nextcloud/cron.php
Log:
{“status”:“success”}
When I running this command in the container (php -f /var/www/html/cron.php) it’s everything okay.
My config.php
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'redis',
'port' => 6379,
),
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'overwriteprotocol' => 'https',
'objectstore' =>
array (
'class' => '\\OC\\Files\\ObjectStore\\S3',
'arguments' =>
array (
'bucket' => 'nextcloud-prod-01',
'key' => 'nextcloud-prod-01',
'secret' => 'xxxxxxx',
'region' => 'central-1',
'hostname' => 'xxxxxxx',
'port' => '',
'objectPrefix' => 'urn:oid:',
'autocreate' => false,
'use_ssl' => true,
'use_path_style' => true,
'legacy_auth' => false,
),
),
'passwordsalt' => 'xxxxxxx',
'secret' => 'xxxxxxxx',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'nextcloud-prod-01.xxxx',
2 => 'nextcloud',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '23.0.0.10',
'overwrite.cli.url' => 'https://localhost',
'dbname' => 'nextcloud_prod_01',
'dbhost' => 'mariadb',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'xxxxxxx',
'installed' => true,
'instanceid' => 'xxxxxxx',
'maintenance' => false,
'mail_smtpmode' => 'smtp',
'mail_smtphost' => 'relay-postfix.mailserver.svc.cluster.local',
'mail_sendmailmode' => 'smtp',
'mail_smtpport' => '25',
'loglevel' => 0,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'mail_from_address' => 'noreply',
'mail_domain' => 'xxxxxxx',
);