-
-
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
Nextcloud 12 throwing fatal error: cron - “Call to a member function getFileInfo() on null” #6803
Comments
According to the error times and dates, it looks like an daily For easier debugging/evaluation of errors, it would be nice to have a list of all background jobs, |
As mentioned above, please provide the content of your jobs table |
By checking the related apps background job php you can find out the schedule. |
Ok I run the sql command. These are my job results (I have already formatted the date):
OCA\Federation\SyncJob
The last time when the error occured was It looks like the weblog is right. Maybe it's the job for User4 which is already deleted, so it can't find the right sources? What should I do? Delete the entry? |
You can try the following code change too: That will remove the background job when the user does not exist anymore. If it works I will release it in a new version tomorrow |
It worked ! |
Hello,
I’m a beginner with Nextcloud and I set up a nextcloud 12.0.3 a few days ago.
It works, but I get every day between 6 pm and 8 pm the following error message:
{"reqId":"5kYNUzZGYp3iiub1VHMM","level":4,"time":"2017-10-08T19:30:04+00:00","remoteAddr":"","user":"--","app":"cron","method":"--","url":"--","message":"Call to a member function getFileInfo() on null","userAgent":"--","version":"12.0.3.3"}
For www-data only one Cornjob is set up:
*/15 * * * * php -f /var/www/nextcloud/cron.php
This are the times when the error occurred:
2017-10-02T18:15:36+00:00
2017-10-03T18:30:03+00:00
2017-10-04T18:45:13+00:00
2017-10-05T18:46:04+00:00
2017-10-06T19:00:03+00:00
2017-10-07T19:16:53+00:00
2017-10-08T19:30:04+00:00
2017-10-09T19:45:03+00:00
I tried to cleanup the occ file cache, but there was no file cache entries deleted.
About my system:
Debian Stretch
PHP-fpm: 7.0.19
Database: MySQL - MariaDB
Webserver: nginx
Does anyone have any solutions?
Thank you in advance.
The text was updated successfully, but these errors were encountered: