Rank 1: Thread
Parent folder is /docker, appwrite is inside the /docker folder, inside of /docker/appwrite is my docker-compose.yml.
ran the following to update appwrite:
docker run -it --rm --volume /var/run/docker.sock:/var/run/docker.sock --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw --entrypoint="upgrade" appwrite/appwrite:1.3.0
Tried manually specifying the folder:
docker run -it --rm --volume /var/run/docker.sock:/var/run/docker.sock --volume /docker/appwrite:/usr/src/code/appwrite:rw --entrypoint="upgrade" appwrite/appwrite:1.3.0
both resulted in the following errors:
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "upgrade": executable file not found in $PATH: unknown.
i can confirm this was run from the parent "/docker" folder as specified in the directions.
i also tried to run it with other versions of appwrite 1.3.x and it also failed. Docker-compose.yml has been minimally changed to facilitate some volume binding. docker-compose attached.
Just wanted to know if this is due to me changing the volumes in the docker compose, or if theres some other issue at play here, and if there is, what it might be.