[ERROR] Exception occurred: ISPConfigOSException -> Command add-apt-repository -y ppa:ondrej/php fai

Discussion in 'Installation/Configuration' started by tanaka141, Jan 10, 2026.

  1. tanaka141

    tanaka141 New Member

    Hi all,
    This is my fourth ISPConfig installation to transfer to a new server, and I'm getting this error during automatic installation.
    There is also a very slow download speed.
     
  2. remkoh

    remkoh Well-Known Member HowtoForge Supporter

    Could you give us any less to go on?!? o_O

    First of all, downloadspeeds have absolutely nothing to do with ispconfig or its installer.

    Second, to start with
    - What OS are you running the installer on?
    - What is the full error message?
    - Is your internet connection fully functional?
    - Do you have IPv4 only or also IPv6?

    Give as much information as posible.
     
  3. tanaka141

    tanaka141 New Member

    Clean installation on Ubuntu 24.04.3 on a new server located in a data center at the same site as the previous server, which is still operational, with IPv4 and IPv6

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

    All other action to get big file from internet is fast :
    Saving to: ‘sample-1.mkv’
    sample-1.mkv 100%[============================================================================================>] 81.65M 107MB/s in 0.8s
    sample-1.mkv 100%[============================================================================================>] 81.65M 107MB/s in 0.8s
    2026-01-10 22:21:40 (107 MB/s) - ‘sample-1.mkv’ saved [85616617/85616617]
    2026-01-10 22:21:40 (107 MB/s) - ‘sample-1.mkv’ saved [85616617/85616617]​

    First time with so many error :

    --2026-01-10 22:07:51-- https://get.ispconfig.org/
    Resolving get.ispconfig.org (get.ispconfig.org)... 2606:4700:20::ac43:4b70, 2606:4700:20::681a:bf6, 2606:4700:20::681a:af6, ...
    Connecting to get.ispconfig.org (get.ispconfig.org)|2606:4700:20::ac43:4b70|:443... failed: Connection timed out.
    Connecting to get.ispconfig.org (get.ispconfig.org)|2606:4700:20::681a:bf6|:443... failed: Connection timed out.
    Connecting to get.ispconfig.org (get.ispconfig.org)|2606:4700:20::681a:af6|:443... failed: Connection timed out.
    Connecting to get.ispconfig.org (get.ispconfig.org)|172.67.75.112|:443... connected.​

    After the "yes" response :
    [INFO] Starting perfect server setup for Ubuntu 24.04.3 LTS
    [INFO] Checking hostname.
    [INFO] Configuring apt repositories.
    [INFO] Updating packages
    [INFO] Updated packages
    [INFO] Installing packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, software-properties-common, curl, cron, ntp
    [INFO] Installed packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, software-properties-common, curl, cron, ntp
    [INFO] Activating rspamd repository.
    [INFO] Activating sury php repository.
    Traceback (most recent call last):
    File "/usr/bin/add-apt-repository", line 452, in <module>
    sys.exit(0 if addaptrepo.main() else 1)
    ^^^^^^^^^^^^^^^^^
    File "/usr/bin/add-apt-repository", line 435, in main
    shortcut = handler(source, **shortcut_params)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
    return handler(shortcut, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 89, in __init__
    if self.lpppa.publish_debug_symbols:
    ^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 133, in lpppa
    self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
    ^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 120, in lpteam
    self._lpteam = self.lp.people(self.teamname)
    ^^^^^^^
    File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 111, in lp
    self._lp = login_func("%s.%s" % (self.__module__, self.__class__.__name__),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 494, in login_anonymously
    return cls(
    ^^^^
    File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 230, in __init__
    super(Launchpad, self).__init__(
    File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 511, in __init__
    self._wadl = self._browser.get_wadl_application(self._root_uri)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 502, in get_wadl_application
    response, content = self._request(url, media_type=wadl_type)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 441, in _request
    response, content = self._request_and_retry(
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 400, in _request_and_retry
    response, content = self._connection.request(
    ^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1701, in request
    (response, content) = self._request(
    ^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 144, in _request
    response, content = super(LaunchpadOAuthAwareHttp, self)._request(
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 204, in _request
    return super(RestfulHttp, self)._request(
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1421, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1343, in _conn_request
    conn.connect()
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1133, in connect
    sock.connect((self.host, self.port))
    TimeoutError: [Errno 110] Connection timed out
    [ERROR] Exception occurred: ISPConfigOSException -> Command add-apt-repository -y ppa:eek:ndrej/php failed. (/ispconfig.ai.php:15)​
     
  4. remkoh

    remkoh Well-Known Member HowtoForge Supporter

    Seems clear that IPv6 is not functional. IPv6 connections fail.
    Fix that and try again.
     
    till likes this.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Either fix IPv6 network connection, or disable IPv6 on your server. You can not have it enabled but not working, as Ubuntu commands will prefer using IPv5 if active and then fail if it does not work.
     
  6. tanaka141

    tanaka141 New Member

    Thank you.

    I had an IPv6 address, but the rest wasn't working on the hardware and wasn't really visible with standard Linux commands.

    The previous server had the same configuration, but the automatic installation had worked.
     

Share This Page