wallabag / wallabag/docker

Docker Compose not working: PDO driver mismatch

Open
#260 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
769
Forks
168
PR merge metrics
No merged PRs in 30d

Description

Ok so I'm trying to install Wallabag and use MySql as a DB. The provisioner has failed every time, so I exec into the container and run `php /var/www/wallabag/bin/console wallabag:install --env=prod -vvv` which gets me this:

![Screen Shot 2021-04-09 at 1 32 29 PM](https://user-images.githubusercontent.com/1761867/114225707-46cd2580-9938-11eb-871a-38aa8819fcaf.png)

In that list, `pdo_sqlite` is wrong, it should be MySql. I've verified it's set:
![Screen Shot 2021-04-09 at 1 34 55 PM](https://user-images.githubusercontent.com/1761867/114225819-6a906b80-9938-11eb-9652-e3c487d9b966.png)

It then tells me that my DB appears to be there, would I like to reset it. I say yes and get:
![Screen Shot 2021-04-09 at 1 32 43 PM](https://user-images.githubusercontent.com/1761867/114225886-8267ef80-9938-11eb-8eae-6141282c3a33.png)

Which is an exception thrown my the MySql driver, not sqlite.

Does anyone know what's going on? My `docker-compose` file is an _exact_ copy of the one in the example.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.