-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cronjob does not work #28472
Comments
How does your cron job look like? There are entries with database connection errors in the web server log. Did you do other changes than updating nextcloud? |
*/5 * * * php -f /var/www/cron.php Yes, my NX is located directly in /var/www These database connection errors are coming from the startup. My nexctoud is faster than the mysql server. |
How do you encounter that? Is there an error reported somewhere? Any specific jobs you expect to be executed that seem to be not running? |
Note that you are missing one field in that definition, it should be |
Thanks for your reply!
I looked it up again.... It is already |
Please check if |
|
Now I have another strange behavior: When I try to list all users ("everyone" in Users), they are not displayed and it says that an error occurred.
should I open a new issue for this? |
At the top of your config log is an exception regarding apcu. Is it enabled? I enabled apc on the CLI for the cron job: This is mentioned in https://docs.nextcloud.com/server/21/admin_manual/configuration_server/caching_configuration.html#id1 |
Hi No warning in log nor manual cron.php execution BUT it did warn for APCu problem when executing a recommended occ command. Hope this will help someone else or finding what happend with this 21 update ;) |
Yes, make sure to set |
Thanks for your answers (and your help)!
I thought it is enabled when I install the php module. I did not know that I have to add The cronjob now also runs through - even without |
Steps to reproduce
Expected behaviour
Cronjob should be working - i followed the manual: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html
Actual behaviour
Cronjob is not working, since the last major upgrade (from NX 20 to 21)
Server configuration
Operating system:
Ubuntu 20.04 LTS
Web server:
apache2
Database:
MySQL
PHP version:
php7.4 (already re-installed)
Nextcloud version: (see Nextcloud admin page)
21.0.4
Updated from an older Nextcloud/ownCloud or fresh install:
yes, from NX 20
Where did you install Nextcloud from:
https://docs.nextcloud.com/server/latest/admin_manual/index.html
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser:
Mozilla Firefox
Operating system:
Windows 10
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: