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.

    Code:
    [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:

    Code:
    [email protected]:~# ls /etc/php
    7.2
    [email protected]:~# cat /etc/issue
    Ubuntu 18.04.2 LTS \n \l
    
    [email protected]:~# cat /etc/os-release
    NAME="Ubuntu"
    VERSION="18.04.2 LTS (Bionic Beaver)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 18.04.2 LTS"
    VERSION_ID="18.04"
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    VERSION_CODENAME=bionic
    UBUNTU_CODENAME=bionic
     
  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.

    Code:
    [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        : 176.31.106.52
      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