Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
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
Nextcloud version: 25.0.2.3
Operating system and version : Ubuntu 22.04
Apache or nginx version: 2.4.52
PHP version: 8.0
Web Hosting Panel: ISPConfig 3.2.9
The issue you are facing:
When setting cron, it is not normally applied. After 10 minutes, the following message is displayed.
‘Last background job execution ran 10 minutes ago. Something seems wrong.’
Is this the first time you’ve seen this error? : N
Here’s how I tried to fix this problem.
https://forum.howtoforge.com/threads/nextcloud-cron-error-ubuntu-22-04.90018/
• Modify crontab
crontab -u www-data -e
*/5 * * * * php -f /var/www/clients/client0/web2/web/cron.php
Problem still not resolved.
• Add --define apc.enable_cli=1 to cron
crontab -u www-data -e
*/5 * * * * php -f /var/www/clients/client0/web2/web/cron.php --define apc.enable_cli=1
Problem still not resolved.
• Add Cron Jobs in ISPConfig
Problem still not resolved.
• Modify apcu.ini
Add apc.enable_cli=1 to /etc/php/8.0/mods-available/apuc.ini
Problem still not resolved.
• Replacing memory caching from APCu to Redis
Problem still not resolved.
'filelocking.enabled' => true,
'memcache.local' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => ****,
'password' => '****',
),
The output of your config.php file in '/var/www/clients/client0/web2/web/config/config.php
:
<?php
$CONFIG = array (
'filelocking.enabled' => true,
'memcache.local' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => ****,
'password' => '****',
),
'default_phone_region' => 'KR',
'instanceid' => '****',
'passwordsalt' => '****',
'secret' => '****',
'trusted_domains' =>
array (
0 => '******.com',
),
'datadirectory' => '/var/www/clients/client0/web2/web/data',
'dbtype' => 'mysql',
'version' => '25.0.2.3',
'overwrite.cli.url' => 'https://*****.com',
'dbname' => '****',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '****',
'dbpassword' => '****',
'installed' => true,
'mail_smtpmode' => '',
'mail_sendmailmode' => '',
'mail_domain' => '',
'mail_smtpsecure' => '',
'mail_smtpauth' => 1,
'mail_smtpname' => '',
'mail_smtppassword' => '',
'mail_smtpauthtype' => 'LOGIN',
);
I’ve tried most of the possible solutions, but the problem hasn’t been resolved.
Is this a problem because the website owner and group are not www-data:www-data?