Skip to content
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

filecache scans files forever #4206

Closed
schiessle opened this issue Jul 26, 2013 · 0 comments · Fixed by #4208
Closed

filecache scans files forever #4206

schiessle opened this issue Jul 26, 2013 · 0 comments · Fixed by #4208
Assignees

Comments

@schiessle
Copy link
Contributor

This happens with master and stable5

The file cache doesn't stop scanning my files. The JS console says every few seconds "scanning files for schiesbn".

The Apache error log shows:

[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP Fatal error:  Using $this when not in object context in /home/src/owncloud/web/oc/lib/files/utils/scanner.php on line 64, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP   1. {main}() /home/src/owncloud/web/oc/index.php:0, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP   2. OC::handleRequest() /home/src/owncloud/web/oc/index.php:30, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP   3. OC_Router->match() /home/src/owncloud/web/oc/lib/base.php:601, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP   4. call_user_func() /home/src/owncloud/web/oc/lib/router.php:127, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP   5. OC::loadAppScriptFile() /home/src/owncloud/web/oc/lib/router.php:0, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP   6. require_once() /home/src/owncloud/web/oc/lib/base.php:672, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP   7. OC\\Files\\Utils\\Scanner->backgroundScan() /home/src/owncloud/web/oc/apps/files/ajax/scan.php:29, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP   8. OC\\Files\\Cache\\Scanner->backgroundScan() /home/src/owncloud/web/oc/lib/files/utils/scanner.php:76, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP   9. OC\\Files\\Cache\\Scanner->scan() /home/src/owncloud/web/oc/lib/files/cache/scanner.php:218, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP  10. OC\\Files\\Cache\\Scanner->scanFile() /home/src/owncloud/web/oc/lib/files/cache/scanner.php:132, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP  11. OC\\Hooks\\BasicEmitter->emit() /home/src/owncloud/web/oc/lib/files/cache/scanner.php:84, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP  12. call_user_func_array() /home/src/owncloud/web/oc/lib/hooks/basicemitter.php:85, referer: http://localhost/oc/index.php/apps/files
[Fri Jul 26 14:08:49 2013] [error] [client 127.0.0.1] PHP  13. OC\\Files\\Utils\\{closure}() /home/src/owncloud/web/oc/lib/hooks/basicemitter.php:0, referer: http://localhost/oc/index.php/apps/files

With stable5 I get some more information in the JS console:

now scanning _trashbin/files/hello (restored).d1374761387

This line gets repeated every second. I don't know what he tries to scan. The file even doesn't exists physically.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants