installation by "Automated installation on Debian" blocked on Installing roundcube...

Discussion in 'Installation/Configuration' started by kameleon1er, Sep 10, 2020.

  1. kameleon1er

    kameleon1er Member

    I try to reinstall isp config on my vps, but as I connect via SSH key pair, root/password connection is disabled, the installation script blocks at the step: Rouncube :
    What can I do? here my config :
    Code:
    The detected Linux Distribution is:    Debian GNU/Linux 10 (buster)
    Processor (CPU):            AMD EPYC 7281 16-Core Processor
    CPU Cores:                3
    Architecture:                x86_64 (64-bit)
    Total memory (RAM):            3,943 MiB (4,134 MB)
    Total swap space:            0 MiB (0 MB)
    Computer name:                srv-b.domain.com
    Hostname:                srv-b.domain.com
    IPv4 addresses:                10.69.94.57 2001:bc8:62c:71c::1
    Time zone:                Etc/UTC (UTC, +0000)
    
    Virtual Machine (VM) hypervisor:    kvm
    
    Installing for this Linux Distribution:    debian10
    Is this correct? (y/n) Y
    
    Preparing to install... [DONE]
    
    Updating apt package database and upgrading currently installed packages... [DONE]
    
    Installing basic packages (OpenSSH server, NTP, binutils, etc.)... [DONE]
    
    Changing the default shell from dash to bash... [DONE]
    
    Installing Database server (MariaDB)... [DONE]
    
    Restarting MariaDB... [DONE]
    
    Installing Web server (Apache) and modules... [DONE]
    
    Installing PHP and modules... [DONE]
    
    Installing PHP-FPM... [DONE]
    
    Installing needed programs for PHP and Apache (mcrypt, etc.)... [DONE]
    
    Installing phpMyAdmin... [DONE]
    
    Activating Apache modules... [DONE]
    
    Disabling HTTP_PROXY... [DONE]
    
    Restarting Apache... [DONE]
    
    Installing Let's Encrypt (Certbot)... [DONE]
    
    Installing PHP Opcode Cache... [DONE]
    
    Restarting Apache... [DONE]
    
    Installing FTP server (Pure-FTPd)... Generating DH parameters, 2048 bit long safe prime, generator 2
    This is going to take a long time
    ............................................................................................................................++*++*++*++*
    Generating a RSA private key
    ...................+++++
    writing new private key to '/etc/ssl/private/pure-ftpd.pem'
    -----
    [DONE]
    
    Restarting Pure-FTPd... [DONE]
    
    Installing Quota... [DONE]
    
    Initializing Quota, this may take a while... quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
    [DONE]
    
    Installing Jailkit... [DONE]
    
    Installing Webmail client (Roundcube)... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    What installer are you using? The official autoinstaller beta (alpha?) is a little dated and has an occasional issue to work through; I've used it for the control panel node and a mail server, but not for a web server node (hence not had to work through roundcube issues yet), and it does work pretty well but you need to be able to troubleshoot and work through problems at this point.

    Are you trying to reinstall over an existing installation? Or you mean you wiped your vps to a clean, minimal OS build to start?

    The roundcube error refers to the mysql 'root' user, not the system root user you ssh as. I'd probably try installing mariadb manually following the Perfect Server guide ahead of running the installer you're trying, and in particular be sure to follow the "... set plugin = 'mysql_native_password' ..." instructions. Then run the installer and see if it gets farther.

    Alternatively, see if you can bypass the Roundcube install part and complete the installation, then follow the Perfect Server guide to install Roundcube yourself.

    And another alternative that is better supported is to abandon all autoinstallers and install the entire system following a Perfect Server guide. :)
     
  3. kameleon1er

    kameleon1er Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Use one of the official 'perfect server' install guides instead:

    https://www.ispconfig.org/documentation/

    As you found out already, the shortcut of using an autoinstaller is not always the fastest way to get a software installed.
     
  5. kameleon1er

    kameleon1er Member

    @Jesse Norell , ok thanks, I gonna try reinstall my "Buster_droplet" and directly purge mariaDB/Sql before launch the ispConfig install script.

    @till , thanks, I followed the tutorial you show yesterday, but had phpmyadmin access issue after installation. You right ; there's no easy way out.
     
  6. kameleon1er

    kameleon1er Member

    Hi, Installation script works but only on debian 9.
    Just one thing I didn't achieve because not understand : step on quotas :
    Code:
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sda1 during installation
    UUID=f539c5cb-624f-4c27-a149-1446a251a453 / ext4 errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1
    # swap was on /dev/sda5 during installation
    UUID=8d3194e7-edb5-4492-937d-d066b4994baf none swap sw 0 0
    /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
    mine is something like :
    Code:
    # Generated by Scaleway's build system
    PARTUUID=1754ad46-9ee7-4e7e-a240-20a9dc85ef62 / ext4 rw,relatime 0 1
    PARTUUID=f5209a52-b220-4301-9644-9d441df0974a /boot/efi vfat rw,relatime,errors=remount-ro,nofail 0 2
    
    /var/log/ispconfig/httpd/kameleon.fr /var/www/clients/client1/web1/log    none    bind,nobootwait    0 0
    I don't know how to adapt…
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You've better used one of the official install guides, the perfect server guides, that I suggested. Then you could have used Debian 10 as well.

    Change the line:
    Code:
    PARTUUID=1754ad46-9ee7-4e7e-a240-20a9dc85ef62 / ext4 rw,relatime 0 1
    
    to:

    Code:
    PARTUUID=1754ad46-9ee7-4e7e-a240-20a9dc85ef62 / ext4 rw,relatime,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0
    0 1
     
  8. kameleon1er

    kameleon1er Member

    Yes, that what I did it : https://www.howtoforge.com/tutorial...9-stretch-apache-bind-dovecot-ispconfig-3-1/2

    Thanks for the explanation

     

Share This Page