Error while trying to create admin user: Failed to connect to the database:

I’m now on Week 2 trying to get Owncloud running. After several failed attempts, I’ve gotten the closest running Ubuntu server in a VM with a LAMP setup. I’m now stuck on the initial login. I’m trying to connect to the database but I keep getting errors on the initial screen.

On the Owncloud initial screen, I’m inputting:

Create an admin account:
username: admin
password: ########
Storage & Database
data folder: /var/www/owncloud/data
Configure the database: MySQL/MariaDB
Database user: owncloud
Password: ########
Databasename: ownclouddb
Databasehost: localhost:3306

When I hit “finish setup”, I get the following error:

Error
Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1044] Access denied for user ‘oc_admin’@‘localhost’ to database ‘ownclouddb’

If I do the same as above except if I put a space between ‘localhost:’ and ‘3306’, then I get this error:

Error
Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory

What am I doing wrong? It looks like it’s creating admin accounts in the database but something else is not working.

I can log into MariaDB through a terminal session using both the ‘root’ user and the ‘owncloud’ user, which has the same DB privileges as ‘root’.

Thank you.


Server configuration

Operating system: Ubuntu 20.04.2 LTS (Focal Fossa)
Web server: Apache Server version: Apache/2.4.41 (Ubuntu)
Database: 10.3.29-MariaDB-0ubuntu0.20.04.1
PHP version: PHP Version => PHP 7.4.20 (cli) (built: Jun 4 2021 21:24:55) ( NTS )

ownCloud version: (see ownCloud admin page) 10.7.0.4 community

Updated from an older ownCloud or fresh install:
fresh

Where did you install ownCloud from:
repository

Signing status (ownCloud 9.0 and above):
???

The content of config/config.php:
<?php
$CONFIG = array (
‘updatechecker’ => false,
‘instanceid’ => ‘ockb4thusr5g’,
‘passwordsalt’ => ‘##########’,
‘secret’ => ‘##########’,
‘trusted_domains’ =>
array (
0 => ‘192.168.1.122’,
),
‘datadirectory’ => ‘/var/www/owncloud/data’,
‘overwrite.cli.url’ => ‘http://192.168.1.122’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘10.7.0.4’,
‘dbname’ => ‘ownclouddb’,
‘dbhost’ => ‘localhost: 3306’,
‘dbtableprefix’ => ‘oc_’,
‘mysql.utf8mb4’ => true,
‘dbuser’ => ‘oc_admin’,
‘dbpassword’ => ‘###########’,
);

or

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder
results in…

ownCloud is not installed - only a limited number of commands are available

There are no commands defined in the “config” namespace.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

results in:

ownCloud is not installed - only a limited number of commands are available

Command “app:list” is not defined.

Do you want to run “app:check-code” instead? (yes/no) [no]:

yes

Not enough arguments (missing: “app-id”).

app:check-code [-c|–checker CHECKER] [–skip-validate-info] [–]

Are you using external storage, if yes which one: Not now, but later yes.

Are you using encryption: Not yet (but I want to use HTTPS)

Are you using an external user-backend, if yes which one: No

Client configuration

Browser:
Brave 1.25.70

Operating system:
Ubuntu 20 server (headless) - 20.04.2 LTS (Focal Fossa)

Logs

Web server error log

MySQL error.log:

