Skip to content

[BUG] nginx Address family not supported by protocol #102

@Leah96xxx

Description

@Leah96xxx

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When starting Grocy, attempting to access it returns a 502 bad gateway error. Checking the logs shows nginx repeatedly spamming the following indefinitely:
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)

Expected Behavior

Grocy starts and works normally

Steps To Reproduce

  1. Use the docker-compose template from https://hub.docker.com/r/linuxserver/grocy
  2. Start container

Environment

- OS: Ubuntu Server 24.04 LTS
- How docker service was installed: via apt from Docker official InRelease repository

CPU architecture

x86-64

Docker creation

services:
  grocy:
    image: lscr.io/linuxserver/grocy:latest
    container_name: grocy
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /my/config/path:/config
    #ports:
    #  - 9283:80
    networks:
      - proxies_default
    restart: unless-stopped

Container logs

[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v4.5.0-ls308
Build-date: 2025-11-23T07:44:52+00:00
───────────────────────────────────────
    
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions