{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/23513","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/23513/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/23513/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/23513/events","html_url":"https://github.com/owncloud/core/issues/23513","id":142959443,"number":23513,"title":"Cron gives errors on getQuota() on null in apps/files_versions/lib/storage.php on line 691","user":{"login":"remkolodder","id":695440,"avatar_url":"https://avatars.githubusercontent.com/u/695440?v=3","gravatar_id":"","url":"https://api.github.com/users/remkolodder","html_url":"https://github.com/remkolodder","followers_url":"https://api.github.com/users/remkolodder/followers","following_url":"https://api.github.com/users/remkolodder/following{/other_user}","gists_url":"https://api.github.com/users/remkolodder/gists{/gist_id}","starred_url":"https://api.github.com/users/remkolodder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remkolodder/subscriptions","organizations_url":"https://api.github.com/users/remkolodder/orgs","repos_url":"https://api.github.com/users/remkolodder/repos","events_url":"https://api.github.com/users/remkolodder/events{/privacy}","received_events_url":"https://api.github.com/users/remkolodder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:files_trashbin","name":"app:files_trashbin","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/app:files_versions","name":"app:files_versions","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/green-ticket","name":"green-ticket","color":"00B85C"},{"url":"https://api.github.com/repos/owncloud/core/labels/regression","name":"regression","color":"e11d21"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev1-critical","name":"sev1-critical","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/77","html_url":"https://github.com/owncloud/core/milestones/9.0.2-current-maintenance","labels_url":"https://api.github.com/repos/owncloud/core/milestones/77/labels","id":1632540,"number":77,"title":"9.0.2-current-maintenance","description":null,"creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":41,"state":"open","created_at":"2016-03-09T09:57:18Z","updated_at":"2016-04-22T08:33:19Z","due_on":"2016-05-03T04:00:00Z","closed_at":null},"comments":18,"created_at":"2016-03-23T13:32:20Z","updated_at":"2016-04-22T09:15:18Z","closed_at":null,"body":"\r\n### Steps to reproduce\r\n1. put this in cron: */15    *       *       *       *       www     /usr/local/bin/php -f /usr/local/www/owncloud/cron.php\r\n2. I think this happends when file-synchronising occurs from my laptop to the server.\r\n\r\n### Expected behaviour\r\nThe cronjob runs and does it job.\r\n\r\n### Actual behaviour\r\nThe cronjob reports errors and emails them. Manually running the cron command does not lead to this issue (from cli instead of cron)\r\n\r\n### Server configuration\r\n**Operating system**:\r\nFreeBSD 10.2\r\n\r\n**Web server:**\r\napache24-2.4.18\r\n\r\n**Database:**\r\nmysql55-server-5.5.46\r\n\r\n**PHP version:**\r\nPHP 5.6.19 (cli)\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\nownCloud 9.0.0 (stable)\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nUpdated from OC 8.2.2\r\n\r\n**Where did you install ownCloud from:**\r\nFreeBSD package\r\n\r\n**Signing status (ownCloud 9.0 and above):**\r\n\r\n```\r\nNo errors have been found..\r\n```\r\n\r\n**List of activated apps:**\r\n\r\n```\r\nEnabled:\r\n  - activity: 2.2.1\r\n  - calendar: 1.0\r\n  - comments: 0.2\r\n  - contacts: 1.0.0.0\r\n  - dav: 0.1.5\r\n  - external: 1.2\r\n  - federatedfilesharing: 0.1.0\r\n  - federation: 0.0.4\r\n  - files: 1.4.4\r\n  - files_external: 0.5.2\r\n  - files_pdfviewer: 0.8\r\n  - files_sharing: 0.9.1\r\n  - files_texteditor: 2.1\r\n  - files_trashbin: 0.8.0\r\n  - files_versions: 1.2.0\r\n  - files_videoplayer: 0.9.8\r\n  - firstrunwizard: 1.1\r\n  - gallery: 14.5.0\r\n  - notifications: 0.2.3\r\n  - provisioning_api: 0.4.1\r\n  - systemtags: 0.2\r\n  - templateeditor: 0.1\r\n  - updatenotification: 0.1.0\r\n  - user_external: 0.4\r\nDisabled:\r\n  - documents\r\n  - encryption\r\n  - mail\r\n  - search_lucene\r\n  - storagecharts2\r\n  - user_ldap\r\n```\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\n{\r\n    \"system\": {\r\n        \"instanceid\": \"ocmkad99mc4s\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n            \"cloud.elvandar.org\"\r\n        ],\r\n        \"datadirectory\": \"\\/usr\\/local\\/www\\/owncloud\\/data\",\r\n        \"overwrite.cli.url\": \"https:\\/\\/cloud.elvandar.org\\/owncloud\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"9.0.0.19\",\r\n        \"dbname\": \"evil_owncloud\",\r\n        \"dbhost\": \"localhost:\\/tmp\\/mysql.sock\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"installed\": true,\r\n        \"maintenance\": false,\r\n        \"forcessl\": true,\r\n        \"loglevel\": 1,\r\n        \"log_rotate_size\": \"900 MiB\",\r\n        \"theme\": \"\",\r\n        \"forceSSLforSubdomains\": true,\r\n        \"enable_avatars\": false,\r\n        \"trashbin_retention_obligation\": \"10, auto\",\r\n        \"updatechecker\": true,\r\n        \"has_internet_connection\": true,\r\n        \"redis\": {\r\n            \"host\": \"localhost\",\r\n            \"port\": 6379,\r\n            \"timeout\": 0,\r\n            \"dbindex\": 0\r\n        },\r\n        \"trusted_proxies\": [\r\n            \"10.0.2.50\"\r\n        ],\r\n        \"forwarded_for_headers\": [\r\n            \"HTTP_X_FORWARDED\",\r\n            \"HTTP_FORWARDED_FOR\"\r\n        ],\r\n        \"debug\": true\r\n    }\r\n}\r\n```\r\n\r\n**Are you using external storage, if yes which one:** local and nfs\r\n\r\n**Are you using encryption:** /no\r\n\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nn/a\r\n\r\n### Client configuration\r\n**Browser:**\r\nSafari 9.1\r\n**Operating system:**\r\nFreeBSD 10.2\r\n\r\n### Logs\r\n#### Web server error log\r\n```\r\nn/a\r\n```\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n```\r\n{\"reqId\":\"t4nrOVWa2nuxDZjFBMtX\",\"remoteAddr\":\"2001:470:d701::500\",\"app\":\"no app in context\",\"message\":\"Exception: {\\\"Exception\\\":\\\"OCP\\\\\\\\Lock\\\\\\\\LockedException\\\",\\\"Message\\\":\\\"\\\\\\\"Fotos\\\\\\/fotos-remko\\\\\\/RL-Lokaal.photoslibrary\\\\\\/Database\\\\\\/metaSchema.db\\\\\\\" is locked\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/view.php(1952): OC\\\\\\\\Files\\\\\\\\View->lockPath('\\\\\\/files\\\\\\/Fotos\\\\\\/fo...', 1, false)\\\\n#1 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/view.php(799): OC\\\\\\\\Files\\\\\\\\View->lockFile('\\\\\\/files\\\\\\/Fotos\\\\\\/fo...', 1)\\\\n#2 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/files_versions\\\\\\/lib\\\\\\/storage.php(192): OC\\\\\\\\Files\\\\\\\\View->copy('files\\\\\\/\\\\\\/Fotos\\\\\\/fo...', 'files_versions\\\\\\/...')\\\\n#3 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/files_versions\\\\\\/lib\\\\\\/hooks.php(60): OCA\\\\\\\\Files_Versions\\\\\\\\Storage::store('\\\\\\/Fotos\\\\\\/fotos-re...')\\\\n#4 [internal function]: OCA\\\\\\\\Files_Versions\\\\\\\\Hooks::write_hook(Array)\\\\n#5 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/hook.php(105): call_user_func(Array, Array)\\\\n#6 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/filechunking.php(211): OC_Hook::emit('OC_Filesystem', 'write', Array)\\\\n#7 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/dav\\\\\\/lib\\\\\\/connector\\\\\\/sabre\\\\\\/file.php(436): OC_FileChunking->file_assemble(Object(OCA\\\\\\\\Files_Trashbin\\\\\\\\Storage), 'fotos-remko\\\\\\/mac...', '\\\\\\/remko\\\\\\/files\\\\\\/Fo...')\\\\n#8 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/dav\\\\\\/lib\\\\\\/connector\\\\\\/sabre\\\\\\/file.php(103): OCA\\\\\\\\DAV\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\File->createFileChunked(Resource id #387)\\\\n#9 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/dav\\\\\\/lib\\\\\\/connector\\\\\\/sabre\\\\\\/directory.php(134): OCA\\\\\\\\DAV\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\File->put(Resource id #387)\\\\n#10 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(1036): OCA\\\\\\\\DAV\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\Directory->createFile('metaSchema.db-c...', Resource id #387)\\\\n#11 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/CorePlugin.php(525): Sabre\\\\\\\\DAV\\\\\\\\Server->createFile('Fotos\\\\\\/fotos-rem...', Resource id #387, NULL)\\\\n#12 [internal function]: Sabre\\\\\\\\DAV\\\\\\\\CorePlugin->httpPut(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#13 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/event\\\\\\/lib\\\\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\\\n#14 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(459): Sabre\\\\\\\\Event\\\\\\\\EventEmitter->emit('method:PUT', Array)\\\\n#15 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(248): Sabre\\\\\\\\DAV\\\\\\\\Server->invokeMethod(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#16 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/dav\\\\\\/appinfo\\\\\\/v1\\\\\\/webdav.php(55): Sabre\\\\\\\\DAV\\\\\\\\Server->exec()\\\\n#17 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/remote.php(138): require_once('\\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/...')\\\\n#18 {main}\\\",\\\"File\\\":\\\"\\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/view.php\\\",\\\"Line\\\":1854}\",\"level\":3,\"time\":\"2016-03-23T13:09:56+00:00\"}\r\n{\"reqId\":\"P4YHGt\\/acajjMNTCLjbc\",\"remoteAddr\":\"\",\"app\":\"files\",\"message\":\" Backends provided no user object for \",\"level\":3,\"time\":\"2016-03-23T13:15:00+00:00\"}\r\n{\"reqId\":\"P4YHGt\\/acajjMNTCLjbc\",\"remoteAddr\":\"\",\"app\":\"core\",\"message\":\"Error while running background job (class: OC\\\\Command\\\\CommandJob, arguments: O:33:\\\"OCA\\\\Files_Versions\\\\Command\\\\Expire\\\":2:{s:43:\\\"\\u0000OCA\\\\Files_Versions\\\\Command\\\\Expire\\u0000fileName\\\";s:94:\\\"\\/Fotos\\/fotos-remko\\/macbook\\/RL-Lokaal.photoslibrary\\/resources\\/recovery\\/RKVersion\\/0000000000.lij\\\";s:39:\\\"\\u0000OCA\\\\Files_Versions\\\\Command\\\\Expire\\u0000user\\\";s:5:\\\"remko\\\";}): {\\\"Exception\\\":\\\"OC\\\\\\\\User\\\\\\\\NoUserException\\\",\\\"Message\\\":\\\"Backends provided no user object for \\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/files_versions\\\\\\/lib\\\\\\/storage.php(101): OC\\\\\\\\Files\\\\\\\\Filesystem::initMountPoints(false)\\\\n#1 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/files_versions\\\\\\/lib\\\\\\/storage.php(681): OCA\\\\\\\\Files_Versions\\\\\\\\Storage::getUidAndFilename('\\\\\\/Fotos\\\\\\/fotos-re...')\\\\n#2 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/files_versions\\\\\\/command\\\\\\/expire.php(61): OCA\\\\\\\\Files_Versions\\\\\\\\Storage::expire('\\\\\\/Fotos\\\\\\/fotos-re...')\\\\n#3 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/command\\\\\\/commandjob.php(34): OCA\\\\\\\\Files_Versions\\\\\\\\Command\\\\\\\\Expire->handle()\\\\n#4 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/backgroundjob\\\\\\/job.php(52): OC\\\\\\\\Command\\\\\\\\CommandJob->run('O:33:\\\\\\\"OCA\\\\\\\\\\\\\\\\Files...')\\\\n#5 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/backgroundjob\\\\\\/queuedjob.php(42): OC\\\\\\\\BackgroundJob\\\\\\\\Job->execute(Object(OC\\\\\\\\BackgroundJob\\\\\\\\JobList), Object(OC\\\\\\\\Log))\\\\n#6 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/cron.php(141): OC\\\\\\\\BackgroundJob\\\\\\\\QueuedJob->execute(Object(OC\\\\\\\\BackgroundJob\\\\\\\\JobList), Object(OC\\\\\\\\Log))\\\\n#7 {main}\\\",\\\"File\\\":\\\"\\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/filesystem.php\\\",\\\"Line\\\":387}\",\"level\":3,\"time\":\"2016-03-23T13:15:00+00:00\"}\r\n{\"reqId\":\"P4YHGt\\/acajjMNTCLjbc\",\"remoteAddr\":\"\",\"app\":\"files\",\"message\":\" Backends provided no user object for \",\"level\":3,\"time\":\"2016-03-23T13:15:00+00:00\"}\r\n{\"reqId\":\"P4YHGt\\/acajjMNTCLjbc\",\"remoteAddr\":\"\",\"app\":\"core\",\"message\":\"Error while running background job (class: OC\\\\Command\\\\CommandJob, arguments: O:33:\\\"OCA\\\\Files_Versions\\\\Command\\\\Expire\\\":2:{s:43:\\\"\\u0000OCA\\\\Files_Versions\\\\Command\\\\Expire\\u0000fileName\\\";s:60:\\\"Documenten\\/path/to/private/document.extension\\\";s:39:\\\"\\u0000OCA\\\\Files_Versions\\\\Command\\\\Expire\\u0000user\\\";s:5:\\\"remko\\\";}): {\\\"Exception\\\":\\\"OC\\\\\\\\User\\\\\\\\NoUserException\\\",\\\"Message\\\":\\\"Backends provided no user object for \\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/files_versions\\\\\\/lib\\\\\\/storage.php(101): OC\\\\\\\\Files\\\\\\\\Filesystem::initMountPoints(false)\\\\n#1 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/files_versions\\\\\\/lib\\\\\\/storage.php(681): OCA\\\\\\\\Files_Versions\\\\\\\\Storage::getUidAndFilename('Documenten\\\\\\/docu...')\\\\n#2 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/files_versions\\\\\\/command\\\\\\/expire.php(61): OCA\\\\\\\\Files_Versions\\\\\\\\Storage::expire('Documenten\\\\\\/docu...')\\\\n#3 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/command\\\\\\/commandjob.php(34): OCA\\\\\\\\Files_Versions\\\\\\\\Command\\\\\\\\Expire->handle()\\\\n#4 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/backgroundjob\\\\\\/job.php(52): OC\\\\\\\\Command\\\\\\\\CommandJob->run('O:33:\\\\\\\"OCA\\\\\\\\\\\\\\\\Files...')\\\\n#5 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/backgroundjob\\\\\\/queuedjob.php(42): OC\\\\\\\\BackgroundJob\\\\\\\\Job->execute(Object(OC\\\\\\\\BackgroundJob\\\\\\\\JobList), Object(OC\\\\\\\\Log))\\\\n#6 \\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/cron.php(141): OC\\\\\\\\BackgroundJob\\\\\\\\QueuedJob->execute(Object(OC\\\\\\\\BackgroundJob\\\\\\\\JobList), Object(OC\\\\\\\\Log))\\\\n#7 {main}\\\",\\\"File\\\":\\\"\\\\\\/usr\\\\\\/local\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/filesystem.php\\\",\\\"Line\\\":387}\",\"level\":3,\"time\":\"2016-03-23T13:15:00+00:00\"}\r\n{\"reqId\":\"P4YHGt\\/acajjMNTCLjbc\",\"remoteAddr\":\"\",\"app\":\"PHP\",\"message\":\"Call to a member function getQuota() on null at \\/usr\\/local\\/www\\/owncloud\\/apps\\/files_versions\\/lib\\/storage.php#691\",\"level\":3,\"time\":\"2016-03-23T13:15:00+00:00\"}\r\n```\r\n\r\n#### Browser log\r\n```\r\nN/a.\r\n```\r\n\r\n### Cron log:\r\n```\r\nPHP Fatal error:  Call to a member function getQuota() on null in /usr/local/www/owncloud/apps/files_versions/lib/storage.php on line 691\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/213346235","html_url":"https://github.com/owncloud/core/issues/23513#issuecomment-213346235","issue_url":"https://api.github.com/repos/owncloud/core/issues/23513","id":213346235,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T09:15:18Z","updated_at":"2016-04-22T09:15:18Z","body":"PR is here: https://github.com/owncloud/core/pull/24186\r\nThis should hopefully help cover more error cases than https://github.com/owncloud/core/pull/24160."}}