Debian 11 Attempting to install ispconfig3 Install issues

Discussion in 'Installation/Configuration' started by s2angel, Jan 5, 2023.

  1. s2angel

    s2angel Member

    I am following the install tutorial https://www.howtoforge.com/perfect-server-debian-10-buster-apache-bind-dovecot-ispconfig-3-1/ using it as a guidline. some majority is the same but When I get to the install part I was not looking at the output and closed the window and thought i could just reach the server via the port I set it to but after trying and looking around the its like nothing was installed. so I ran the update

    I tried it a few ways. I do not have the ufw firewall (i do something else)
    It seems to not be able to add user group see below useradd: not found, invalid user: ‘ispconfig:ispconfig’ ect...

    Where is the file that configures all this I was attempting to find this so i could do it manualy maybe if I added user group manualy I could make the update work. Maybe comment out the firewall bits. ugh


    Code:
    Downloading ISPConfig update.
    
    Unpacking ISPConfig update.
    
    
    
    --------------------------------------------------------------------------------
    
     _____ ___________   _____              __ _         ____
    
    |_   _/  ___| ___ \ /  __ \            / _(_)       /__  \
    
      | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _    _/ /
    
      | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |  |_ |
    
     _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | ___\ \
    
     \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, | \____/
    
                                                  __/ |
    
                                                 |___/
    
    --------------------------------------------------------------------------------
    
    
    
    >> Update
    
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 841
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 841
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 843
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1528
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1536
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1715
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1726
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1734
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1871
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1938
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1939
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1941
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1953
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1970
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1971
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1971
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1973
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1973
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1983
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1984
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1984
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1986
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1986
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1998
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1999
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 1999
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 2001
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 2001
    
    Operating System: Debian 11.0 (Bullseye) or compatible
    
    
    This application will update ISPConfig 3 on your server.
    
    
    Shall the script create a ISPConfig backup in /var/backup/ now? (yes,no) [yes]: no
    
    
    PHP Deprecated:  Creation of dynamic property installer::$dbmaster is deprecated in /tmp/update_runner.sh.DPpNwcv100/install/update.php on line 308
    
    Checking ISPConfig database .. OK
    
    Starting incremental database update.
    
    Loading SQL patch file: /tmp/update_runner.sh.DPpNwcv100/install/sql/incremental/upd_dev_collection.sql
    
    Reconfigure Permissions in master database? (yes,no) [no]:
    
    
    PHP Warning:  Undefined array key "ufw" in /tmp/update_runner.sh.DPpNwcv100/install/update.php on line 366
    
    PHP Warning:  Trying to access array offset on value of type null in /tmp/update_runner.sh.DPpNwcv100/install/update.php on line 366
    
    PHP Warning:  Undefined array key "firewall" in /tmp/update_runner.sh.DPpNwcv100/install/update.php on line 366
    
    PHP Warning:  Trying to access array offset on value of type null in /tmp/update_runner.sh.DPpNwcv100/install/update.php on line 366
    
    Reconfigure Services? (yes,no,selected) [yes]:
    
    
    Configuring Database
    
    Updating ISPConfig
    
    Certificate exists. Not creating a new one.
    
    sh: 1: groupadd: not found
    
    sh: 1: useradd: not found
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /usr/local/ispconfig/server/plugins-available/rspamd_plugin.inc.php on line 531
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /usr/local/ispconfig/server/plugins-available/rspamd_plugin.inc.php on line 532
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /usr/local/ispconfig/server/plugins-available/rspamd_plugin.inc.php on line 534
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /usr/local/ispconfig/server/plugins-available/rspamd_plugin.inc.php on line 546
    
    PHP Warning:  Undefined array key "ufw" in /usr/local/ispconfig/server/plugins-available/firewall_plugin.inc.php on line 41
    
    PHP Warning:  Trying to access array offset on value of type null in /usr/local/ispconfig/server/plugins-available/firewall_plugin.inc.php on line 41
    
    PHP Warning:  Undefined array key "firewall" in /usr/local/ispconfig/server/plugins-available/firewall_plugin.inc.php on line 41
    
    PHP Warning:  Trying to access array offset on value of type null in /usr/local/ispconfig/server/plugins-available/firewall_plugin.inc.php on line 41
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /usr/local/ispconfig/server/plugins-available/postfix_server_plugin.inc.php on line 343
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /usr/local/ispconfig/server/plugins-available/postfix_server_plugin.inc.php on line 351
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /usr/local/ispconfig/server/plugins-available/postfix_server_plugin.inc.php on line 381
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /usr/local/ispconfig/server/plugins-available/postfix_server_plugin.inc.php on line 381
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /usr/local/ispconfig/server/plugins-available/postfix_server_plugin.inc.php on line 391
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /usr/local/ispconfig/server/plugins-available/postfix_server_plugin.inc.php on line 423
    
    PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /usr/local/ispconfig/server/plugins-available/postfix_server_plugin.inc.php on line 423
    
    chown: invalid user: ‘ispconfig:ispconfig’
    
    chown: invalid group: ‘root:ispconfig’
    
    chown: invalid group: ‘root:ispconfig’
    
    chown: invalid group: ‘root:ispconfig’
    
    chown: invalid group: ‘root:ispconfig’
    
    chown: invalid group: ‘root:ispconfig’
    
    chown: invalid group: ‘root:ispconfig’
    
    PHP Warning:  chown(): Unable to find uid for ispconfig in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 3591
    
    PHP Warning:  chgrp(): Unable to find gid for ispconfig in /tmp/update_runner.sh.DPpNwcv100/install/lib/installer_base.lib.php on line 3592
    
    chown: invalid user: ‘ispconfig:ispconfig’
    
    Reconfigure Crontab? (yes,no) [yes]:
     
    Last edited: Jan 5, 2023
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    You should use the official guide for Debian 11 which uses ISPConfig Auto Installer instead of guessing by manually following old tutorial based on Debian 10 for it.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

  4. s2angel

    s2angel Member

    Yes i did that first.


    Code:
    wget -O - https://get.ispconfig.org | sh -s -- --help
    
    root@s08:/home/debian# wget -O - https://get.ispconfig.org | sh -s -- --help
    --2022-12-17 18:07:07--  https://get.ispconfig.org/
    Resolving get.ispconfig.org (get.ispconfig.org)... 104.26.11.246, 104.26.10.246, 172.67.75.112, ...
    Connecting to get.ispconfig.org (get.ispconfig.org)|104.26.11.246|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 2003 (2.0K) [application/octet-stream]
    Saving to: ‘STDOUT’
    
    -                                                 100%[===========================================================================================================>]   1.96K  --.-KB/s    in 0s   
    
    2022-12-17 18:07:07 (39.1 MB/s) - written to stdout [2003/2003]
    
    PHP cli missing, trying to install.
    Selecting previously unselected package libsodium23:amd64.
    (Reading database ... 32047 files and directories currently installed.)
    Preparing to unpack .../0-libsodium23_1.0.18-1_amd64.deb ...
    Unpacking libsodium23:amd64 (1.0.18-1) ...
    Selecting previously unselected package php-common.
    Preparing to unpack .../1-php-common_2%3a76_all.deb ...
    Unpacking php-common (2:76) ...
    Selecting previously unselected package php7.4-common.
    Preparing to unpack .../2-php7.4-common_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-common (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php7.4-json.
    Preparing to unpack .../3-php7.4-json_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-json (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php7.4-opcache.
    Preparing to unpack .../4-php7.4-opcache_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-opcache (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php7.4-readline.
    Preparing to unpack .../5-php7.4-readline_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-readline (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php7.4-cli.
    Preparing to unpack .../6-php7.4-cli_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-cli (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php-cli.
    Preparing to unpack .../7-php-cli_2%3a7.4+76_all.deb ...
    Unpacking php-cli (2:7.4+76) ...
    Setting up php-common (2:76) ...
    Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
    Setting up libsodium23:amd64 (1.0.18-1) ...
    Setting up php7.4-common (7.4.33-1+deb11u1) ...
    
    Creating config file /etc/php/7.4/mods-available/calendar.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/ctype.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/exif.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/fileinfo.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/ffi.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/ftp.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/gettext.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/iconv.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/pdo.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/phar.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/posix.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/shmop.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/sockets.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/sysvmsg.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/sysvsem.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/sysvshm.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/tokenizer.ini with new version
    Setting up php7.4-readline (7.4.33-1+deb11u1) ...
    
    Creating config file /etc/php/7.4/mods-available/readline.ini with new version
    Setting up php7.4-opcache (7.4.33-1+deb11u1) ...
    
    Creating config file /etc/php/7.4/mods-available/opcache.ini with new version
    Setting up php7.4-json (7.4.33-1+deb11u1) ...
    
    Creating config file /etc/php/7.4/mods-available/json.ini with new version
    Setting up php7.4-cli (7.4.33-1+deb11u1) ...
    update-alternatives: using /usr/bin/php7.4 to provide /usr/bin/php (php) in auto mode
    update-alternatives: using /usr/bin/phar7.4 to provide /usr/bin/phar (phar) in auto mode
    update-alternatives: using /usr/bin/phar.phar7.4 to provide /usr/bin/phar.phar (phar.phar) in auto mode
    
    Creating config file /etc/php/7.4/cli/php.ini with new version
    Setting up php-cli (2:7.4+76) ...
    update-alternatives: using /usr/bin/php.default to provide /usr/bin/php (php) in auto mode
    update-alternatives: using /usr/bin/phar.default to provide /usr/bin/phar (phar) in auto mode
    update-alternatives: using /usr/bin/phar.phar.default to provide /usr/bin/phar.phar (phar.phar) in auto mode
    Processing triggers for man-db (2.9.4-2) ...
    Processing triggers for libc-bin (2.31-13+deb11u5) ...
    Processing triggers for php7.4-cli (7.4.33-1+deb11u1) ...
    Selecting previously unselected package libonig5:amd64.
    (Reading database ... 32187 files and directories currently installed.)
    Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ...
    Unpacking libonig5:amd64 (6.9.6-1.1) ...
    Selecting previously unselected package php7.4-mbstring.
    Preparing to unpack .../php7.4-mbstring_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-mbstring (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php-mbstring.
    Preparing to unpack .../php-mbstring_2%3a7.4+76_all.deb ...
    Unpacking php-mbstring (2:7.4+76) ...
    Setting up libonig5:amd64 (6.9.6-1.1) ...
    Setting up php7.4-mbstring (7.4.33-1+deb11u1) ...
    
    Creating config file /etc/php/7.4/mods-available/mbstring.ini with new version
    Setting up php-mbstring (2:7.4+76) ...
    Processing triggers for libc-bin (2.31-13+deb11u5) ...
    Processing triggers for php7.4-cli (7.4.33-1+deb11u1) ...
    
    
    ******************************************************************************************************************************************************************************************************ISPConfig 3 Autoinstaller
    ******************************************************************************************************************************************************************************************************
    
    Usage: ispc3-ai.sh [<argument>] [...]
    
    This script automatically installs all needed packages for an ISPConfig 3 setup using the guidelines from the "Perfect Server Setup" howtos on www.howtoforge.com.
    
    Possible arguments are:
        --help          Show this help page
        --debug         Enable verbose logging (logs each command with the exit code)
        --channel       Choose the channel to use for ISPConfig. --channel=<stable|dev>
                        "stable" is the latest ISPConfig release available on www.ispconfig.org
                        "dev" is the latest dev-branch from the ISPConfig git repository: https://git.ispconfig.org/ispconfig/ispconfig3/tree/develop
                        -> The dev channel might contain bugs and less-tested features and should only be used in production by very experienced users.
        --lang          Use language for ISPConfig installation. Specify with --lang=en|de (only en (English) and de (German) supported currently).
        --interactive   Don't install ISPConfig in non-interactive mode. This is needed if you want to use expert mode, e. g. to install a slave server that shall be integrated into an existing
                        multiserver setup.
        --use-nginx     Use nginx webserver instead of apache2
        --use-amavis    Use amavis instead of rspamd for mail filtering
        --use-unbound   Use unbound instead of bind9 for local resolving. Only allowed if --no-dns is set.
        --use-php       Use specific PHP versions, comma separated, instead of installing multiple PHP, e.g. --use-php=7.4,8.0 (5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0 and 8.1 available).
                        --use-php=system disables the sury repository and just installs the system's default PHP version.
                        ommiting the argument (use all versions)
        --use-ftp-ports This option sets the passive port range for pure-ftpd. You have to specify the port range separated by hyphen, e. g. --use-ftp-ports=40110-40210.
                        If not provided the passive port range will not be configured.
        --use-certbot   Use Certbot instead of acme.sh for issuing Let's Encrypt certificates. Not adviced unless you are migrating from a old server that uses Certbot.
        --no-web        Do not use ISPConfig on this server to manage webserver setting and don't install nginx/apache or pureftpd. This will also prevent installing an ISPConfig UI and implies
                        --no-roundcube as well as --no-pma
        --no-mail       Do not use ISPConfig on this server to manage mailserver settings. This will install postfix for sending system mails, but not dovecot and not configure any settings for
                        ISPConfig mail. It implies --no-mailman.
        --no-dns        Do not use ISPConfig on this server to manage DNS entries. Bind will be installed for local DNS caching / resolving only.
        --no-local-dns  Do not install local DNS caching / resolving via bind.
        --no-firewall   Do not install ufw and tell ISPConfig to not manage firewall settings on this server.
        --no-roundcube  Do not install roundcube webmail.
        --roundcube     Install Roundcube even when --no-mail is used. Manual configuration of Roundcube config is needed.
        --no-pma        Do not install PHPMyAdmin on this server.
        --no-mailman    Do not install Mailman mailing list manager.
        --no-quota      Disable file system quota
        --no-ntp        Disable NTP setup
        --monit         Install Monit and set it up to monitor installed services. Supported services: Apache2, NGINX, MariaDB, pure-ftpd-mysql, php-fpm, ssh, named, Postfix, Dovecot, rspamd.
        --monit-alert-email
                        Set up alerts for Monit to be send to given e-mail address. e.g. [email protected]
        --ssh-port      -> Configure the SSH server to listen on a non-default port. Port number must be between 1 and 65535 and can not be in use by other services. e.g. --ssh-port=64
        --ssh-permit-root
                        -> Configure the SSH server wether or not to allow root login. Available options: yes | without-password | no - e.g. --ssh-permit-root=without-password
        --ssh-password-authentication
                        ->  Configure the SSH server wether or not to allow password authentication. Available options:  yes | no - e.g. -ssh-password-authentication=no
        --ssh-harden    -> Configure the SSH server to have a stronger security config.
        --unattended-upgrades
                        Install UnattendedUpgrades. You can add extra arguments for automatic cleanup and automatic reboots when necessary with --unattended-upgrades=autoclean,reboot (or only one of
                        them).
        --i-know-what-i-am-doing
                        Prevent the autoinstaller to ask for confirmation before continuing to reconfigure the server.
    
    I was not sure what to do at that point
    i tried making my own command
    Code:
    ispc3-ai.sh --debug  --lang=en --use-php=5.6,7.4,8.0,8.1 --monit --monit-alert-email=myemailhere  --ssh-port=2634 --ssh-permit-root=yes -ssh-password-authentication=yes
    that did'nt seem to work so I grabbed the script and tried to run it localy I failed to get that to work so i eventual
    I managed to get some movement with
    Code:
    # wget -O - https://get.ispconfig.org | sh -s -- --lang=en --use-php=5.6,7.4,8.0,8.1 --monit [email protected]
    --2022-12-17 18:35:52--  https://get.ispconfig.org/
    Resolving get.ispconfig.org (get.ispconfig.org)... 104.26.11.246, 104.26.10.246, 172.67.75.112, ...
    Connecting to get.ispconfig.org (get.ispconfig.org)|104.26.11.246|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 2003 (2.0K) [application/octet-stream]
    Saving to: ‘STDOUT’
    
    -                                                 100%[===========================================================================================================>]   1.96K  --.-KB/s    in 0s   
    
    2022-12-17 18:35:52 (39.5 MB/s) - written to stdout [2003/2003]
    
    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, curl, cron, ntp
    [INFO] Installed packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, software-properties-common, curl, cron, 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] Default shell is currently dash.
    [INFO] Setting bash as default shell.
    [ERROR] Exception occured: ISPConfigOSException -> Command echo "dash dash/sh boolean false" | debconf-set-selections && DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash 2>&1 failed. (/ispconfig.ai.php:15)
    
    
    but it failed at dash reconfigure.
    so
    Code:
    apt-get install debconf sudo
    
    sudo dpkg-reconfigure dash 2>&1
    
    
    After attempting to run it I gave up then started today to manualy install it.. I guess i will have to go through the install code to figure what it needs.




    I am going to unshelf my VM and make a user and a group and try again..
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Just run the next command from the tutorial to install the software. As with any tutorial, start at the top and run the commands in the order that they appear. So in this case, the next command is:

    Code:
    wget -O - https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades
    Ok, so your base system that you used to start with is not properly installed if even such basic echo and apt commands do not work. You need a clean and working OS to start with, this is not an issue with the auto-installer, it's an issue with your base system or you are not logged in as root user. The manual install must fail as well in such a case.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

  7. s2angel

    s2angel Member

    Till i use a VPS provider here locally in Toronto Ontario Canada
    They use a standard Template Debian 11

    i deleted my vm and started fresh here is the only command beyond changing my root password i ran

    Code:
    # wget -O - https://get.ispconfig.org | sh -s -- --channel=dev --lang=en --use-php=5.6,7.4,8.2
    --2023-01-06 19:20:12--  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: 2003 (2.0K) [application/octet-stream]
    Saving to: ‘STDOUT’
    
    -                                                 100%[===========================================================================================================>]   1.96K  --.-KB/s    in 0s    
    
    2023-01-06 19:20:13 (28.0 MB/s) - written to stdout [2003/2003]
    
    PHP cli missing, trying to install.
    Selecting previously unselected package perl-modules-5.32.
    (Reading database ... 24777 files and directories currently installed.)
    Preparing to unpack .../00-perl-modules-5.32_5.32.1-4+deb11u2_all.deb ...
    Unpacking perl-modules-5.32 (5.32.1-4+deb11u2) ...
    Selecting previously unselected package libgdbm-compat4:amd64.
    Preparing to unpack .../01-libgdbm-compat4_1.19-2_amd64.deb ...
    Unpacking libgdbm-compat4:amd64 (1.19-2) ...
    Selecting previously unselected package libperl5.32:amd64.
    Preparing to unpack .../02-libperl5.32_5.32.1-4+deb11u2_amd64.deb ...
    Unpacking libperl5.32:amd64 (5.32.1-4+deb11u2) ...
    Selecting previously unselected package perl.
    Preparing to unpack .../03-perl_5.32.1-4+deb11u2_amd64.deb ...
    Unpacking perl (5.32.1-4+deb11u2) ...
    Selecting previously unselected package bzip2.
    Preparing to unpack .../04-bzip2_1.0.8-4_amd64.deb ...
    Unpacking bzip2 (1.0.8-4) ...
    Selecting previously unselected package mailcap.
    Preparing to unpack .../05-mailcap_3.69_all.deb ...
    Unpacking mailcap (3.69) ...
    Selecting previously unselected package mime-support.
    Preparing to unpack .../06-mime-support_3.66_all.deb ...
    Unpacking mime-support (3.66) ...
    Selecting previously unselected package libsodium23:amd64.
    Preparing to unpack .../07-libsodium23_1.0.18-1_amd64.deb ...
    Unpacking libsodium23:amd64 (1.0.18-1) ...
    Selecting previously unselected package php-common.
    Preparing to unpack .../08-php-common_2%3a76_all.deb ...
    Unpacking php-common (2:76) ...
    Selecting previously unselected package php7.4-common.
    Preparing to unpack .../09-php7.4-common_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-common (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php7.4-json.
    Preparing to unpack .../10-php7.4-json_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-json (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php7.4-opcache.
    Preparing to unpack .../11-php7.4-opcache_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-opcache (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php7.4-readline.
    Preparing to unpack .../12-php7.4-readline_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-readline (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php7.4-cli.
    Preparing to unpack .../13-php7.4-cli_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-cli (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php-cli.
    Preparing to unpack .../14-php-cli_2%3a7.4+76_all.deb ...
    Unpacking php-cli (2:7.4+76) ...
    Setting up php-common (2:76) ...
    Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
    Setting up libsodium23:amd64 (1.0.18-1) ...
    Setting up php7.4-common (7.4.33-1+deb11u1) ...
    
    Creating config file /etc/php/7.4/mods-available/calendar.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/ctype.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/exif.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/fileinfo.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/ffi.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/ftp.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/gettext.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/iconv.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/pdo.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/phar.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/posix.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/shmop.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/sockets.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/sysvmsg.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/sysvsem.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/sysvshm.ini with new version
    
    Creating config file /etc/php/7.4/mods-available/tokenizer.ini with new version
    Setting up perl-modules-5.32 (5.32.1-4+deb11u2) ...
    Setting up php7.4-readline (7.4.33-1+deb11u1) ...
    
    Creating config file /etc/php/7.4/mods-available/readline.ini with new version
    Setting up bzip2 (1.0.8-4) ...
    Setting up libgdbm-compat4:amd64 (1.19-2) ...
    Setting up libperl5.32:amd64 (5.32.1-4+deb11u2) ...
    Setting up php7.4-opcache (7.4.33-1+deb11u1) ...
    
    Creating config file /etc/php/7.4/mods-available/opcache.ini with new version
    Setting up php7.4-json (7.4.33-1+deb11u1) ...
    
    Creating config file /etc/php/7.4/mods-available/json.ini with new version
    Setting up perl (5.32.1-4+deb11u2) ...
    Setting up mailcap (3.69) ...
    Setting up mime-support (3.66) ...
    Setting up php7.4-cli (7.4.33-1+deb11u1) ...
    update-alternatives: using /usr/bin/php7.4 to provide /usr/bin/php (php) in auto mode
    update-alternatives: using /usr/bin/phar7.4 to provide /usr/bin/phar (phar) in auto mode
    update-alternatives: using /usr/bin/phar.phar7.4 to provide /usr/bin/phar.phar (phar.phar) in auto mode
    
    Creating config file /etc/php/7.4/cli/php.ini with new version
    Setting up php-cli (2:7.4+76) ...
    update-alternatives: using /usr/bin/php.default to provide /usr/bin/php (php) in auto mode
    update-alternatives: using /usr/bin/phar.default to provide /usr/bin/phar (phar) in auto mode
    update-alternatives: using /usr/bin/phar.phar.default to provide /usr/bin/phar.phar (phar.phar) in auto mode
    Processing triggers for man-db (2.9.4-2) ...
    Processing triggers for libc-bin (2.31-13+deb11u3) ...
    Processing triggers for php7.4-cli (7.4.33-1+deb11u1) ...
    Selecting previously unselected package libonig5:amd64.
    (Reading database ... 26934 files and directories currently installed.)
    Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ...
    Unpacking libonig5:amd64 (6.9.6-1.1) ...
    Selecting previously unselected package php7.4-mbstring.
    Preparing to unpack .../php7.4-mbstring_7.4.33-1+deb11u1_amd64.deb ...
    Unpacking php7.4-mbstring (7.4.33-1+deb11u1) ...
    Selecting previously unselected package php-mbstring.
    Preparing to unpack .../php-mbstring_2%3a7.4+76_all.deb ...
    Unpacking php-mbstring (2:7.4+76) ...
    Setting up libonig5:amd64 (6.9.6-1.1) ...
    Setting up php7.4-mbstring (7.4.33-1+deb11u1) ...
    
    Creating config file /etc/php/7.4/mods-available/mbstring.ini with new version
    Setting up php-mbstring (2:7.4+76) ...
    Processing triggers for libc-bin (2.31-13+deb11u3) ...
    Processing triggers for php7.4-cli (7.4.33-1+deb11u1) ...
    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, curl, cron, ntp
    [INFO] Installed packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, software-properties-common, curl, cron, 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] Default shell is currently dash.
    [INFO] Setting bash as default shell.
    [ERROR] Exception occured: ISPConfigOSException -> Command echo "dash dash/sh boolean false" | debconf-set-selections && DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash 2>&1 failed. (/ispconfig.ai.php:15)
    Should i enable debugging . ?
     
  8. s2angel

    s2angel Member

    ok debug

    Code:
    # wget -O - https://get.ispconfig.org | sh -s -- --channel=dev --lang=en --use-php=5.6,7.4,8.2 --debug
    --2023-01-06 19:34:06--  https://get.ispconfig.org/
    Resolving get.ispconfig.org (get.ispconfig.org)... 104.26.10.246, 172.67.75.112, 104.26.11.246, ...
    Connecting to get.ispconfig.org (get.ispconfig.org)|104.26.10.246|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 2003 (2.0K) [application/octet-stream]
    Saving to: ‘STDOUT’
    
    -                                                 100%[===========================================================================================================>]   1.96K  --.-KB/s    in 0s  
    
    2023-01-06 19:34:06 (39.0 MB/s) - written to stdout [2003/2003]
    
    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, curl, cron, ntp
    [INFO] Installed packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, software-properties-common, curl, cron, 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] Default shell is currently dash.
    [INFO] Setting bash as default shell.
    [ERROR] Exception occured: ISPConfigOSException -> Command echo "dash dash/sh boolean false" | debconf-set-selections && DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash 2>&1 failed. (/ispconfig.ai.php:15)
    root@s08:/home/debian#
    
    I guess i need to switch to dash first?


    Code:
    # apt install dash
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    dash is already the newest version (0.5.11+git20200708+dd9ef66-5).
    The following packages were automatically installed and are no longer required:
      php7.4-cli php7.4-common php7.4-json php7.4-mbstring php7.4-opcache php7.4-readline
    Use 'apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@:/home/debian#
    root@:/home/debian# dpkg-reconfigure dash
    bash: dpkg-reconfigure: command not found
    root@s08:/home/debian# sudo dpkg-reconfigure dash
    root@s08:/home/debian#
    
    
    maybe i need to use sudo infront of all commands?

    nope what is wrong here?
     
  9. s2angel

    s2angel Member

    Update
    This seems to be getting things moving along
    Code:
    # sudo wget -O - https://get.ispconfig.org | sudo sh -s -- --channel=dev --lang=en --use-php=5.6,7.4,8.2 --debug
    i am a old school debian guy I should of known adding the sudo infront will help. The old part of my brain just thinks that i don't need it. I work on so many older servers that just keep churning away that i get mixed up sometimes.. i will update on how this install went..

    Would still prefer to install everything manually more for my own piece of mind security
     
  10. s2angel

    s2angel Member

    Well its functional.

    The conclusion of this story is that the newer debian and Ubuntu versions have made even though you are in root you need to run commands with sudo infront.
     
  11. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    We use bash in ISPConfig, not dash, and we always root when setting up the server.
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Using sudo is not required on a standard Debian system, but maybe your provider decided to modify his template in a way that his servers require it now. But you just have to ensure that you use this command to become root (as mentioned at the beginning of the tutorial):

    su -

    The command 'su' without - does not work properly anymore on recent Debian and Ubuntu versions.
     

Share This Page