Support intro
Hi,
right know im facing the problem that I’m not able to login into my Webinterface of Nextcloud.
WebDAV works fine.
When I try to login into the Webinterface I get an internal server error.
Below you can see the log snippet.
Do you have any suggestions on how to fix this?
After the upgrade to Nextcloud 16 everything worked fine, but a few days later this error comes up…
Nextcloud version : 16.0.1
Operating system and version : Ubuntu 18.04
Apache or nginx version : Apache 2.4.29
PHP version : 7.3.6
The output of your Nextcloud log in:
{
“reqId”:“yt2mnfK7WCijKP1v4sRa”,
“level”:3,
“time”:“2019-06-11T20:56:40+00:00”,
“remoteAddr”:"<my_ip>",
“user”:"–",
“app”:“index”,
“method”:“POST”,
“url”:"/index.php/login",
“message”:{
“Exception”:“InvalidArgumentException”,
“Message”:“Username must be string”,
“Code”:0,
“Trace”:[
{
“file”:"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
“line”:166,
“function”:“tryLogin”,
“class”:“OC\Core\Controller\LoginController”,
“type”:"->",
“args”:[
“*** sensitive parameters replaced ***”
]
},
{
“file”:"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
“line”:99,
“function”:“executeController”,
“class”:“OC\AppFramework\Http\Dispatcher”,
“type”:"->",
“args”:[
{
“class”:“OC\Core\Controller\LoginController”
},
“tryLogin”
]
},
{
“file”:"/var/www/nextcloud/lib/private/AppFramework/App.php",
“line”:126,
“function”:“dispatch”,
“class”:“OC\AppFramework\Http\Dispatcher”,
“type”:"->",
“args”:[
{
“class”:“OC\Core\Controller\LoginController”
},
“tryLogin”
]
},
{
“file”:"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",
“line”:47,
“function”:“main”,
“class”:“OC\AppFramework\App”,
“type”:"::",
“args”:[
“OC\Core\Controller\LoginController”,
“tryLogin”,
{
“class”:“OC\AppFramework\DependencyInjection\DIContainer”
},
{
“_route”:“core.login.tryLogin”
}
]
},
{
“function”:"__invoke",
“class”:“OC\AppFramework\Routing\RouteActionHandler”,
“type”:"->",
“args”:[
{
“_route”:“core.login.tryLogin”
}
]
},
{
“file”:"/var/www/nextcloud/lib/private/Route/Router.php",
“line”:297,
“function”:“call_user_func”,
“args”:[
{
“class”:“OC\AppFramework\Routing\RouteActionHandler”
},
{
“_route”:“core.login.tryLogin”
}
]
},
{
“file”:"/var/www/nextcloud/lib/base.php",
“line”:975,
“function”:“match”,
“class”:“OC\Route\Router”,
“type”:"->",
“args”:[
“/login”
]
},
{
“file”:"/var/www/nextcloud/index.php",
“line”:42,
“function”:“handleRequest”,
“class”:“OC”,
“type”:"::",
“args”:[
]
}
],
"File":"\/var\/www\/nextcloud\/core\/Controller\/LoginController.php",
"Line":285,
"CustomMessage":"--"
},
“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36”,
“version”:“16.0.1.1”
}
##############################################################################
{
“reqId”:“yt2mnfK7WCijKP1v4sRa”,
“level”:3,
“time”:“2019-06-11T20:56:40+00:00”,
“remoteAddr”:"<my_ip>",
“user”:"–",
“app”:“PHP”,
“method”:“POST”,
“url”:"/index.php/login",
“message”:“Unknown: POST Content-Length of 194 bytes exceeds the limit of 32 bytes at Unknown#0”,
“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36”,
“version”:“16.0.1.1”
}