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
- Charged after Downgrade
I downgraded from the pro plan last month, but it’s still trying to charge my card this month and my account has been restricted
- Wifi issue with Pop!_OS linux distro
Hey guys... iam facing this very peculiar trouble with my linux distro... I use Pop!_OS on my HP victus gaming laptop with nvedia 2050 graphics card.... The pro...
- How to disable appwrite/embedding from s...
Hi everyone! I'm currently running a self-hosted instance of Appwrite. For my current use case, I don't need the AI/embedding features, and I noticed the `app...