Back

Different appwrite versions

  • 0
  • Self Hosted
PromILLEpapst
24 Jul, 2023, 11:47

Hi, is it common that the appwrite version provided by "appwrite -v" (1.1.1) differs from the ones of the appwrite containers displayed by "docker ps | grep appwrite/appwrite" (1.3.1)?

TL;DR
The user is asking about different versions of Appwrite and how to upgrade. They are advised to backup and migrate before upgrading. The user is informed to run the migration command for each version upgrade. It is clarified that the version mentioned for Appwrite CLI is different from the Appwrite image. To upgrade the CLI, the user is directed to the installation process mentioned in the provided link.
Binyamin
24 Jul, 2023, 11:48

Appwrite CLI version is different then Appwrite image

Binyamin
24 Jul, 2023, 11:49

They have a different versions from each other

PromILLEpapst
24 Jul, 2023, 11:49

So when I want to upgrade to the latest version I have to start from 1.1.1 in my case?

Binyamin
24 Jul, 2023, 11:49

BTW appwrite CLI is ok verison 2.x something

Binyamin
24 Jul, 2023, 11:49

It's best to upgrade the CLI, yes

PromILLEpapst
24 Jul, 2023, 11:53

How do I do so? Nothing to do with the https://appwrite.io/docs/upgrade if I got it right(?)

Binyamin
24 Jul, 2023, 11:55

That's for Appwrite on self hosted it self.

If you want to upgrade the CLI run the install process you see here again 👇 https://appwrite.io/docs/command-line#installWithNpm

PromILLEpapst
24 Jul, 2023, 12:35

Appwrite CLI is 2.0.2 now. So when I want to upgrade appwrite now I gotta do so from the versions shown by "docker ps | grep appwrite/appwrite"?

Binyamin
24 Jul, 2023, 12:35

Didn't got this one?

PromILLEpapst
24 Jul, 2023, 12:37

I wanna update those to get the latest version

PromILLEpapst
24 Jul, 2023, 12:38

It's done by that guide isn't it? And I have to start with 1.3.2?

Binyamin
24 Jul, 2023, 12:50

Yes, you'll need to this 1.3.1 -> 1.3.3 + migrate 1.3.3 -> 1.3.4 + migrate 1.3.4 -> 1.3.8 + migrate

Of course remember to backup everything first.

PromILLEpapst
24 Jul, 2023, 12:59

I did 1.3.1 -> 1.3.3 -> 1.3.4 -> ... -> 1.3.8 without migration at all already. Do you think thats a problem? ("You do not need to run migration when upgrading to a minor version. For example, going from 0.13.0 to 0.13.2 would not require running migration.")

joeyouss
24 Jul, 2023, 13:00

you can check all the latest versions on github as well https://github.com/appwrite/sdk-for-cli/releases (keeps updated)

Binyamin
24 Jul, 2023, 13:01

In this versions it's a bit different then the usual flow of Appwrite

Binyamin
24 Jul, 2023, 13:01

Anyhow its best to backup & migrate now

PromILLEpapst
24 Jul, 2023, 13:01

I'll do so then. Thank you so much

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