Dashboard stopped updating (ver 3.1.13p1)

Discussion in 'Installation/Configuration' started by Navman, Mar 13, 2019.

  1. Navman

    Navman New Member

    Hi Guys,

    I tried to run the htf-common-issues.php:
    Code:
    wget -q -O htf-common-issues.php "http://gitplace.net/pixcept/ispconfig-tools/raw/stable/htf-common-issues.php" && php -q htf-common-issues.php
    PHP Fatal error:  Uncaught Error: Call to undefined function mysqli_connect() in /tmp/htf-common-issues.php:184
    Stack trace:
    #0 {main}
      thrown in /tmp/htf-common-issues.php on line 184
    My original issue was that my dashboard is not updating, jobqueue has halted and logs seems to have stopped nearly a week ago.
    During my troubleshooting running /usr/local/ispconfig/server/server.sh:

    Code:
    13.03.2019-04:46 - WARNING - There is already a lockfile set, but no process running with this pid (4902). Continuing.
    PHP Fatal error:  Uncaught Error: Call to undefined function mysqli_init() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:78
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/app.inc.php(46): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(208): app->__construct()
    #2 /usr/local/ispconfig/server/server.php(51): require('/usr/local/ispc...')
    #3 {main}
      thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
    PHP Fatal error:  Uncaught Error: Call to undefined function mysqli_init() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:78
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/app.inc.php(46): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(208): app->__construct()
    #2 /usr/local/ispconfig/security/check.php(32): require('/usr/local/ispc...')
    #3 {main}
      thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
    Both have mysql errors - i can connect to MariaDB via MySQL workbench and query tables but ispconfig seems to have lost something?

    Thank you in advanced.
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    apt-get install php-mysqli ?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    As Florian suggested, the PHP on your server lacks MySQL support. My guess is that you installed some other PHP versions and maybe switched to a wrong default version which has no PHP installed?
     
  4. Navman

    Navman New Member

    Thank you!
    php7.2 was installed and up to date, so i installed 7.3:
    Code:
    apt-get install php7.3-mysql
    systemctl reboot -i 
    and everything started to work again.
     

Share This Page