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

Fatal error on webdav access during maintenance mode #6824

Closed
MichaIng opened this issue Oct 12, 2017 · 3 comments
Closed

Fatal error on webdav access during maintenance mode #6824

MichaIng opened this issue Oct 12, 2017 · 3 comments
Labels
Milestone

Comments

@MichaIng
Copy link
Member

Fatal | webdav | Sabre\DAV\Exception\ServiceUnavailable: System in maintenance mode.[internal function] OCA\DAV\Connector\Sabre\MaintenancePlugin->checkMaintenanceMode(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))/var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 466: Sabre\Event\EventEmitter->emit('beforeMethod', Array)/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))/var/www/nextcloud/apps/dav/lib/Server.php - line 258: Sabre\DAV\Server->exec()/var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 33: OCA\DAV\Server->exec()/var/www/nextcloud/remote.php - line 162: require_once('/var/www/nextcl...'){main}

On every webdav access try during maintenance mode I get a fatal error. Of course every access during maintenance mode will totally fail, but as this is totally expected an wanted I don't understand why this fact needs to spam up my Nextcloud log that prominent with fatal errors, the highest error class, as if something horrible happened.

Can't all maintenance related errors be reduced to [info], [debug] or completely dropped from Nextcloud log? I mean everyone knows and expects this, by enabling maintenance mode and nobody will able to see this errors as reminder (at least not in web ui) while maintenance mode is active...

Sorry for exaggerated language, but lately I got quite a lot annoyed by this 😄.

If this is really NOT expected behaviour and might be a bug related to my system/client, of course I will fill every information I can. But for now I guess this is not a bug.

@nickvergessen
Copy link
Member

This has been fixed for nextcloud 13 already:
#6132

@MichaIng
Copy link
Member Author

Works like a charm, thanks very much to you guys!

@MorrisJobke
Copy link
Member

Also fixed in 12.0.4.

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

No branches or pull requests

3 participants