Login failed after installation

Hi,

I try to install nextcloud on an openSUSE Tumbleweed Server.
After the install dialog (username/password, DB-Type) I only get a error site show in the browser:
“Internal server error”

The log says:

{"reqId":"LGtqwKIIhvdcgaS1OiWm","level":3,"time":"2022-04-26T09:12:30+00:00","remoteAddr":"10.3.1.2","user":"ds","app":"index","method":"POST","url":"/nextcloud/index.php/login",
"message":"OpenSSL reported a problem","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.3.2",
"exception":{"Exception":"RuntimeException","Message":"OpenSSL reported a problem","Code":0,
"Trace":[{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Token/PublicKeyTokenProvider.php","line":87,"function":"newToken",
"class":"OC\\Authentication\\Token\\PublicKeyTokenProvider","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Token/Manager.php",
"line":70,"function":"generateToken","class":"OC\\Authentication\\Token\\PublicKeyTokenProvider","type":"->","args":["*** sensitive parameters replaced ***"]},
{"file":"/srv/www/htdocs/nextcloud/lib/private/User/Session.php","line":690,"function":"generateToken","class":"OC\\Authentication\\Token\\Manager","type":"->",
"args":["*** sensitive parameters replaced ***"]},{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/CreateSessionTokenCommand.php","line":69,
"function":"createSessionToken","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},
{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process",
"class":"OC\\Authentication\\Login\\CreateSessionTokenCommand","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/CompleteLoginCommand.php",
"line":48,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},
{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\CompleteLoginCommand",
"type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/LoggedInCheckCommand.php","line":60,"function":"processNextOrFinishSuccessfully",
"class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,
"function":"process","class":"OC\\Authentication\\Login\\LoggedInCheckCommand","type":"->"},
{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/EmailLoginCommand.php","line":58,"function":"processNextOrFinishSuccessfully",
"class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/ALoginCommand.php",
"line":40,"function":"process","class":"OC\\Authentication\\Login\\EmailLoginCommand","type":"->"},
{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/UidLoginCommand.php","line":54,"function":"processNextOrFinishSuccessfully",
"class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,
"function":"process","class":"OC\\Authentication\\Login\\UidLoginCommand","type":"->"},
{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/UserDisabledCheckCommand.php","line":58,"function":"processNextOrFinishSuccessfully",
"class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,
"function":"process","class":"OC\\Authentication\\Login\\UserDisabledCheckCommand","type":"->"},
{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/PreLoginHookCommand.php","line":53,"function":"processNextOrFinishSuccessfully",
"class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Login/Chain.php","line":108,
"function":"process","class":"OC\\Authentication\\Login\\PreLoginHookCommand","type":"->"},{"file":"/srv/www/htdocs/nextcloud/core/Controller/LoginController.php",
"line":329,"function":"process","class":"OC\\Authentication\\Login\\Chain","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line":217,"function":"tryLogin","class":"OC\\Core\\Controller\\LoginController","type":"->","args":["*** sensitive parameters replaced ***"]},
{"file":"/srv/www/htdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher",
"type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},
{"file":"/srv/www/htdocs/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},
{"file":"/srv/www/htdocs/nextcloud/lib/base.php","line":1006,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/srv/www/htdocs/nextcloud/index.php",
"line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/srv/www/htdocs/nextcloud/lib/private/Authentication/Token/PublicKeyTokenProvider.php","Line":376,
"CustomMessage":"--"}}

Apache log shows nothing unusuall.

Config:

<?php $CONFIG = array ( 'instanceid' => 'oci1lf0ba8ab', 'passwordsalt' => '**********', 'secret' => '*********', 'trusted_domains' => array ( 0 => 'dh597.xxx.de', ), 'datadirectory' => '/srv/www/htdocs/nextcloud/data', 'dbtype' => 'sqlite3', 'version' => '23.0.3.2', 'overwrite.cli.url' => 'http://dh597.xxx.de/nextcloud', 'installed' => true, ); ANy Idea, why? Or how can I find out why? Regards Daniel

Found the problem…openssl was not installed, so there was no openssl.cnf

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.