Hello I'm trying to install ISPConfig on Debian 11. Type of machine is lxc on Proxmox. I was trying to install using https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/ Output log is: ``` 18.01.2022-14:10:59 - /ispconfig.ai.php:15: [ERROR] Exception occured: ISPConfigOSException -> Installing packages failed. ``` I was trying with flags --no-quota and even --debug not showing any other output. php-cli is also set to 7.4
LXC does not support Linux quota, so you won't be able to limit website sizes. And if I remember correctly, then you must run it in privileged mode. LXC is just a Linux container, not a VM. Therefore it's better to create a VM in Proxmox and not an LXC container.
Thank You @till Is there any way to avoid this warning while installing ISP Config from script to get to end configuration ?
In your first post, you remove the lines from the output that show which packages failed, which is right before that line you posted. Post the full output so we can see what failed. And as mentioned before, you are using an unsuitable virtualization type and all you have to do to fix that is using a VM in proxmox instead of LXC.
In short, it is not easy to install ISPConfig server in an LXC due to certain limitation, thus if you don't know how to handle the errors in LXC (which can occur again, and again, and again... may be endlessly) you shouldn't be using it and instead should create and use VM on the PVE to install ISPConfig server. It is more stable and reliable running any ISPConfig server that way.
Maybe there is bug in auto installer, output informing that is non-free packages is added to sources.list but it doesn't. After manual adding installation process runs further.
@Th0m You need /etc/apt/sources.list ? Content is: Code: deb http://ftp.debian.org/debian bullseye main contrib deb http://ftp.debian.org/debian bullseye-updates main contrib deb http://security.debian.org bullseye-security main contrib
That might be the problem. That it has contrib already. @Croydon wdyt? See https://regex101.com/r/FeNTNy/1 as well, this is the regex used in https://git.ispconfig.org/ispconfig...r/lib/os/class.ISPConfigDebianOS.inc.php#L323
Yes that is the reason. If non-free or contrib is already added then the regex fails and the second one will not be added.
Maybe this commit solves it: https://git.ispconfig.org/ispconfig...mmit/473feb1fad51c8d6b1aa3b006b12abc43db338bb