Installation as described here After wget -O - https://get.ispconfig.org | sh -s -- --unattended-upgrades I got: --2021-12-12 09:11:07-- 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 2021-12-12 09:11:07 (50.5 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)
Have you read other threads with same error message? Can be found with Internet Search Engines using Code: Exception occured: ISPConfigOSException -> Installing packages failed. Was this condition true?
Yes search and not found any thread with install ispconfig and Debian 11. My System is fresh install. I think its not compatible.
Which architecture do you use? If it's not an x86_64 (amd / intel 64bit) architecture, then not all packages will be available and the install will fail.
Package installation failures are usually easy to troubleshoot, though you'll run into other issues with unprivileged lxc containers (might make sense to use a vm instead); run the installer again with -debug to show you the commands it runs, then run that failing apt (probably apt-get) install command manually and see what the error is, then resolve that (search for the error you see if it's not obvious what to do, and post back here with more info if you need further help with it).
Mi first ispconfig on linux 10 is also unprivileged ct. Try to install package manually. Now I get: root@web01 ~ # apt update Hit:2 http://ftp.debian.org/debian bullseye InRelease Hit:3 http://security.debian.org bullseye-security InRelease Hit:4 http://ftp.debian.org/debian bullseye-updates InRelease Hit:5 https://packages.sury.org/php bullseye InRelease Hit:1 https://rspamd.com/apt-stable bullseye InRelease Get:6 https://deb.goaccess.io bullseye InRelease [1631 B] Get:7 https://deb.goaccess.io bullseye/main amd64 Packages [440 B] Fetched 2071 B in 2s (1045 B/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. root@web01 ~ # root@web01 ~ # root@web01 ~ # apt install 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 Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package dnsutils, E: Unable to locate package resolvconf, E: Unable to locate package clamav, E: Unable to locate package clamav-daemon, E: Unable to locate package clamav-docs, E: Unable to locate package zip, E: Unable to locate package unzip, E: Unable to locate package bzip2, E: Unable to locate package xz-utils, E: Unable to locate package lzip, E: Unable to locate package rar, E: Unable to locate package arj, E: Unable to locate package nomarch, E: Unable to locate package lzop, E: Unable to locate package cabextract, E: Unable to locate package apt-listchanges, E: Unable to locate package libnet-ldap-perl, E: Unable to locate package libauthen-sasl-perl, E: Unable to locate package daemon, E: Unable to locate package libio-string-perl, E: Unable to locate package libio-socket-ssl-perl, E: Unable to locate package libnet-ident-perl, E: Unable to locate package libnet-dns-perl, E: Unable to locate package libdbd-mysql-perl, E: Unable to locate package bind9, E: Unable to locate package spamassassin, E: Unable to locate package rspamd, E: Unable to locate package redis-server, E: Unable to locate package postgrey, E: Unable to locate package p7zip, E: Unable to locate package p7zip-full, E: Unable to locate package unrar-free, root@web01 ~ #
Sounds like you don't have package sources pointing to some common packages, offhand what does your container supply for sources.list and all sources.list.d files? My guess is the installer might add contrib and non-free to sources.list, but not to files in sources.list.d.
Yes it was contrib but in sources.list file. I changed to non-free manually bevor run installer and it works now. Installer creates new sources.list (with copy to sources.list~nnnnnnnnnnn) as bevore. Now I gett new error: [INFO] Enabling apache modules. [ERROR] Exception occured: ISPConfigOSException -> Command a2enmod suexec rewrite ssl actions include dav_fs dav auth_digest cgi headers proxy_fcgi alias http2 mpm_event 2>&1 failed. (/ispconfig.ai.php:15) Manual try: a2enmod mpm_event Considering conflict mpm_worker for mpm_event: Considering conflict mpm_prefork for mpm_event: ERROR: Module mpm_prefork is enabled - cannot proceed due to conflicts. It needs to be disabled first!
run: a2dismod mpm_prefork Are you sure you started with an empty system as required by the installer? I used the installer a few days ago on an empty system and it worked flawlessly, the problems you have must be related to an uncommon or unclean base system. Seems as if you used a system that had apache installed already.
I tried a2dismod mpm_prefork but was not possible because of more dependencies. Yes I installed Apache before as written in other tutorial (maybe outdated...?) I rollback system to scratch.
There can't be any outdated tutorial for the auto-installer as there exists exactly one tutorial for it https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/ and this guide nowhere says to install apache or any other service upfront, it actually states the exact opposite system requirement: which you did not follow and why your installs must fail.
I cannot reproduce any more, what kind of troubleshooting I did for the problem. Fact is, the installer don't add non-free if there is still contrib in sources.list After install main system an run installer again (avter remove contrib), I get after installing packages and "Adding quota to fstab.": [ERROR] Exception occured: ISPConfigOSException -> Command mount -o remount / 2>&1 && quotaoff -avug 2>&1 && quotacheck -avugm 2>&1 && quotaon -avug 2>&1 failed. (/ispconfig.ai.php:15) Manuall steps gives: root@web01 ~ # mount -o remount / root@web01 ~ # quotaoff -avug root@web01 ~ # quotacheck -avugm quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option. root@web01 ~ # quotaon -avug I remember, when I installed ispconfig 14 month ago, there was no problem like this.
Which virtualization do you use? LXC containers do not support Linux filesystem quota. You must either use a KVM container (or any other full virtualization or a real server) or you must install with no quota option. See advanced options chapter at the end of the tutorial.
Did you modify sources.list before running ISPConfig autoinstaller? I broke my autoinstaller by adding my local apt proxy to sources.list. The autoinstaller precondition is to be taken seriously.
I use LXC. I never had problem bevore. LXC is easier to admin if resources goes to limit. I dont need Quota, so I disabled it. Bevore installation I dit not modify sources.list an it stops because there was contrib and installer did not add non-free. So I removed contrib and start it again. This looks like a bug in installer. And if Setup goes in error, sometimes there is corrupted state (i.E. multiple entry in /etc/apt/sources.list.d/*.list Files) Now it works. Thx
Identifying and potentially handling non-default cases like this is why I requested your apt sources files, to see what you had setup that's not in a default install. Is your lxc template one you created locally or one you downloaded somewhere?