Automatic installation error [SOLVED]

Discussion in 'Installation/Configuration' started by jjsjjs, Nov 24, 2021.

  1. jjsjjs

    jjsjjs Member

    Hi,
    I changed VPS as I was not happy at the previous one, the fun already starts.

    I'm trying the automatic install on Ubuntu 20.04 clean server https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/ and where the help should be displayed for the options I get this:

    Code:
    root@vmi725717:~# wget -O - https://get.ispconfig.org | sh -s -- --help
    --2021-11-24 13:33:17--  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: 2004 (2.0K) [application/octet-stream]
    Saving to: ‘STDOUT’
    
    -                   100%[===================>]   1.96K  --.-KB/s    in 0s
    
    2021-11-24 13:33:17 (49.1 MB/s) - written to stdout [2004/2004]
    
    PHP Fatal error:  Uncaught Error: Call to undefined function mb_strlen() in /tmp/ispconfig-ai/lib/class.ISPConfigLog.inc.php:74
    Stack trace:
    #0 /tmp/ispconfig-ai/lib/class.ISPConfig.inc.php(309): ISPConfigLog::print()
    #1 /tmp/ispconfig-ai/lib/class.ISPConfig.inc.php(337): ISPConfig::printHelp()
    #2 /tmp/ispconfig-ai/ispconfig.ai.php(13): ISPConfig::run()
    #3 {main}
      thrown in /tmp/ispconfig-ai/lib/class.ISPConfigLog.inc.php on line 74
    
    If this is due to the server then I can of course let it reinstall the image.
    Or is this due to something else.
    If not I can try to perform the manual installation.

    Thanks!
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    My guess is the Ubuntu on that host is not what is required for ISPConfig auto installer. Maybe php-mbstring is not installed?
    The autoinstaller documentation states:
    If that is not the case, the autoinstaller fails. If the Ubuntu is an image provided by your VPS, who knows how it is setup?
    Try installing Ubuntu yourself following Howtoforge instructions: https://www.howtoforge.com/tutorial/ubuntu-lts-minimal-server/ That link is from the beginning of https://www.howtoforge.com/tutorial...l-pureftpd-bind-postfix-doveot-and-ispconfig/
     
  3. jjsjjs

    jjsjjs Member

    Correct, there is nothing installed. It's fresh and empty.
    I think it's not possible on that VPS to install Ubuntu on your own, it was pre-selected at order.
    So I will try the manual installer and see what adventure it brings.
     
  4. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    It seems the image already contains PHP-cli but without mbstring module. The installer would detect a missing php and install it together with mbstring module, but if it is already there and only has missing modules, this won't be detected.
     
  5. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Either install php-mbstring, php-curl or remove php completely, then run the autoinstaller again. This should be enough.
     
    jjsjjs likes this.
  6. jjsjjs

    jjsjjs Member

    ok thanks, I will check it.

    ***edit***
    Installed them. The help now works. :D
     
  7. jjsjjs

    jjsjjs Member

    Ok so far so good. It is installed. During the install I got these warnings/errors, can I ignore them?
    I did not choose to install clamav, default is Rspamd.
    Before I log in to ISconfig.

    Code:
    [INFO] Stopping Rspamd.
    [INFO] (Re)starting Bind.
    [INFO] Disabling spamassassin daemon.
    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!
    [INFO] Checking local dns resolver.
    
    Thanks!
     
  8. jjsjjs

    jjsjjs Member

    Ok, how is this possible???
    Everything works at once !!!:)
    Thanks very very much!
     
  9. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Can be ignored indeed.

    That's intended ;)
     
    jjsjjs likes this.
  10. jjsjjs

    jjsjjs Member

    Thanks for confirming Th0m.
    Awesome! :cool:
     

Share This Page