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

Webdav responds with 500 when in maintenance mode (Autoloading issue) #19076

Closed
nickvergessen opened this issue Sep 16, 2015 · 3 comments · Fixed by #19086
Closed

Webdav responds with 500 when in maintenance mode (Autoloading issue) #19076

nickvergessen opened this issue Sep 16, 2015 · 3 comments · Fixed by #19086

Comments

@nickvergessen
Copy link
Contributor

Steps to reproduce

  1. Enable maintenance mode
  2. curl -v http://localhost/remote.php/webdav/

Expected

HTTP/1.1 503 Service Unavailable with #19075
or
HTTP/1.1 401 Unauthorized without #19075

Actual

HTTP/1.1 500 Internal Server Error

Page content:

Type: OCP\AutoloadNotAllowedException

Message: Autoload path not allowed: /home/nickv/ownCloud/master/core/apps/files/lib/app.php
File: /home/nickv/ownCloud/master/core/lib/autoloader.php:134

Trace
#0 /home/nickv/ownCloud/master/core/lib/autoloader.php(154): OC\Autoloader->isValidPath('/home/nickv/own...')
#1 [internal function]: OC\Autoloader->load('OCA\\Files\\App')
#2 /home/nickv/ownCloud/master/core/apps/files/appinfo/app.php(47): spl_autoload_call('OCA\\Files\\App')
#3 /home/nickv/ownCloud/master/core/lib/private/app.php(158): require_once('/home/nickv/own...')
#4 /home/nickv/ownCloud/master/core/lib/private/app.php(139): OC_App::requireAppFile('files')
#5 /home/nickv/ownCloud/master/core/remote.php(132): OC_App::loadApp('files')
#6 {main}

@Xenopathic

@DeepDiver1975
Copy link
Member

@Xenopathic @nickvergessen is there a fix coming up? THX

@nickvergessen
Copy link
Contributor Author

@Xenopathic has to take this, I'm busy with other stuff

@RobinMcCorkell
Copy link
Member

@LukasReschke regressed this, as I said would happen in #19039 (comment). I'll fix it...

@lock lock bot locked as resolved and limited conversation to collaborators Aug 9, 2019
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.

3 participants