Error interno del servidor

Hi. I had nextcloud working correctly and suddenly I cannot enter the web interface.

Can anybody help me?

Thanks in advance.

[/details]

Nextcloud version (eg, 12.0.2):17.0.0.0
Operating system and version (eg, Ubuntu 17.04):Ubuntu 18.04.3 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.29 (Ubuntu)
PHP version (eg, 7.1):PHP 7.2.24-0ubuntu0.18.04.1

The issue you are facing:

Error interno del servidor

El servidor no ha podido completar tu petición.

Si sucede de nuevo, por favor, envía los detalles técnicos a continuación al administrador del servidor.

Pueden verse más detalles en el registro del servidor.

Is this the first time you’ve seen this error? (Y/N): Yes

The output of your Nextcloud log in Admin > Logging:

{"reqId":"0drsEyyl9nD48bxebzLB","level":3,"time":"November 09, 2019 14:55:15","remoteAddr":"192.168.0.100","user":"--","app":"index","method":"POST","url":"\/index.php\/login","message":{"Exception":"Exception","Message":"Argument 1 passed to OC\\Core\\Controller\\LoginController::tryLogin() must be of the type string, null given, called in \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php on line 170","Code":0,"Trace":[{"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":1000,"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\/lib\/private\/AppFramework\/Http\/Dispatcher.php","Line":109,"Previous":{"Exception":"TypeError","Message":"Argument 1 passed to OC\\Core\\Controller\\LoginController::tryLogin() must be of the type string, null given, called in \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php on line 170","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":170,"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":1000,"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":278},"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.12; rv:70.0) Gecko\/20100101 Firefox\/70.0","version":"17.0.0.9"}
{"reqId":"0drsEyyl9nD48bxebzLB","level":3,"time":"November 09, 2019 14:55:15","remoteAddr":"192.168.0.100","user":"--","app":"PHP","method":"POST","url":"\/index.php\/login","message":"Unknown: POST Content-Length of 196 bytes exceeds the limit of 10 bytes at Unknown#0","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.12; rv:70.0) Gecko\/20100101 Firefox\/70.0","version":"17.0.0.9"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
"log_type" => "file",
"logfile" => "/var/log/nextcloud.log",
'logfilemode' => 0640,
"loglevel" => "0",
"logdateformat" => "F d, Y H:i:s",


  'instanceid' => 'ocdvx4fygsdq',
  'passwordsalt' => 'XXX',
  'secret' => 'XXX',
  'trusted_domains' =>
  array (
    0 => 'nextcloud',
    1 => 'mydomain.com',
    2 => '192.168.1.199',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '17.0.0.9',
  'overwrite.cli.url' => 'http://nextcloud',
  'dbname' => 'db_nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'user_nextcloud',
  'dbpassword' => 'XXXX',
  'installed' => true,
  'maintenance' => false,
  'mysql.utf8mb4' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'has_rebuilt_cache' => true,
);

The output of your Apache/nginx/system log in /var/log/____:

│[Sat Nov 09 17:45:46.341098 2019] [authz_core:error] [pid 1408] [client 192.168.0.100:36708] AH01630: client denied by server configuration: /var/www/nextcloud/config │