linuxserver / docker-phpmyadmin

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

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

Closed derekoharrow closed 6 days ago

derekoharrow commented 1 month 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 1 month 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 1 month ago

Manually edit the nginx config to remove the ipv6 reference.

LinuxServer-CI commented 6 days ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.