Hello,
For a few days, I have been getting an error message regarding backgroud jobs (in french, sorry…):
Quelque chose s'est mal passé lors de l'exécution de la dernière tâche il y a 28 minutes.
Until now, I was using cron as described here and everything worked fine. This message appeared (maybe since the last update to version 21.0.3 ??). I tried to switch to a systemd service as described here, but no more results; still the same error message.
However, it seems that the task is performed every 5 minutes:
Under which environment you’re running Nextcloud, a dedicated server, docker, etc.?
Unfortunately I cannot see under which user you’re executing the cron.php script. By default it should be executed every 5min by your web server user, e.g. “www-data” or “wwwrun”, etc.
Have you tried to execute the command manually on the console to see if any error messages are being displayed?
I, too, am having this issue with cron. Switching settings in NC does nothing. Setting up as cron does nothing and running as systemd does not fix this. Appears to be related to latest version.
Letzte Cron-Job-Ausführung: Vor 12 Tagen. Möglicherweise liegt ein Fehler vor. [Überprüfe Einstellungen für Hintergrundausführungen]
Gleicher Fehler, gleiche Version
Debian 10
lxc
Does the occ CLI tool work for you? I noticed that occ throws an error about an unconfigured APC module, and i had to set apc.enable_cli=1 in my PHP configuration. After i did, cron jobs worked again.