Ubuntu 18.04 detection failed

Discussion in 'Installation/Configuration' started by ServerOK, Feb 21, 2019.

  1. ServerOK

    ServerOK New Member

    On installing ISPConfig on Ubuntu 18.04.2, it failed with error php7.0-fpm missing. Ubuntu 18.02 use PHP 7.2, i tried git master, same error.

    [email protected]:~# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 18.04.2 LTS
    Release:        18.04
    Codename:       bionic
    [email protected]:~#
    Look like ISPConfig not detecting Ubuntu 18.04.2 properly.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Tested this on Ubuntu 18.04.2 here with the current stable version ISPConfig 3.1.13p1 and the OS is detected correctly as Ubuntu 18.04 with PHP version 7.2. What does the ISPConfig installer say as detected OS version when it starts?

    Maybe the /etc/os-release or /etc/issue file on your system are incorrect. The ones that ship with Ubuntu 18.04.2 are:

    [email protected]:~# ls /etc/php
    [email protected]:~# cat /etc/issue
    Ubuntu 18.04.2 LTS \n \l
    [email protected]:~# cat /etc/os-release
    VERSION="18.04.2 LTS (Bionic Beaver)"
    PRETTY_NAME="Ubuntu 18.04.2 LTS"
  3. ServerOK

    ServerOK New Member

    Thanks for checking. It was server from soyoustart.com, since it did not work, i reinstalled Debian 9. So don't have access to the server to check the file.

    It was detected as Ubuntu Unknown. I did some check when i faced problem, on install.lib.php, it was getting inside first if statment. On line 72, i was getting a big array, it ended up with $mainver = "Ubuntu".

    Look like something wrong with /etc/issue on that server.

    I just checked on another OVH server, this is Debain, but they do similar modificaton for all servers.

    [email protected]:~# cat /etc/issue
      Debian GNU/Linux 9 (stretch)
      Linux ns392586.ip-176-31-106.eu 4.9.159-xxxx-std-ipv6-64 #599550 SMP Thu Feb 21 08:31:23 UTC 2019 x86_64 GNU/Linux
      Server    : 362297
      IPv4        :
      IPv6        : 2001:41d0:8:1b34::
      Hostname    : ns392586.ip-176-31-106.eu
    [email protected]:~#
    It will be better use lsb_release -a or lsb_release --codename to find OS release on Debian/Ubuntu.
    Last edited: Feb 22, 2019

Share This Page