Back

[SOLVED] Migration error when upgrading from 0.15.3 to 1.3.8

  • 0
  • Self Hosted
  • Flutter
  • Databases
safwan
8 Aug, 2023, 20:08

To avoid any confusion

TL;DR
The user encountered a migration error when upgrading from version 0.15.3 to 1.3.8. They received assistance from the support team and successfully upgraded to 1.3.8. The solution provided included a step-by-step upgrade process and a specific command to run. The user also asked about removing backup files and received guidance on removing the correct folders.
frankenstein
8 Aug, 2023, 20:08

so the original appwrite folder is the first one. and i get rid of the children?

safwan
8 Aug, 2023, 20:13

get rid of the appwrite folders inside the first one

safwan
8 Aug, 2023, 20:13

so for example

frankenstein
8 Aug, 2023, 20:15
TypeScript
drwxr-xr-x 2 root root  4096 Aug  8 20:13 .
drwx------ 7 root root  4096 Dec  9  2022 ..
-rw-r--r-- 1 root root  3103 Aug  7 21:35 .env
-rw-r--r-- 1 root root  3151 Aug  7 08:52 .env.1691398363.backup
-rw-r--r-- 1 root root  3064 Aug  7 21:35 .env.1691444128.backup
-rw-r--r-- 1 root root 17996 Aug  7 21:35 docker-compose.yml
-rw-r--r-- 1 root root 17996 Aug  7 08:52 docker-compose.yml.1691398363.backup
-rw-r--r-- 1 root root 18733 Aug  7 21:35 docker-compose.yml.1691444128.backup
safwan
8 Aug, 2023, 20:15

home |__ appwrite
|__ docker-compose.yml |__ appwrite <== get rid of this |__ appwrite

frankenstein
8 Aug, 2023, 20:15

this is the folder after removing

safwan
8 Aug, 2023, 20:15

perfect

frankenstein
8 Aug, 2023, 20:15

what about the .env backups

safwan
8 Aug, 2023, 20:15

now go to the parent directory with cd .. and run the upgrade commands there

safwan
8 Aug, 2023, 20:16

make sure you run migrate commands too!

safwan
8 Aug, 2023, 20:16

that's completely fine

safwan
8 Aug, 2023, 20:16

you don't need to worry about those

frankenstein
8 Aug, 2023, 20:17
TypeScript
    --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
8 Aug, 2023, 20:17

just to make sure i should use the above command

frankenstein
8 Aug, 2023, 20:18

step by step until 1.3.8

safwan
8 Aug, 2023, 20:18

yes exactly

frankenstein
8 Aug, 2023, 20:21

1.1.0 then 1.1.1 then 1.1.2 then 1.2.0 then 1.2.1 then 1.3.0 then 1.3.2 then 1.3.3 then 1.3.4 then 1.3.5 then 1.3.6 then 1.3.7 then 1.3.8

Drake
8 Aug, 2023, 20:28

no

frankenstein
8 Aug, 2023, 20:33

oh God. am now at 1.2.0 whats the next patch?

Drake
8 Aug, 2023, 20:43

look at the releases

frankenstein
9 Aug, 2023, 07:30

I've managed to reach 1.3.8 thanks

safwan
9 Aug, 2023, 07:48

[SOLVED] Migration error when upgrading from 0.15.3 to 1.3.8

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