Rank 2: Process
I got this error when trying to migrate (I have appwrite in WSL):
SQLSTATE[HY000] [1045] Access denied for user 'admin'@'ip'
Votes
0
Replies
13
Participants
Unknown
Messages
14
Rank 2: Process
I got this error when trying to migrate (I have appwrite in WSL):
SQLSTATE[HY000] [1045] Access denied for user 'admin'@'ip'
Admin
Where did you run the upgrade command? What's in your appwrite folder?
Rank 2: Process
i have this folder struct:
dev/
appwrite/
.env
docker-compose.yml
I followed instructions here: (https://appwrite.io/docs/upgrade)
appwrite 1.21 was running (docker compose)
then
I run "docker run -it ..." in dev folder
then "docker compose exec appwrite migrate" inside appwrite folder
Admin
is this exactly what's in the appwrite folder now? or are there more files?
Rank 2: Process
there are more .backup files (one for .env, one for docker-compose)
Admin
ok that's good. and appwrite is online and running fine?
can you check the .env file and the backup one to compare the mariadb variables?
Rank 2: Process
yeah both env files contain same variables.
appwrite dont work, returns "Bad Gateway" when trying to connect localhost
Admin
what are the logs for that container?
Rank 2: Process
the log for traefik is:
level=error msg="the router appwrite_realtime_wss@docker uses a non-existent resolver: dns"\n","stream":"stdout",
the log for mariadb is:
[Warning] Access denied for user 'admin'@'172.27.0.17' (using password: YES)
Admin
i meant the appwrite container
Rank 2: Process
oh, sorry
127.0.0.1 is not a publicly accessible domain. Skipping SSL certificate generation.
Admin
that line can be ignored
Rank 2: Process
it works now.
I run "docker compose down" then up again and it let me run the command "docker compose exec appwrite migrate"
Maybe the error appear cause i start the migration process without turning down docker compose
Thank you @Steven
Rank 2: Process
[SOLVED] Can not migrate