Back

upgrade error 1.3.7 to 1.4.0

  • 0
  • Self Hosted
  • Flutter
frankenstein
28 Oct, 2023, 16:11

Status: Downloaded newer image for appwrite/appwrite:1.3.8 docker: Error response from daemon: 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. ERRO[0014] error waiting for container: context canceled

TL;DR
User accidentally upgraded inside the appwrite folder instead of the parent folder. They are experiencing issues with migration and getting a server error. The suggested solution is to delete the new appwrite folder and upgrade again in the parent folder. They also shared an error message when trying to upgrade from version 1.3.8 to 1.4.8. The solution for this is to use the "install" command instead of the "upgrade" command. Additionally, there is an error related to creating a container process. There seems to be no solution or further information provided for this issue.
frankenstein
28 Oct, 2023, 16:13

docker run -it --rm \

TypeScript
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="upgrade" \
appwrite/appwrite:1.3.8
Drake
28 Oct, 2023, 16:44

Upgrade is only available on 1.4. Use install instead

frankenstein
28 Oct, 2023, 17:06

docker run -it --rm
\ --volume /var/run/docker.sock:/var/run/docker.sock
\ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw
\ --entrypoint="install"
\ appwrite/appwrite:1.3.8

frankenstein
28 Oct, 2023, 17:06

like this ?

frankenstein
28 Oct, 2023, 17:11

from 1.3.8 to 1.4.8

frankenstein
28 Oct, 2023, 17:11

???????

frankenstein
28 Oct, 2023, 17:22

For 1.3.8 to 1.4.8 i get this error on migration 👇

frankenstein
28 Oct, 2023, 17:22

Failed to create connection: php_network_getaddresses: getaddrinfo failed: Try again

Drake
28 Oct, 2023, 17:24
TypeScript
docker compose down
docker compose up -d
frankenstein
28 Oct, 2023, 17:32

done. but im getting a 500 server error

Drake
28 Oct, 2023, 17:33

Did you run the migrate command?

frankenstein
28 Oct, 2023, 17:33

yes

frankenstein
28 Oct, 2023, 17:33

Error migrating domain lumtest.com: Missing projectId or projectInternalId

frankenstein
28 Oct, 2023, 17:34

one of the errors in migrations

frankenstein
28 Oct, 2023, 17:35

so the issue is i accidentally upgraded inside appwrite folder

frankenstein
28 Oct, 2023, 17:35

so i deleted the new appwrite folder and then upgraded again in the parent folder

frankenstein
28 Oct, 2023, 17:36

i think migration is confusing the docker compose.yml file

Drake
28 Oct, 2023, 17:36

Not sure what you mean

frankenstein
28 Oct, 2023, 17:36

root@Ravel:~/appwrite# ls docker-compose.yml docker-compose.yml.1687172017.backup docker-compose.yml.1698512837.backup docker-compose.yml.1698513425.backup

frankenstein
28 Oct, 2023, 17:37

the migration command doesnt show all the migration of files

Drake
28 Oct, 2023, 17:37

I'm not sure what you mean

frankenstein
28 Oct, 2023, 17:38

when you accidentally upgrade in appwrite folder instead pf parent folder which files should delete?

Drake
28 Oct, 2023, 17:45

The nested one

frankenstein
28 Oct, 2023, 17:47

thanks ive succeeded

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more