Error installing on debian 11

Discussion in 'Installation/Configuration' started by tegazinho, Oct 26, 2021.

Thread Status:
Not open for further replies.
  1. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    You can't use "--use-php=8.0", it needs the default version as well (in this case 7.4).

    It's a known bug, I'll see if I can fix it soon: https://git.ispconfig.org/ispconfig/ispconfig-autoinstaller/-/issues/52
     
    Neptun likes this.
  2. Neptun

    Neptun Member

    Perfect thanks, now it works without any issue
     
    Th0m likes this.
  3. Eleinbra

    Eleinbra New Member

    Estou tendo o mesmo problema no debian 11. Esta mensagem:

    Ocorreu uma exceção: ISPConfigOSException -> Comando update-alternatives --set php-fpm.sock /run/php/php7.4-fpm.sock falhou. (/ispconfig.ai.php:15)

    As instalações do sistema são novas, não tem nenhuma versão do php instalada, mas estou com esse problema. meu comando:

    wget -O - link | sh -s -- --use-ftp-ports=40110-40210 --atualizações autônomas
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You should understand this Forum is in english, and write your question in english. There is german forum at https://forum.howtoforge.de/, if that is any help.
    You should also understand to not hijack old threads, previous message on this thread is more than year old.
     
  5. Eleinbra

    Eleinbra New Member

    Sorry, I dont understand what change the language, I'm sure that I write in english language. I'll write again:

    I'm having the same problem with te debian 11. This is the message:

    An exception occurred: ISPConfigOSException -> Command update-alternatives --set php-fpm.sock /run/php/php7.4-fpm.sock failed. (/ispconfig.ai.php:15)

    The windows installation is new, don't have any php version installed, but I'm having tis problem. This is the command:

    wget -O - link | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades

    About the time, I understand, but I'm having the same problem with a current version of the sistem, the version in topic. Because this I try not waiting a fast reply. If nobody reply, I'll understand.
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Did you try the troubleshooting tips on this thread? What were the results?
     
  7. Eleinbra

    Eleinbra New Member

    Yes, but anything solved it. He don't having any php version installed. Only solution was the tegazinho informs, install the php for the repository and the automate install select the system php, but the Till inform that solution is temporary and cause more problems.

    EDITED: 01/23/2023 - 3:36pm = Now that I see, the auto-instalation install the php for standart because the php-cli, if this is the cause of the problem?
     
    Last edited: Jan 23, 2023
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    There must be some PHP version installed.
    It should work, if the starting conditions are met. The Autoinstall needs a just now installed plain default operating system with no configurations or extra packages installed.
    How was the Debian 11 installed?
    Follow these instructions https://forum.howtoforge.com/threads/please-read-before-posting.58408/ and show results of the test script.
     
  9. Eleinbra

    Eleinbra New Member

    Hello!

    I reinstall te debian system, and solved the problem.

    Thank you, very much!
     
  10. slagroom

    slagroom Member

    I have a different error;
    Code:
    [INFO] Stopping Rspamd.
    [INFO] (Re)starting unbound.
    [INFO] Disabling spamassassin daemon.
    [INFO] Installing packages nginx-full, fcgiwrap
    [ERROR] Exception occured: ISPConfigOSException -> Installing packages failed. (/ispconfig.ai.php:15)
    
    
    I like unbound, so I don't want bind, I included --no-dns --no-local-dns, but it is unclear if both need to be there or not.
    I use CSF/LFD, so no fiewalls either. Had not installed any of them before running. Debian 11 minimal;
    Code:
    wget -O - https://get.ispconfig.org | sh -s -- --lang=en --use-nginx --use-unbound --use-php=7.4,8.0 --use-ftp-ports=40110-40210 --no-dns --no-local-dns --no-firewall --no-mailman --unattended-upgrades=autoclean
    
    Funny is how this ^ requires wget, which was not in debian 11 minimal. And then your installer also asks to install wget? That's a catch-22 ;-) And why do you install nano? I prefer to use mc's internal editor.
     
  11. slagroom

    slagroom Member

    Since the error is at nginx, I bet you are still using the deprecated key import. You need to do:
    Code:
    curl -fsSL http://nginx.org/keys/nginx_signing.key | sudo gpg --dearmor -o /usr/share/keyrings/nginx-keyring.gpg
    
    echo "deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] http://nginx.org/packages/debian `lsb_release -cs` nginx" | sudo tee /etc/apt/sources.list.d/nginx.list
    
    and another thing, in update.txt I see:

    Setting up bind9-libs:amd64 (1:9.16.37-1~deb11u1) ...
    Setting up grub-common (2.06-3~deb11u5) ...
    Installing new version of config file /etc/grub.d/10_linux ...
    Installing new version of config file /etc/grub.d/20_linux_xen ...
    Installing new version of config file /etc/grub.d/30_os-prober ...
    Installing new version of config file /etc/grub.d/30_uefi-firmware ...
    Installing new version of config file /etc/grub.d/41_custom ...
    Setting up bind9-host (1:9.16.37-1~deb11u1) ...
    Setting up grub2-common (2.06-3~deb11u5) ...

    So why is it installing bind anything? Or is this part of unbound?
    I fear this is a no-go for me. I'm going to use either virtualmin or hestia.
     
    Last edited: Jan 26, 2023
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    No, we don't need to do that. The auto-installer does not use any packages form nginx.org, they are not even compatible. Running the auto installer on a clean and empty Debian system with the commandline option you provided works fine and without errors. The auto installer is currently used to install between 500 - 1000 servers every day successfully, so your report just shows that there is a specific issue with your base system and not any kind of general issue with the auto-installer. You can use the --debug switch to get a more detailed output and log file.

    Read the source code if you want to know in detail what each option is doing: https://git.ispconfig.org/ispconfig/ispconfig-autoinstaller

    Use whatever you want. Your posts show that you don't like ISPConfig and its setup, so you better go with software you like and want to use. This saves us all a lot of time and effort.
     
    ahrasis and pyte like this.
Thread Status:
Not open for further replies.

Share This Page