autoinstall ispconfig

Discussion in 'ISPConfig 3 Priority Support' started by Tom John, Aug 17, 2021.

  1. Tom John

    Tom John Member HowtoForge Supporter

    Hi guys,
    i try to install a server ubuntu 20.04 according to:
    https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/
    i get the following error:
    Code:
    [email protected]:~# wget -O - https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades
    --2021-08-17 18:15:58--  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-08-17 18:15:58 (22.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 Ubuntu 20.04.2 LTS
    [INFO] Checking hostname.
    [INFO] Configuring apt 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, ntp
    [INFO] Installed packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, ntp
    [INFO] Activating rspamd repository.
    [INFO] Activating sury php repository.
    sh: 1: add-apt-repository: not found
    [ERROR] Exception occured: ISPConfigOSException -> Command add-apt-repository -y ppa:ondrej/php failed. (/ispconfig.ai.php:15)
    
    
    then the script stops.
    the sources.list is:
    Code:
    deb http://de.archive.ubuntu.com/ubuntu focal-security main restricted
    # deb-src http://de.archive.ubuntu.com/ubuntu focal-security main restricted
    deb http://de.archive.ubuntu.com/ubuntu focal-security universe
    # deb-src http://de.archive.ubuntu.com/ubuntu focal-security universe
    deb http://de.archive.ubuntu.com/ubuntu focal-security multiverse
    # deb-src http://de.archive.ubuntu.com/ubuntu focal-security multiverse
    
    can you help me with that ?
    thanks a lot
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Your system is missing this command, which comes from the software-properties-common package (ie. you need to install that first). Offhand I don't know if the issue/fault lies in your system not meeting the base system requirements, or if software-properties-common should be installed by the autoinstaller.
     
  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Are you running a VPS? If so, with which provider?
     
  4. Tom John

    Tom John Member HowtoForge Supporter

    Hi,
    thanks for your answer
    yes i am running a VPS with contabo.com
     
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Thanks, I'll see what we can do about that. For now, follow Jesse's instructions.
     
  6. Tom John

    Tom John Member HowtoForge Supporter

    Thanks for your answer, i did so and i could install the server without problems.
    However i got an error and would like to know if i need further action here?
    Code:
    WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22
    ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
    ERROR: initialize: libfreshclam init failed.
    ERROR: Initialization error!
    
    
    as well i got a privacy error SSL because i think the certificate for that server was not created, should i add the website with the servername for make an letsencrypt cert?

    thanks again for your great help
     
    Last edited: Aug 18, 2021
  7. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    No, if that's the hostname you want, it's easier to just let the installer set it up. Right now in your state you might have to update to "nightly" build for the certificate request to work, though.
     
  8. Tom John

    Tom John Member HowtoForge Supporter

    Hi,
    thanks for your kind answer.
    what is the nightly build for the certificate?
    how to set up the installer to build the certificate for the hostname ?
    thanks a lot for your help
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

  10. Tom John

    Tom John Member HowtoForge Supporter

    with this command the install works with SSL cert.
    thanks so much
     
    ahrasis likes this.

Share This Page