Closed dexter74 closed 3 years ago
It's not expected to. Mariadb creates the database based on the env vars. However, those vars only have effect the very first time the mariadb container is created. Once there is an existing config folder, changing those vars will have no effect.
Delete the config folder for mariadb and recreate the container with the db vars
I have the same problem. did you manage to solve it?
NO .
J’ai le même problème. avez-vous réussi à le résoudre?
The variable names are wrong in the documentation https://github.com/linuxserver/docker-lychee/blob/06796b62c5afaa720282193eddded0198592d6a6/root/etc/cont-init.d/40-config#L31 As you can see in the code, it expects DB_USERNAME (not DB_USER), DB_PASSWORD (not DB_PASS) and DB_DATABASE (not DB_NAME)
If found this by checking the logs, where it said "No upgrade or variables provided - set up application via the web interface", so I searched for that and found the relevant code. So change the variable names in your docker-compose and it should work. This is the first badly done linuxserver image that I've come across
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I had the same problem, It drove me crazy
2 things probably happen here.
Hello, Lychee does not create the database.
Docker-compose is default: