tchapi / davis

🗓 A simple, fully translatable admin interface for sabre/dav based on Symfony 5 and Bootstrap 5, initially inspired by Baïkal.

Home Page:https://github.com/users/tchapi/projects/1/views/1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker-Compose installation gives Doctrine-Exception

spammads opened this issue · comments

Thanks for the great app.

I installed via docker-compose and the edge-image from the registry. Now the symfony-prod-log says my db-driver is not correct. Have a made a configuration-error?

Thanks for the help.

[2022-07-30T14:43:44.162669+02:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception: "The given 'driver' mysql is unknown, Doctrine currently supports only the following drivers: pdo_mysql, pdo_sqlite, pdo_pgsql, pdo_oci, oci8, ibm_db2, pdo_sqlsrv, mysqli, sqlsrv" at /var/www/davis/vendor/doctrine/dbal/src/Exception.php line 91 {"exception":"[object] (Doctrine\\DBAL\\Exception(code: 0): The given 'driver' mysql is unknown, Doctrine currently supports only the following drivers: pdo_mysql, pdo_sqlite, pdo_pgsql, pdo_oci, oci8, ibm_db2, pdo_sqlsrv, mysqli, sqlsrv at /var/www/davis/vendor/doctrine/dbal/src/Exception.php:91)"} []

Found the solution.
Im using docker swarm. Hence my db-container is referenced by davis_db. Changed this in the doctrine-yaml-file and compiled the image myself. Now its working.