Hello, I'm trying to install ISPConfig on a fresh Debian 11 EC2 instance and I immediately get stuck: Code: [email protected]:/tmp/ispconfig-ai# php ispconfig.ai.php --debug --interactive --use-ftp-ports=40110-40210 --no-mail --no-dns --no-firewall --no-roundcube --no-mailman Code: [INFO] Starting perfect server setup for Debian GNU/Linux 11 (bullseye) [INFO] Checking hostname. [INFO] Enabling contrib and non-free 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, ntp [INFO] Installed packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, software-properties-common, ntp [INFO] Activating sury php repository. [INFO] Activating GoAccess repository. [INFO] Updating packages (after enabling 3rd party repos). [INFO] Updated packages [INFO] Installing packages dbconfig-common, postfix, postfix-mysql, postfix-doc, mariadb-client, mariadb-server, openssl, rkhunter, binutils, sudo, getmail [INFO] Installed packages dbconfig-common, postfix, postfix-mysql, postfix-doc, mariadb-client, mariadb-server, openssl, rkhunter, binutils, sudo, getmail [INFO] Generating mySQL password. [INFO] Writing MySQL config files. [INFO] Restarting postfix [INFO] Installing packages software-properties-common, dnsutils, resolvconf, clamav, clamav-daemon, clamav-docs, zip, unzip, bzip2, xz-utils, lzip, rar, arj, nomarch, lzop, cabextract, apt-listchanges, libnet-ldap-perl, libauthen-sasl-perl, daemon, libio-string-perl, libio-socket-ssl-perl, libnet-ident-perl, libnet-dns-perl, libdbd-mysql-perl, bind9, p7zip, p7zip-full, unrar-free, lrzip [ERROR] Exception occured: ISPConfigOSException -> Installing packages failed. (/ispconfig.ai.php:15) Code: [email protected]:/tmp/ispconfig-ai/var/log# cat ispconfig.log Code: 16.05.2022-15:07:53 - /lib/class.ISPConfig.inc.php:372: [INFO] Starting perfect server setup for Debian GNU/Linux 11 (bullseye) 16.05.2022-15:08:48 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigBaseOS.inc.php" for class "ISPConfigBaseOS" 16.05.2022-15:08:48 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/class.ISPConfigFunctions.inc.php" for class "ISPConfigFunctions" 16.05.2022-15:08:48 - /lib/class.ISPConfig.inc.php:372: [INFO] Starting perfect server setup for Debian GNU/Linux 11 (bullseye) 16.05.2022-15:08:48 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigDebian11OS.inc.php" for class "ISPConfigDebian11OS" 16.05.2022-15:08:48 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php" for class "ISPConfigDebianOS" 16.05.2022-15:18:39 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigBaseOS.inc.php" for class "ISPConfigBaseOS" 16.05.2022-15:18:39 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/class.ISPConfigFunctions.inc.php" for class "ISPConfigFunctions" 16.05.2022-15:18:39 - /lib/class.ISPConfig.inc.php:372: [INFO] Starting perfect server setup for Debian GNU/Linux 11 (bullseye) 16.05.2022-15:18:39 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigDebian11OS.inc.php" for class "ISPConfigDebian11OS" 16.05.2022-15:18:39 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php" for class "ISPConfigDebianOS" 17.05.2022-07:11:40 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigBaseOS.inc.php" for class "ISPConfigBaseOS" 17.05.2022-07:11:40 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/class.ISPConfigFunctions.inc.php" for class "ISPConfigFunctions" 17.05.2022-07:11:40 - /lib/class.ISPConfig.inc.php:372: [INFO] Starting perfect server setup for Debian GNU/Linux 11 (bullseye) 17.05.2022-07:11:40 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigDebian11OS.inc.php" for class "ISPConfigDebian11OS" 17.05.2022-07:11:40 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php" for class "ISPConfigDebianOS" Any clues?
How much memory and swap is on that server? Did you modify /etc/apt files before starting autoinstaller? Is the Debian 11 a recent clean install with no modifications done before starting autoinstaller? It may be the combination of command line arguments prevents the autoinstaller from working correctly. To rule this out, try installing with the default arguments, see the autoinstaller Howto.
Code: total used free shared buff/cache available Mem: 15Gi 1,4Gi 12Gi 0,0Ki 1,2Gi 13Gi Swap: 0B 0B 0B No. the I'm starting the autoinstaller from a completely fresh Debian 11 EC2 image and I didn't touch any configuration file. From what I understand, except some minor tweaks to fit the whole AWS paradigm, it should be considered completely compatible with a clean install. Code: root@aaaaaaaaa:~# wget -O - https://get.ispconfig.org | sh -s -- --2022-05-17 07:48:35-- https://get.ispconfig.org/ Resolving get.ispconfig.org (get.ispconfig.org)... 172.67.75.112, 104.26.10.246, 104.26.11.246, ... Connecting to get.ispconfig.org (get.ispconfig.org)|172.67.75.112|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2004 (2,0K) [application/octet-stream] Saving to: ‘STDOUT’ - 100%[===============================================>] 1,96K --.-KB/s in 0s 2022-05-17 07:48:35 (76,3 MB/s) - written to stdout [2004/2004] WARNING! This script will reconfigure your complete server! It should be run on a freshly installed server and all current configuration that you have done will most likely be lost! Type 'yes' if you really want to continue: yes [INFO] Starting perfect server setup for Debian GNU/Linux 11 (bullseye) [INFO] Checking hostname. [INFO] Enabling contrib and non-free 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, ntp [INFO] Installed packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, software-properties-common, ntp [INFO] Activating rspamd repository. [INFO] Activating sury php repository. [INFO] Activating GoAccess repository. [INFO] Updating packages (after enabling 3rd party repos). [INFO] Updated packages [INFO] Installing packages dbconfig-common, postfix, postfix-mysql, postfix-doc, mariadb-client, mariadb-server, openssl, rkhunter, binutils, sudo, getmail [INFO] Installed packages dbconfig-common, postfix, postfix-mysql, postfix-doc, mariadb-client, mariadb-server, openssl, rkhunter, binutils, sudo, getmail [INFO] Installing packages dovecot-imapd, dovecot-pop3d, dovecot-mysql, dovecot-sieve, dovecot-managesieved, dovecot-lmtpd [INFO] Installed packages dovecot-imapd, dovecot-pop3d, dovecot-mysql, dovecot-sieve, dovecot-managesieved, dovecot-lmtpd [INFO] Generating mySQL password. [INFO] Writing MySQL config files. [INFO] Configuring postfix. [INFO] Restarting postfix [INFO] Installing packages software-properties-common, dnsutils, resolvconf, clamav, clamav-daemon, clamav-docs, zip, unzip, bzip2, xz-utils, lzip, rar, arj, nomarch, lzop, cabextract, apt-listchanges, libnet-ldap-perl, libauthen-sasl-perl, daemon, libio-string-perl, libio-socket-ssl-perl, libnet-ident-perl, libnet-dns-perl, libdbd-mysql-perl, bind9, spamassassin, rspamd, redis-server, postgrey, p7zip, p7zip-full, unrar-free, lrzip [ERROR] Exception occured: ISPConfigOSException -> Installing packages failed. (/ispconfig.ai.php:15) Also, it's lilely unrelated, but trying to install all of the above packages manually, I've noticed that 'rar' does not exist on apt. Code: Package rar is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'rar' has no installation candidate
Maybe then it's not an x86_64 platform when there are packages missing. Please run the command: uname -a and post the result.
You're correct, it's not. Code: Linux llllllllll 5.10.0-14-cloud-arm64 #1 SMP Debian 5.10.113-1 (2022-04-29) aarch64 GNU/Linux
The arm Repos lack some packages like rar, so the Installer will fail on such systems. We currently do not provide an installer or installation instructions for arm systems, you might be able to install ISPConfig on arm systems manually by e.g. adapting this guide https://www.howtoforge.com/perfect-server-debian-10-buster-apache-bind-dovecot-ispconfig-3-1/ and changing packages were needed for Debian 11 (like PHP version is 7.4 now).
Since I have some flexibility in the the type of EC2 instance I'm going to use, will switching to x64 surely solve the problem completely?
ispconfig will install and run fine on arm64 instances. i've installed it on several aws t4g instances. although they were ubuntu 20.04 not debian 11. there were some slight differences in packages, i installed using the perfect server guide rather than the autoinstaller. had to apt-search for some packages for alternative naming etc. but otherwise the installation is not a problem. i don't believe it'll take much effort to make the autoinstaller arm64 compatible, although i'm also not sure that there's enough demand for arm64 compatability to warrant that effort.
I am quite certain that we'll see more arm64 servers in the future as not few are moving towards developing and running them but I think that are mainly up to the linux OSes (Debian, Ubuntu, RHEL or any other linux and / derivatives) to support arm64.