
hi im getting this error on migrate command
docker compose exec appwrite migrate
WARN[0000] The "Usssf" variable is not set. Defaulting to a blank string.
WARN[0000] The "Usssf" variable is not set. Defaulting to a blank string.
WARN[0000] The "Usssf" variable is not set. Defaulting to a blank string.
WARN[0000] The "Usssf" variable is not set. Defaulting to a blank string.
Failed to create connection: php_network_getaddresses: getaddrinfo failed: Try again

you might have some bad values in your .env file or something. also your appwrite instance might not be workign right after the upgrade. please try to run docker compose restart
and then docker compose ps
to check the status of the containers

the upgrade command fails as im using docker rootless
docker run -it --rm --volume /$XDG_RUNTIME_DIR/:/var/run/docker.sock --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw --entrypoint="upgrade" appwrite/appwrite:1.4.1
Failed to install Appwrite dockers
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

/$XDG_RUNTIME_DIR/
this is my docker.sock location

maybe run with sudo
? im not really sure about docker rootless

eveything is the same but just have to replace unix:///var/run/docker.sock
to /$XDG_RUNTIME_DIR/

sorry im not sure. you can also try looking into manually replacing your files: https://appwrite.io/docs/self-hosting#manual

thanks i got it worked 🙂

Does it work now then?

@Steven I'm getting
Error 404
The requested route was not found. Please refer to the API docs and try again.
Type
general_route_not_found
Error on default oauth

Yes it worked

What do you mean in default OAuth?

the route which is used for mobile callback

i have added my custom domain

still im not able to access appwrite

please create a new post with your code and the url

[SOLVED] migration failed
Recommended threads
- Properly contained appwrite main app can...
Hello! We tried to reinstall our main self-hosted appwrite with a new method but the main app 2 mins after launch throw this error: ```2025/06/22 16:16:14 s...
- Broken message
https://github.com/appwrite/appwrite/issues/10081 I just realized that I can just build appwrite myself, was this bug fixed in latest dev release?
- 404 errors after 7 Days
Local hosted Appwrite via docker. Last version and current version. After exactly 7 days Appwrite stops working. I get 404 route not found, cannot access anyth...
