Network installation broken, PHP can't resolve names

Discussion in 'ISPConfig 3 Priority Support' started by conductive, Dec 20, 2025 at 7:55 PM.

  1. conductive

    conductive Member HowtoForge Supporter

    Been attempting to use this auto Installer for days. It is broken and does not work.
    Debian 12 NGINX.

    wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --use-ftp-ports=40110-40210 --unattended-upgrades

    I was able to fix one resolver issue by adding a path but now I have another.

    [INFO] Installing phpMyAdmin
    PHP Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.phpmyadmin.net failed: Temporary failure in name resolution in /tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php on line 263
    PHP Warning: file_get_contents(https://www.phpmyadmin.net/home_page/version.txt): Failed to open stream: php_network_getaddresses: getaddrinfo for www.phpmyadmin.net failed: Temporary failure in name resolution in /tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php on line 263
    PHP Warning: Undefined array key 0 in /tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php on line 265
    [ERROR] Exception occurred: ISPConfigOSException -> Command chown -R www-data:www-data '/var/lib/phpmyadmin' ; cd /tmp ; rm -f phpMyAdmin--all-languages.tar.gz ; wget https://files.phpmyadmin.net/phpMyAdmin//phpMyAdmin--all-languages.tar.gz 2>/dev/null && tar xfz phpMyAdmin--all-languages.tar.gz && cp -a phpMyAdmin--all-languages/* /usr/share/phpmyadmin/ && rm -f phpMyAdmin--all-languages.tar.gz && rm -rf phpMyAdmin--all-languages failed. (/ispconfig.ai.php:15)
    root@mr1:/etc# ping www.phpmyadmin.net
    PING 1115546720.rsc.cdn77.org (89.187.180.93) 56(84) bytes of data.
    64 bytes from 89.187.180.93: icmp_seq=1 ttl=53 time=12.2 ms
    64 bytes from 89.187.180.93: icmp_seq=2 ttl=53 time=12.3 ms

    Not sure what is going on with this Auto Installer but after several days of messing with it it does not appear to be working. Is there a better way to install ISP config. Not sure why the installer is more problematic than a manual install has ever been.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This is not the autoinstaller that is broken; it's your server that has network problems. Your system is not able to resolve names correctly. You probably have IPv6 networking enabled on your system (on the operating system/network level), but IPv6 is not working. PHP (independent of ISPConfig or the auto installer) prefers IPv6 these days. So if you have IPv6 enabled, but it's broken, PHP must fail. And that's what you see. Now. So either you fix IPv6 and name resolution on your system, or disable IPv6. But having IPv6 enabled but not working can not work.

    Nothing, it works perfectly fine. I've installed several systems yesterday and today, all installs work flawlessly as usual.

    It is not. If networking on your server is broken, and that's currently the case, then this is not even related to the use of the auto-installer. And having a server without a properly working network makes no sense as all other software that uses the network will fail too. But of course, you can install ISPConfig manually by using the old perfect server guides, just to find out that your setup will fail after the installation due to network and name resolving problems.

    If you had fixed that, as you claim, you wouldn't get name resolving errors from PHP. So whatever you fixed, it did not solved your issue. You posted the proof above:

    Code:
    PHP Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.phpmyadmin.net failed: Temporary failure in name resolution
    So PHP (not the auto installer) is not able to open files over the network because name resolution is not working on your system.
     
    Last edited: Dec 20, 2025 at 8:51 PM
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Btw. the error messages above show you even which command you can use to test if you fixed networking, create a php script like test.php with this content:

    Code:
    <?php
    echo file_get_contents("https://www.phpmyadmin.net/home_page/version.txt");
    
    and then run it with:

    Code:
    php test.php
    If it works, you will get this output:

    Code:
    5.2.3
    2025-10-08
    https://files.phpmyadmin.net/phpMyAdmin/5.2.3/phpMyAdmin-5.2.3-all-languages.zip
     
  4. conductive

    conductive Member HowtoForge Supporter

    OK, sounds like I need to get the networking in order. Had issues setting up
    204.12.225.98/29 network. Locked up the server network several times. What should the interfaces file look like?

    I currently have
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    source /etc/network/interfaces.d/*

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    allow-hotplug enp2s0
    iface enp2s0 inet static
    address 204.12.225.98/29
    gateway 204.12.225.97
    dns-nameservers 8.8.8.8
    dns-search nocix.net

    up ip addr add 204.12.225.99/29 dev enp2s0
    up ip addr add 204.12.225.100/29 dev enp2s0
    up ip addr add 204.12.225.101/29 dev enp2s0
    up ip addr add 204.12.225.102/29 dev enp2s0

    down ip addr del 204.12.225.102/29 dev enp2s0
    down ip addr del 204.12.225.101/29 dev enp2s0
    down ip addr del 204.12.225.100/29 dev enp2s0
    down ip addr del 204.12.225.99/29 dev enp2s0
     
  5. conductive

    conductive Member HowtoForge Supporter

    I am just going to reset this and get a fresh load. The only IPV6 configuration appears to be hosts file.

    root@mr1:/etc# cat hosts
    127.0.1.1 mr1.MyDomain.com mr1
    # 204.12.225.98 s254703.nocix.net s254703

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
     

Share This Page