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
Summary
Migration failed and unable to access Appwrite after adding a custom domain. There is an error with the default OAuth. The user received a 404 error and it is unclear if it is resolved. If the issue persists, the user can try manually replacing files or looking into the provided Docker documentation. The upgrade command fails due to using Docker rootless. There is an error when running the migrate command.
Solution:
- If the default OAuth error persists, try looking at the API documentation for more information.
- For the upgrade command, try running it with sudo or check the Docker daemon status.
- If the migrate command fails
Drake
Sep 2, 2023, 23:32
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
rohan
Rank 4: Virtual Machine
Sep 2, 2023, 23:32
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?
rohan
Rank 4: Virtual Machine
Sep 2, 2023, 23:33
/$XDG_RUNTIME_DIR/ this is my docker.sock location
Drake
Sep 2, 2023, 23:33
maybe run with sudo? im not really sure about docker rootless
rohan
Rank 4: Virtual Machine
Sep 2, 2023, 23:34
eveything is the same but just have to replace unix:///var/run/docker.sock to /$XDG_RUNTIME_DIR/