auto install fail

Discussion in 'Installation/Configuration' started by lolbrin, Jan 17, 2022.

  1. lolbrin

    lolbrin Member

    Hello!
    Today i tried the ispconfig auto install on a fresh debian 11 install with this:
    Code:
    wget -O - https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades --use-php=7.4,8.0,8.1 --no-pma --no-mailman
    But every time it stucks at PHP:
    Code:
    [INFO] Installing packages php-pear, php-memcache, php-imagick, mcrypt, imagemagick, libruby, memcached, php-apcu, jailkit, php7.4, php7.4-common, php7.4-gd, php7.4-mysql, php7.4-imap, php7.4-cli, php7.4-curl, php7.4-intl, php7.4-pspell, php7.4-sqlite3, php7.4-tidy, php7.4-xmlrpc, php7.4-xsl, php7.4-zip, php7.4-mbstring, php7.4-soap, php7.4-opcache, php7.4-cgi, php7.4-fpm, php8.0, php8.0-common, php8.0-gd, php8.0-mysql, php8.0-imap, php8.0-cli, php8.0-curl, php8.0-intl, php8.0-pspell, php8.0-sqlite3, php8.0-tidy, php8.0-xsl, php8.0-zip, php8.0-mbstring, php8.0-soap, php8.0-opcache, php8.0-cgi, php8.0-fpm, php8.1, php8.1-common, php8.1-gd, php8.1-mysql, php8.1-imap, php8.1-cli, php8.1-curl, php8.1-intl, php8.1-pspell, php8.1-sqlite3, php8.1-tidy, php8.1-xsl, php8.1-zip, php8.1-mbstring, php8.1-soap, php8.1-opcache, php8.1-cgi, php8.1-fpm
    [ERROR] Exception occured: ISPConfigOSException -> Installing packages failed. (/ispconfig.ai.php:15)
    
    Could you please help me?
    Thanks!
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    What is the output of
    Code:
    apt install php-pear php-memcache php-imagick mcrypt imagemagick libruby memcached php-apcu jailkit php7.4 php7.4-common php7.4-gd php7.4-mysql php7.4-imap php7.4-cli php7.4-curl php7.4-intl php7.4-pspell php7.4-sqlite3 php7.4-tidy php7.4-xmlrpc php7.4-xsl php7.4-zip php7.4-mbstring php7.4-soap php7.4-opcache php7.4-cgi php7.4-fpm php8.0 php8.0-common php8.0-gd php8.0-mysql php8.0-imap php8.0-cli php8.0-curl php8.0-intl php8.0-pspell php8.0-sqlite3 php8.0-tidy php8.0-xsl php8.0-zip php8.0-mbstring php8.0-soap php8.0-opcache php8.0-cgi php8.0-fpm php8.1 php8.1-common php8.1-gd php8.1-mysql php8.1-imap php8.1-cli php8.1-curl php8.1-intl php8.1-pspell php8.1-sqlite3 php8.1-tidy php8.1-xsl php8.1-zip php8.1-mbstring php8.1-soap php8.1-opcache php8.1-cgi php8.1-fpm
     
    lolbrin likes this.
  3. lolbrin

    lolbrin Member

    Thanks you Th0m. The installation script now working.
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    What was the output of that command? No errors?

    Did you re-run the script? I would disencourage everyone to do so, it's better to reinstall in that case.
     
  5. lolbrin

    lolbrin Member

    I attached the output.
    Yes i restarted the script, should i reinstall the whole server?
     

    Attached Files:

    • op.txt
      File size:
      70.1 KB
      Views:
      13
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Please share that output in code tags, so we don't have to open (potentially dangerous) files.

    Yes, if it is not in production yet I would recommend doing so.
     
  7. lolbrin

    lolbrin Member

    I tryed, but it's more than 2k
    ok but it's lots more than 2k, should i put it in pastebin?
    edit: 69771 chars

    ok, made it, now i have to do:

    Code:
    sudo apt install -y lsb-release ca-certificates apt-transport-https software-properties-common gnupg2
    echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/sury-php.list
    wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add -
    sudo apt update
    
    and after it:

    Code:
    apt install php-pear php-memcache php-imagick mcrypt imagemagick libruby memcached php-apcu jailkit php7.4 php7.4-common php7.4-gd php7.4-mysql php7.4-imap php7.4-cli php7.4-curl php7.4-intl php7.4-pspell php7.4-sqlite3 php7.4-tidy php7.4-xmlrpc php7.4-xsl php7.4-zip php7.4-mbstring php7.4-soap php7.4-opcache php7.4-cgi php7.4-fpm php8.0 php8.0-common php8.0-gd php8.0-mysql php8.0-imap php8.0-cli php8.0-curl php8.0-intl php8.0-pspell php8.0-sqlite3 php8.0-tidy php8.0-xsl php8.0-zip php8.0-mbstring php8.0-soap php8.0-opcache php8.0-cgi php8.0-fpm php8.1 php8.1-common php8.1-gd php8.1-mysql php8.1-imap php8.1-cli php8.1-curl php8.1-intl php8.1-pspell php8.1-sqlite3 php8.1-tidy php8.1-xsl php8.1-zip php8.1-mbstring php8.1-soap php8.1-opcache php8.1-cgi php8.1-fpm
    
     
  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I was only asking for the output of the apt install command? That should be 1-2 lines :)

    So you are still experiencing problems and need to run commands manually? In that case, can you run the script with the --debug parameter and share the output where there are errors?
     
  9. lolbrin

    lolbrin Member

    Ok, forget it. I modified the apt.sources before useing the script, added contrib non-free and that was the problem. sorry and thanks for your help!
     
  10. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I'm curious on what would happen when running it with the --debug parameter, as contrib and non-free should be added automatically by the install script.
     
  11. lolbrin

    lolbrin Member

    well i really don't understand this, but now every time i run the script, it's working.
    is there any chance that you made some changes in it on your side?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

  13. lolbrin

    lolbrin Member

    well than sorry i don't understand it, but thanks for your help
     
  14. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Did you run it as root (with su -) the previous times?
     
  15. lolbrin

    lolbrin Member

    yes, but yesterday i even tryed it whitout su - too, maybe something with my vps provider
     
  16. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Unless I myself made some mistakes, the ISPConfig Auto Installer always work for me. So I will always check for my own mistakes first.
     

Share This Page