Everything is in the title, I install appwrite 1.4.9 with the official command from the doc and got this error. Its my 3rd installation of this version and its the first time with this error
Did you had installed another Appwrite version prior to this?
no, it has been installed on a new empty debian 12
and the only thing I have change is the https port from 443 to 30121 (its just for my port redirect)
So after changing that you get the error?
No, I had it from the start. However this installation with the changed port I did it twice and it worked twice
What do you get after running this command?
docker compose logs appwrite
this database error x1000000000 π
appwrite | Fatal error: Uncaught Exception: Failed to connect to database: Failed to create connection: SQLSTATE[HY000] [1045] Access denied for user '6TUdV3763pfhGu'@'172.21.0.22' (using password: YES) in /usr/src/code/app/http.php:82
appwrite | Stack trace:
appwrite | #0 {main}
appwrite | thrown in /usr/src/code/app/http.php on line 82
appwrite | [2023-11-04 18:29:35 *45.0] ERROR php_swoole_server_rshutdown() (ERRNO 503): Fatal error: Uncaught Exception: Failed to connect to database: Failed to create connection: SQLSTATE[HY000] [1045] Access denied for user '6TUdV3763pfhGu'@'172.21.0.22' (using password: YES) in /usr/src/code/app/http.php:82
appwrite | Stack trace:
appwrite | #0 {main}
appwrite | thrown in /usr/src/code/app/http.php on line 82
appwrite | Database not ready. Retrying connection (10)...
appwrite | Database not ready. Retrying connection (1)...
appwrite | Database not ready. Retrying connection (2)...
appwrite | Database not ready. Retrying connection (3)...
appwrite | Database not ready. Retrying connection (4)...
Weird, seems like DB password is incorrect
did you have modified something related to DB or DB password in the docker compose file?
Yes but I dont have touch it, I think
The install doesnt has any data or something you want/need to keep, true?
yep
i will reinstall π
I think reinstalling everything should solve the issue, and in the installation process you should directly specify the port you want for https
juste how to change the db password without crash everything ? because I thinks it the problem
First you change the db password in the mariadb container and then after that, you add the new password in the docker compose file
In the corresponding variable called db password or similar, not sure π
ok so I cant juste stop apwrite stack, change pswd and restart ?
Yes
That could solve the issue too
But not sure if it's needed knowing the previous password too
[SOLVED] 500 error on a 1.4.9 fresh install
Recommended threads
- [1.9.5] Google OAuth do not work anymore
After migrating to 1.8.1 to 1.9.0 then 1.9.5 and login through Google I get on Flutter app "Missing redirect URL" "Your OAuth login flow is missing a proper re...
- Fatal error: Allowed memory size of 5368...
Hi how solved it worker-messaging infinite reload ` Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 28672 bytes) in /usr/src/co...
- How to successfully migrate from 1.9.0 t...
I've tried the automatic tool for migration but my Appwrite (self-hosted) went to a broken state. My functions wouldn't deploy anymore, some things just didn't ...