I got this error when trying to migrate (I have appwrite in WSL):
SQLSTATE[HY000] [1045] Access denied for user 'admin'@'ip'
Where did you run the upgrade command? What's in your appwrite folder?
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
is this exactly what's in the appwrite folder now? or are there more files?
there are more .backup files (one for .env, one for docker-compose)
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?
yeah both env files contain same variables. appwrite dont work, returns "Bad Gateway" when trying to connect localhost
what are the logs for that container?
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)
i meant the appwrite container
oh, sorry
127.0.0.1 is not a publicly accessible domain. Skipping SSL certificate generation.
that line can be ignored
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
[SOLVED] Can not migrate
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error