Does your host have IPv6 connectivity? It seems to try to use IPv6. Try ping4 and ping6 to troubleshoot.
I just tested the server and I have no issues using https://get.ispconfig.org. Like @Taleman suggested, try to connect with IPv4: Code: wget -4 -O - https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades
root@angel:~# ping -c 2 get.ispconfig.org PING get.ispconfig.org(2606:4700:20::681a:bf6 (2606:4700:20::681a:bf6)) 56 data bytes --- get.ispconfig.org ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1004ms root@angel:~# ping6 -c 2 get.ispconfig.org PING get.ispconfig.org(2606:4700:20::681a:bf6 (2606:4700:20::681a:bf6)) 56 data bytes --- get.ispconfig.org ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1024ms root@angel:~# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination How can I force to use IPv4?
[INFO] Activating rspamd repository. [INFO] Activating sury php repository. Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 364, in <module> sys.exit(0 if addaptrepo.main() else 1) File "/usr/bin/add-apt-repository", line 347, 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 82, in __init__ if self.lpppa.publish_debug_symbols: File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 120, in lpppa self._lpppa = self.lpteam.getPPAByName(name=self.ppaname) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 107, in lpteam self._lpteam = self.lp.people(self.teamname) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 98, 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 472, in __init__ self._wadl = self._browser.get_wadl_application(self._root_uri) File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 447, in get_wadl_application response, content = self._request(url, media_type=wadl_type) File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 389, in _request response, content = self._request_and_retry( File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 359, in _request_and_retry response, content = self._connection.request( File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1725, 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 184, in _request return super(RestfulHttp, self)._request( File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1441, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1363, in _conn_request conn.connect() File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1153, in connect sock.connect((self.host, self.port)) TimeoutError: [Errno 110] Connection timed out [ERROR] Exception occured: ISPConfigOSException -> Command add-apt-repository -y ppandrej/php failed. (/ispconfig.ai.php:15) root@angel:~# How can I fix that? :-(
Post listings and code in CODE tags. See https://forum.howtoforge.com/threads/please-read-before-posting.58408/ To use the ISPConfig autoinstaller, there are preconditions. What is the OS you try to install ISPConfig on? Have you installed that OS following the instructions for autoinstaller? Note ISPConfig install needs freshly installed OS, if it has already been used and configured for something, the autoinstaller fails.
Code: root@angel:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy
Was that Ubuntu 22.04 installed following these instructions: https://www.howtoforge.com/ubuntu-22-04-minimal-server/
Code: TimeoutError: [Errno 110] Connection timed out [ERROR] Exception occured: ISPConfigOSException -> Command add-apt-repository -y ppa:ondrej/php failed. (/ispconfig.ai.php:15) root@angel:~# The problem it seems the repository, if I try manually, abort by timeout
The problem is the server that is forced to work with IPv6, I have another server and the repository it's Okay How can I fix that?
Do not use a server with IPv6 only? Can you ask the VPS provider to add IPv4? Try Internet Search Engines with Code: site:howtoforge.com ipv6 only Did you use -4 or --inet4-only as parameter for wget?
The problem solved as follow: edit /etc/sysctl.conf and add Code: net.ipv6.conf.all.disable_ipv6=1 net.ipv6.conf.default.disable_ipv6=1 net.ipv6.conf.lo.disable_ipv6=1