linuxserver / docker-phpmyadmin

GNU General Public License v3.0
22 stars 2 forks source link

[BUG] Container won't start without IPV6 #38

Open derekoharrow opened 3 days ago

derekoharrow commented 3 days ago

Is there an existing issue for this?

Current Behavior

Container errors - see logs below.

Expected Behavior

Container should work as before when IPV6 was enabled.

Steps To Reproduce

Disable IPV6 on container host Start phpmyadmin container

Environment

- OS:"Ubuntu 24.04.1 LTS
- How docker service was installed: apt-get install docker-ce

CPU architecture

x86-64

Docker creation

phpmyadmin:
    hostname: phpmyadmin
    container_name: phpmyadmin
    image: lscr.io/linuxserver/phpmyadmin:latest
    ports:
      - 9102:80
    volumes:
      - /etc/hosts:/etc/hosts:ro
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - /var/run/mysqld:/var/run/mysqld
    environment:
      - TZ=${TZ}
      - PMA_USER=root
      - PMA_PASSWORD=${MYSQL_ROOT_PASSWORD}
      - PMA_SOCKET=/var/run/mysqld/mysqld.sock
      - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
    restart: unless-stopped

Container logs

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)
github-actions[bot] commented 3 days ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

j0nnymoe commented 3 days ago

Manually edit the nginx config to remove the ipv6 reference.