Back

[SOLVED] Upgrading appwrite server

  • 0
  • Self Hosted
  • Flutter
  • Databases
frankenstein
19 Jun, 2023, 09:39

Hello. im currently hosting my server on digital ocean. i want to upgrade to the latest version of appwrite. i have my terminal open, when i paste commands from the docs it says command not found. any help please

TL;DR
User is trying to upgrade their appwrite server on digital ocean but encountering "command not found" error when pasting commands from the documentation. A solution is provided: if the first command gives an error, try running a different command mentioned in the thread and then run the migration command.
D5
19 Jun, 2023, 09:44

Did you had run previously docker install command?

D5
19 Jun, 2023, 09:46

You will need to run

TypeScript
    --volume /var/run/docker.sock:/var/run/docker.sock \
    --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
    --entrypoint="install" \
    appwrite/appwrite:1.3.7 ```

And after this the migration command
```bash
cd appwrite/
docker compose exec appwrite migrate```
D5
19 Jun, 2023, 09:46

If the first command gives you error, probably appwrite is installed in a different directory

frankenstein
19 Jun, 2023, 10:52

zsh: command not found: docker

frankenstein
19 Jun, 2023, 10:53

its working. its now downloading

frankenstein
19 Jun, 2023, 10:56

migration complete

frankenstein
19 Jun, 2023, 10:57

thanks aloot man @D5

D5
19 Jun, 2023, 11:30

[SOLVED] Upgrading appwrite server

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