Thanks for the replies. I see in the mariadb container logs now the following items;
Version: '10.6.5-MariaDB-1:10.6.5+maria~focal' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
2023-11-22 21:12:17 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.22.0.5' (This connection closed normally without authentication)
2023-11-22 21:12:17 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.22.0.5' (This connection closed normally without authentication)
When I replace the hostname 172.22.0.5 with the name of the container ânextcloud-mariadbâ there are nog log entries in the mariadb container.
I gave user nextclouduser fill priviliges to all databases.
This is my config file on the nextlocud container:
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'instanceid' => 'XXXXX',
'passwordsalt' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX',
'secret' => 'XXXX/XXX',
'trusted_domains' =>
array (
0 => 'nextcloudkattouw.duckdns.org',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'sqlite3',
'version' => '27.1.3.2',
'overwrite.cli.url' => 'https://XXXXXXXXXXXXX.org',
'overwriteprotocol' => 'https',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtphost' => 'smtp-mail.outlook.com',
'mail_sendmailmode' => 'smtp',
'mail_smtpport' => '587',
'mail_from_address' => 'XXXXX'
'mail_domain' => 'outlook.com',
'mail_smtpauth' => 1,
'mail_smtpname' => 'XXXX',
'mail_smtppassword' => 'XXXXXX',
'maintenance' => false,
'default_phone_region' => 'NL',
);