Version: ‘10.3.29-MariaDB-0ubuntu0.20.04.1’ socket: ‘/run/mysqld/mysqld.sock’ port: 3306 Ubuntu 20.04
2021-06-09 15:35:59 38 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 15:35:59 40 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 15:35:59 41 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 15:35:59 43 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 15:35:59 44 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 15:35:59 46 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 15:51:01 48 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 15:51:01 50 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 15:51:01 51 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 15:51:01 53 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:06:02 54 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:06:02 56 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:06:02 57 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:06:02 59 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:10:02 61 [Warning] Access denied for user ‘root’@‘localhost’
2021-06-09 16:10:30 62 [Warning] Access denied for user ‘root’@‘localhost’
2021-06-09 16:10:40 63 [Warning] Access denied for user ‘root’@‘localhost’
2021-06-09 16:10:54 64 [Warning] Access denied for user ‘oadmin’@‘localhost’ (using password: YES)
2021-06-09 16:11:11 65 [Warning] Access denied for user ‘root’@‘localhost’
2021-06-09 16:12:03 66 [Warning] Access denied for user ‘root’@‘localhost’
2021-06-09 16:21:03 68 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:21:03 70 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:21:03 71 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:21:03 73 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:26:23 76 [Warning] Access denied for user ‘oc_oadmin1’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:26:23 78 [Warning] Access denied for user ‘oc_oadmin1’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:26:23 79 [Warning] Access denied for user ‘oc_oadmin1’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:26:23 81 [Warning] Access denied for user ‘oc_oadmin1’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:26:23 82 [Warning] Access denied for user ‘oc_oadmin1’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:26:23 84 [Warning] Access denied for user ‘oc_oadmin1’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:28:56 88 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:28:56 90 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:28:56 91 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:28:56 93 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:28:56 94 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:28:56 96 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:33:21 97 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:33:21 99 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:33:21 100 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:33:21 102 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:38:05 103 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ (using password: YES)
2021-06-09 16:38:05 104 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:38:05 106 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:38:05 107 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:38:05 109 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:39:09 110 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ (using password: YES)
2021-06-09 16:39:09 111 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:39:09 113 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:39:09 114 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:39:09 116 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:53:43 117 [Warning] Access denied for user ‘oc_oadmin’@‘localhost’ (using password: YES)
2021-06-09 16:53:43 118 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:53:43 120 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:53:43 121 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 16:53:43 123 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:08:44 124 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:08:44 126 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:08:44 127 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:08:44 129 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:23:45 130 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:23:45 132 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:23:45 133 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:23:45 135 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:38:46 136 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:38:46 138 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:38:46 139 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:38:46 141 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:53:47 142 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:53:47 144 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:53:47 145 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 17:53:47 147 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:08:48 148 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:08:48 150 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:08:48 151 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:08:48 153 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:23:49 154 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:23:49 156 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:23:49 157 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:23:49 159 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:38:50 160 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:38:50 162 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:38:50 163 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:38:50 165 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:45:16 166 [Warning] Access denied for user ‘owncloud’@‘localhost’ (using password: YES)
2021-06-09 18:45:37 167 [Warning] Access denied for user ‘owncloud’@‘localhost’ (using password: YES)
2021-06-09 18:53:51 169 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:53:51 171 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:53:51 172 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:53:51 174 [Warning] Access denied for user ‘oc_oadmin2’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:59:38 177 [Warning] Access denied for user ‘oc_admin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:59:38 179 [Warning] Access denied for user ‘oc_admin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:59:38 180 [Warning] Access denied for user ‘oc_admin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:59:38 182 [Warning] Access denied for user ‘oc_admin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:59:38 183 [Warning] Access denied for user ‘oc_admin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 18:59:38 185 [Warning] Access denied for user ‘oc_admin’@‘localhost’ to database ‘ownclouddb’
2021-06-09 19:58:33 190 [Warning] Access denied for user ‘oc_admin1’@‘localhost’ to database ‘ownclouddb’
2021-06-09 19:58:33 192 [Warning] Access denied for user ‘oc_admin1’@‘localhost’ to database ‘ownclouddb’
2021-06-09 19:58:33 193 [Warning] Access denied for user ‘oc_admin1’@‘localhost’ to database ‘ownclouddb’
2021-06-09 19:58:33 195 [Warning] Access denied for user ‘oc_admin1’@‘localhost’ to database ‘ownclouddb’
2021-06-09 19:58:33 196 [Warning] Access denied for user ‘oc_admin1’@‘localhost’ to database ‘ownclouddb’
2021-06-09 19:58:33 198 [Warning] Access denied for user ‘oc_admin1’@‘localhost’ to database ‘ownclouddb’

ownCloud log (data/owncloud.log)

{"reqId":"p8VLlHimEx5oveFzVTeI","level":3,"time":"2021-06-09T06:21:21+00:00","remoteAddr":"192.168.1.129","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"T4szpXzEtMPI2wKfdSyO","level":3,"time":"2021-06-09T06:22:54+00:00","remoteAddr":"192.168.1.129","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"zEVGPYl7NOV8Pyir9aIG","level":3,"time":"2021-06-09T06:26:46+00:00","remoteAddr":"192.168.1.129","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"FUdHVITttcn4L44fJLB6","level":3,"time":"2021-06-09T06:27:27+00:00","remoteAddr":"192.168.1.129","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"lDL8NuCr8nnRk4iQ3IM4","level":3,"time":"2021-06-09T15:17:16+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"XETlpFHNWfoJYWs8UE2Q","level":3,"time":"2021-06-09T15:19:16+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"P5uHYdLe4trG9zEFQ8lJ","level":3,"time":"2021-06-09T15:20:05+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"JkniPm0mYSk6M28SqSL0","level":3,"time":"2021-06-09T15:35:59+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"TqZD1nCpa5AeY9QvftzW","level":3,"time":"2021-06-09T16:26:23+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"iN3z3lFs5aDKL0TYa1GJ","level":3,"time":"2021-06-09T16:28:56+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"gmkGITtNZdVlc9UtSLrV","level":3,"time":"2021-06-09T16:35:25+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"tR6zsajnkntbFZjZexfL","level":3,"time":"2021-06-09T16:37:37+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"xGnKmonBCfl0JfqhRwQ4","level":3,"time":"2021-06-09T16:38:05+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"A66sYWNCM7jQX4MYuaOA","level":3,"time":"2021-06-09T16:38:43+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"164VBcDOIjGxNF1cb6S3","level":3,"time":"2021-06-09T16:39:09+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"FGMzpIjui05xcq2zmhmm","level":3,"time":"2021-06-09T16:53:43+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"dnMipXhk5lQEsObjCsVa","level":3,"time":"2021-06-09T18:59:38+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"n6jFHiTMrTsT5uQvMSIT","level":3,"time":"2021-06-09T19:07:40+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"i9YOJVZSmaCK1LMNZQuM","level":3,"time":"2021-06-09T19:58:02+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}
{"reqId":"wTbdty3bWId8uD0jW7RL","level":3,"time":"2021-06-09T19:58:33+00:00","remoteAddr":"192.168.1.211","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"Undefined index: dbconnectionstring at \/var\/www\/owncloud\/lib\/private\/Setup\/AbstractDatabase.php#82"}

Different users?

What if you omit the port? AFAIK, 3306 is the default for mysql/mariadb.

1 Like

Seems like the user mixed up something from our guide and his customer installation