Back

[SOLVED] Unable to install appwrite via docker

  • 0
  • Self Hosted
Govind
11 Nov, 2023, 06:57

Hello there, I am struggling to install appwrite using docker on AWS EC2 instance

TypeScript
963931d81fc0: Pull complete
0a639d5d4502: Pull complete
97bc9bada4fd: Pull complete
7b307f9d75b2: Pull complete
3b4f199b1a1b: Pull complete
46d1679e719e: Pull complete
75d9853ec81f: Pull complete
5761df598b33: Pull complete
68ffb3bd11cd: Pull complete
c355db0450fd: Pull complete
64785c062c21: Pull complete
288fc9cbe0f0: Pull complete
810e8748345c: Pull complete
92bb2bddd587: Pull complete
Digest: sha256:9230290bdbaeac6951459ad1c3259c8fb6068ffc370a1b4591a4c37a7be2f460
Status: Downloaded newer image for appwrite/appwrite:1.4.9
Starting Appwrite installation...
Choose your server HTTP port: (default: 80)
3030
Choose your server HTTPS port: (default: 443)
3031
Choose a secret API key, make sure to make a backup of your key in a secure location (default: 'your-secret-key')
***************
Enter your Appwrite hostname (default: 'localhost')

Enter a DNS A record hostname to serve as a CNAME for your custom domains.
You can use the same value as used for the Appwrite hostname. (default: 'localhost')

Running "docker compose up -d --remove-orphans --renew-anon-volumes"

Installation is stuck at this place and it is taking forever After SSH being timeout when I retry to reconnect to instance somehow SSH is not working . . . BTW i am doing installiation as root user

SAD MOMENT πŸ₯²

TL;DR
The user was initially unable to install Appwrite via Docker, but the problem was resolved after providing minimum requirements. The solution suggested was to remove the Appwrite containers and images, then start the installation process again. The user also mentioned having Docker Compose version v2.21.0.
Govind
11 Nov, 2023, 11:36

I have Docker Compose version v2.21.0 so is it okay ?

Govind
11 Nov, 2023, 11:40
TypeScript
ubuntu@ip-172-31-38-124:~$ sudo 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.4.2
Unable to find image 'appwrite/appwrite:1.4.2' locally
1.4.2: Pulling from appwrite/appwrite
df9b9388f04a: Pulling fs layer
a60f85627e3d: Pulling fs layer
3bc9d4d2c699: Pull complete
46d4b3055e40: Pull complete
bf04f0a44ccc: Pull complete
b9894a2c07c0: Pull complete
e5acd78a2885: Pull complete
Digest: sha256:712acd6ca1be595b393107045da5f52672dd34756294d5e117a1c4be1df2aa92
Status: Downloaded newer image for appwrite/appwrite:1.4.2
Starting Appwrite installation...
Choose your server HTTP port: (default: 80)
3030
Choose your server HTTPS port: (default: 443)
30301
Choose a secret API key, make sure to make a backup of your key in a secure location (default: 'your-secret-key')
govind123123
Enter your Appwrite hostname (default: 'localhost')

Enter a DNS A record hostname to serve as a CNAME for your custom domains.
You can use the same value as used for the Appwrite hostname. (default: 'localhost')

Running "docker compose up -d --remove-orphans --renew-anon-volumes"
Ernest
11 Nov, 2023, 17:14

Does your instance meet the minimum requirements? Also, have you tried removing the appwrite containers (and maybe the images) and starting afresh?

Govind
16 Nov, 2023, 14:32

Thanks problem is resolved after providing minimum requirements

Govind
16 Nov, 2023, 19:22

[SOLVED] Unable to install appwrite via docker

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