Hi all,
I just tried to install nextcloud via the community installation script and ran into “Internal Server Error” error after logging in.
After some testing i tried to log in with an incorrect password and it seems it is connected to the database (mariadb) just fine.
I’ve got nextcloud install on apache on my debain server.
Things i’ve tried since getting the error:
- chown folder to www-data:www-data recursivly after install
- Wiping everything and running the setup php script again
- Logging in with a user that doesn’t exist to test db connection (db connected ok)
- adding the below from the sample config to the regular config.php file:
'openssl' => [
'config' => '/absolute/location/of/openssl.cnf',
],
this was the error on the page
Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.
Technical details
Remote Address: HOMEIP
Request ID: ZxoBbezbkNFOcOU39PcWsgAAAAM
below is my virtual server config file
<VirtualHost *:80>
ServerName filemanager.redacted.com.au
DocumentRoot /mnt/drives/big/web_servers/filemanager
<Directory /mnt/drives/big/web_servers/filemanager>
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/log/apache2/filemanager-error.log
CustomLog /var/log/apache2/filemanager-access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =filemanager.redacted.com.au
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
Steps to reproduce
- Installing via the community installation script
- Try to log in after setup
Expected behavior
the dashboard to load
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"filemanager.redacted.com.au"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "30.0.1.2",
"overwrite.cli.url": "https:\/\/filemanager.redaced.com.au",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true
}
}
List of activated Apps
Enabled:
- activity: 3.0.0
- app_api: 4.0.0
- bruteforcesettings: 3.0.0
- circles: 30.0.0-dev
- cloud_federation_api: 1.13.0
- comments: 1.20.1
- contactsinteraction: 1.11.0
- dashboard: 7.10.0
- dav: 1.31.1
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files_downloadlimit: 3.0.0
- files_pdfviewer: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- files_versions: 1.23.0
- firstrunwizard: 3.0.0
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- nextcloud_announcements: 2.0.0
- notifications: 3.0.0
- oauth2: 1.18.1
- password_policy: 2.0.0
- photos: 3.0.2
- privacy: 2.0.0
- provisioning_api: 1.20.0
- recommendations: 3.0.0
- related_resources: 1.5.0
- serverinfo: 2.0.0
- settings: 1.13.0
- sharebymail: 1.20.0
- support: 2.0.0
- survey_client: 2.0.0
- systemtags: 1.20.0
- text: 4.1.0
- theming: 2.5.0
- twofactor_backupcodes: 1.19.0
- updatenotification: 1.20.0
- user_status: 1.10.0
- viewer: 3.0.0
- weather_status: 1.10.0
- webhook_listeners: 1.1.0-dev
- workflowengine: 2.12.0
Disabled: - admin_audit: 1.20.0
- encryption: 2.18.0
- files_external: 1.22.0
- suspicious_login: 8.0.0
- twofactor_nextcloud_notification: 4.0.0
- twofactor_totp: 12.0.0-dev
- user_ldap: 1.21.0
Nextcloud Signing status
cant log in
Nextcloud Logs
{"reqId":"Zxn_zx9RSt0zKI36qxicXwAAAAo","level":2,"time":"2024-10-24T08:05:35+00:00","remoteAddr":"HOMEIP","user":"--","app":"no app in context","method":"POST","url":"/index.php/login","message":"Login failed: a (Remote IP: HOMEIP)","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36","version":"30.0.1.2","data":[]}
{"reqId":"ZxoBbezbkNFOcOU39PcWsgAAAAM","level":3,"time":"2024-10-24T08:12:30+00:00","remoteAddr":"HOMEIP","user":"user","app":"no app in context","method":"POST","url":"/index.php/login","message":"Something is wrong with your openssl setup: error:FFFFFFFF80000002:system library::No such file or directory, error:10000080:BIO routines::no such file, error:07000072:configuration file routines::no such file, error:FFFFFFFF80000002:system library::No such file or directory, error:10000080:BIO routines::no such file, error:07000072:configuration file routines::no such file","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36","version":"30.0.1.2","data":[]}
{"reqId":"ZxoBbezbkNFOcOU39PcWsgAAAAM","level":3,"time":"2024-10-24T08:12:30+00:00","remoteAddr":"HOMEIP","user":"user","app":"index","method":"POST","url":"/index.php/login","message":"OpenSSL reported a problem","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36","version":"30.0.1.2","exception":{"Exception":"RuntimeException","Message":"OpenSSL reported a problem","Code":0,"Trace":[{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Token/PublicKeyTokenProvider.php","line":106,"function":"newToken","class":"OC\\Authentication\\Token\\PublicKeyTokenProvider","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Token/Manager.php","line":53,"function":"generateToken","class":"OC\\Authentication\\Token\\PublicKeyTokenProvider","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/User/Session.php","line":650,"function":"generateToken","class":"OC\\Authentication\\Token\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/mnt/drives/big/web_servers/filemanager/lib/public/AppFramework/Db/TTransactional.php","line":45,"function":"OC\\User\\{closure}","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/User/Session.php","line":648,"function":"atomic","class":"OC\\User\\Session","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/CreateSessionTokenCommand.php","line":48,"function":"createSessionToken","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/ALoginCommand.php","line":22,"function":"process","class":"OC\\Authentication\\Login\\CreateSessionTokenCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/CompleteLoginCommand.php","line":30,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/ALoginCommand.php","line":22,"function":"process","class":"OC\\Authentication\\Login\\CompleteLoginCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/LoggedInCheckCommand.php","line":41,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/ALoginCommand.php","line":22,"function":"process","class":"OC\\Authentication\\Login\\LoggedInCheckCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/EmailLoginCommand.php","line":51,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/ALoginCommand.php","line":22,"function":"process","class":"OC\\Authentication\\Login\\EmailLoginCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/UidLoginCommand.php","line":36,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/ALoginCommand.php","line":22,"function":"process","class":"OC\\Authentication\\Login\\UidLoginCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/UserDisabledCheckCommand.php","line":39,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/ALoginCommand.php","line":22,"function":"process","class":"OC\\Authentication\\Login\\UserDisabledCheckCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/PreLoginHookCommand.php","line":34,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Login/Chain.php","line":90,"function":"process","class":"OC\\Authentication\\Login\\PreLoginHookCommand","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/core/Controller/LoginController.php","line":326,"function":"process","class":"OC\\Authentication\\Login\\Chain","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"tryLogin","class":"OC\\Core\\Controller\\LoginController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/mnt/drives/big/web_servers/filemanager/lib/base.php","line":1001,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/mnt/drives/big/web_servers/filemanager/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/mnt/drives/big/web_servers/filemanager/lib/private/Authentication/Token/PublicKeyTokenProvider.php","Line":462,"message":"OpenSSL reported a problem","exception":{},"CustomMessage":"OpenSSL reported a problem"}}