Automatic installation error [SOLVED]

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

  1. jjsjjs

    jjsjjs Member

    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 and where the help should be displayed for the options I get this:

    root@vmi725717:~# wget -O - | sh -s -- --help
    --2021-11-24 13:33:17--
    Resolving (,,, ...
    Connecting to (||: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/
    Stack trace:
    #0 /tmp/ispconfig-ai/lib/ ISPConfigLog::print()
    #1 /tmp/ispconfig-ai/lib/ ISPConfig::printHelp()
    #2 /tmp/ispconfig-ai/ ISPConfig::run()
    #3 {main}
      thrown in /tmp/ispconfig-ai/lib/ 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.

  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: That link is from the beginning of
  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.

    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.

    [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.
  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