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
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...