Web Developer
I am trying to have a self hosted version of appwrite on Amazing EC2 instance.
I am getting error in the installation saying "Failed to connect installer to appwrite network". What am I missing?
Votes
0
Replies
17
Participants
3
Messages
18
Web Developer
I am trying to have a self hosted version of appwrite on Amazing EC2 instance.
I am getting error in the installation saying "Failed to connect installer to appwrite network". What am I missing?
I have not been able to reproduce this yet, so I do like to narrow down what’s different on your EC2 host.
Could you share the output of:
docker infodocker network lsdocker ps -a --format "table {{.Names}}\t{{.Status}}\t{{.Networks}}"```Also, did the appwrite directory already exist before running the installer, and are you using Snap Docker or anything like Coolify, Dokploy, or Portainer?Web Developer
Harsh, nothing specific about my EC2 instance, it was just a brand new EC2 with latest version of docker etc. I decomissioned in the instance, will try again
Web Developer
@Harsh again tryign to setup on my VPS...here is the info you requested
Looks like Appwrite did not start, so the appwrite network wasn't created. Could you share the output from docker compose up? It should show what actually went wrong.
Web Developer
harsh, i am completing the installation, but it's not accessible, what might be going wrong.
vps: Hostinger VPS (ubuntu 24), running n8n on port 443 / 80
executed the docker command for installation,
Shows installation on http://machine:20080
Web Developer
Web Developer
installation completes but not able to access post instllation
that 404 is your n8n traefik on 443, not Appwrite. try http://spxpert.cloud: (open the port in the hPanel firewall),
Web Developer
n8n runs on https://flow.spxpert.cloud/
Web Developer
my idea was to keep https://appwrite.spxpert.cloud on the same server and that opens my appwrite applciation, is that possible
Web Developer
Web Developer
Docker shows all services running except this
in appwrite/.env set _APP_DOMAIN=appwrite.spxpert.cloud, _APP_HTTP_PORT=8080, _APP_HTTPS_PORT=8443 run docker compose up -d, then paste your n8n compose file( send it through dms )and I will send the routing lines.
Web Developer
Thanks a ton @Harsh This issue has been resolved.
What I had
What we did
and it all worked like a charm, now my VPS is correctly utilized with both appwrite and n8n 🙂
@Atharva Could we add a short selfhosting guide for running Appwrite behind an existing reverse proxy on ports 80/443? This thread is a good example : n8n with Traefik on a Hostinger VPS, We solved it using the gateway network and an appwrite.yml router.
there are many configurations a user can end up with, I'll do some brainstorming to see what kind of content can best support most devs out there with such setups
Web Developer
I tried two ways:-