New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container tries MySQL migrations when not using MySQL as database backend #753
Comments
As environment variables you'll need to set the following as SQLite is no longer the default database as of
|
Thanks for that quick answer. I wasn't able to find that information in the official documentation so that's why I was a bit confused, but now also found the new default for mysql in |
If it's a new install you'll need to create the file, if its an existing sqlite file you'll be all set. |
How do we create the file? |
If you have a new install I strongly recommend using MySQL/MariaDB or Postresql as your database as SQLite isn't an officially supported option anymore. You just need to create an empty file in your mounted volume or directory called Important note for SQLite: It does work, and you can use it. But just because you can, doesn't mean you should. |
As simple as |
Describe the bug
I tried running the speedtest tracker container with SQLite as backend. However, whenever the container starts, it tries to connect to a MySQL database and do the migrations. I have not set any environment variables that indicate I want to use MySQL, so I guess the default SQLite is not picked correctly.
To Reproduce
Steps to reproduce the behavior:
PUID
andPGID
for the containerExpected behavior
The container should start up with SQLite as database backend
Environment (please complete the following information):
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
The text was updated successfully, but these errors were encountered: