#How to install with a custom MariaDB server
1 messages · Page 1 of 1 (latest)
double check the enviornment variables are correct - https://appwrite.io/docs/advanced/self-hosting/environment-variables
check the db section, try to connect to the db manually to verify
I tried that. The connection variables are correct, even when I conncted from my home computer and the server, the mariadb connection worked.
When I go on the site to open the console it gives me a "404 Page not found" error.
but can you connect from the docker container?
Which docker container? The appwrite instance or mariadb that is built when docker compose is run?
It seems like the maintenance and schedule-fuctions docker containers are always restarting.
Could this be to a connection issue?
Check the docker logs for the appwrite container
So the it seems like the appwrite docker container is connecting to the mariadb host but the tables are not being created in the database.
I don't think appwrite creates the database. Can you create it and give the user full access to the database?
When does Appwrite create the tables in the database? It seems that even with the database already created and the user given access, the tables are nowhere to be seen.
Try restarting the stack?
Restarted the stack and the connection works, but it skips the database creation. See screenshot
There was some error.
https://github.com/appwrite/appwrite/blob/b402ac5d0d8dca5f78692c2507b0d95f6e7270b7/app/http.php#L98
You sure you gave your user full access to the database?
Yes. I even redid the user permissions and restarted the docker compose. It still gives the same error.
You might need to patch the code to dump the error that's thrown
How do I go about doing that?