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
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...
- edu email
my edu email is my seccondary email for github and when i signed in i dont think its registering i have an edu email using githubs education pack anyone know ho...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...