Back

Appwrite-console Failed to Start: How to Disable Built-in Nginx IPv6 Support?

  • 0
  • Self Hosted
ninety
12 Feb, 2025, 03:29

I tried to deploy using Docker, and all the images started successfully except for appwrite-console, which failed to start and showed the following error:

2025/02/12 02:22:55 [emerg] 1#1: socket() [::]:80 failed (97: Address family not supported by protocol) nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: ipv6 not available /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up

I found online that the usual solution is to disable Nginx's IPv6 support. My Docker installation on the host indeed has Nginx, but it doesn't have IPv6 listening enabled. Since I am not very familiar with Appwrite, I would like to ask if Appwrite has a built-in Nginx. Where should I disable its IPv6 support?

Let me know if you need further adjustments or additional details!

TL;DR
Appwrite-console failed to start due to a Nginx IPv6 support issue. The error message points to a problem related to IPv6 not being supported. To fix this, you can disable the built-in Nginx IPv6 support. You should locate the Nginx configuration file within the Appwrite-Console Docker image and disable the IPv6 listening.
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