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

403 errors after moving #33563

Closed
thommierother opened this issue Nov 18, 2018 · 3 comments
Closed

403 errors after moving #33563

thommierother opened this issue Nov 18, 2018 · 3 comments

Comments

@thommierother
Copy link

When moving files, I frequently see the following pattern in the log:

{"reqId":"p1fxfIXNyd9SvUugiiEv","level":2,"time":"November 18, 2018 15:00:02","remoteAddr":"","user":"--","app":"filesystem","method":"--","url":"--","message":"Storage wrapper 'oc_readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems."}
{"reqId":"p1fxfIXNyd9SvUugiiEv","level":3,"time":"November 18, 2018 15:00:02","remoteAddr":"","user":"--","app":"files","method":"--","url":"--","message":"Exception: {\"Exception\":\"OC\\\\ForbiddenException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php(139): OC\\\\Files\\\\Utils\\\\Scanner->shouldScan(Object(OC\\\\Files\\\\Mount\\\\MountPoint))\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(87): OC\\\\Files\\\\Utils\\\\Scanner->backgroundScan('')\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(111): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->runScanner(Object(OC\\\\User\\\\User))\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/Job.php(57): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->run(NULL)\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/TimedJob.php(53): OC\\\\BackgroundJob\\\\Job->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#5 \\\/var\\\/www\\\/owncloud\\\/cron.php(120): OC\\\\BackgroundJob\\\\TimedJob->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#6 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php\",\"Line\":192}"}

The client shows a 403 forbidden from the server but returns to "green" state shortly later. An idea about the reason or possible workarounds? Note: the server uses user key encryption
OC 10.0.0.10 stable,

@ownclouders
Copy link
Contributor

GitMate.io thinks the contributor most likely able to help you is @ownclouders.

Possibly related issues are #12809 (Syncevolution stopps due to 403 error Access denied), #28840 (-Error-), #26902 (error), and #25681 (Strange errors about Scanner.php and Propagator.php).

@PVince81
Copy link
Contributor

seems the logs are unrelated ? they look like they were triggered from cron.

Maybe some of your external storages or received federated shares have some blocked/forbidden entries ? Maybe the real error is on the target server.

@thommierother
Copy link
Author

I have federation on this system with two other instances, both nextcloud 13, so it is possible that the root cause comes from the federation partner. Closing issue because the error disappears and is not permanent

@lock lock bot locked as resolved and limited conversation to collaborators Jan 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants