Last background job execution ran 22 days ago. Something seems wrong

Nextcloud version 20.0.4
Operating system and version Debian 10
Apache 2.4.38
PHP 7.4.13

Hello
There was everything good in my system until now. Nextcloud still works good but in Overview section i can see error:
Background jobs Last job execution ran 22 days ago. Something seems wrong.

What is wrong? When i execute command:
sudo -u www-data php -f /var/www/nextcloud/cron.php

it helps but after about an hour error apears again.

When i execute command:
sudo -u www-data crontab -l

i get:

no crontab for www-data

Help me please.
Thank you.

Read the Nextcloud administrator guide and follow the instruction to set-up a cron job which is executed on a regular base.

@j-ed thank you very much! Problem solved.

1 Like

Hello again,

The problem has returned. I think everything is configured correctly. This time when i execute command:
sudo -u www-data crontab -l

i get:

OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

Nextcloud version 22.2.0

Please give me a hint.

It seems the problem solved: OCC won't run with memcache/apcu - #8 by feligato

See: 21.0.3 OC\HintException: Memcache \OC\Memcache\APCu not available · Issue #27781 · nextcloud/server · GitHub