ISPConfig not updating. Sits at and errors

Discussion in 'Installation/Configuration' started by Tanis007, Oct 25, 2022.

  1. Tanis007

    Tanis007 New Member

    Have been running happily for many years. Now an issue, I haven't seen before, and can't seem to find a resolution.
    Manually ran the file " /usr/local/ispconfig/server/server.sh" and the below error occurs.

    root@erp:/etc/php# /usr/local/ispconfig/server/server.sh
    25.10.2022-00:16 - WARNING - There is already a lockfile set, but no process running with this pid (11230). Continuing.
    PHP Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:83
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/app.inc.php(71): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(359): app->__construct()
    #2 /usr/local/ispconfig/server/server.php(51): require('...')
    #3 {main}
    thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 83
    PHP Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:83
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/app.inc.php(71): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(359): app->__construct()
    #2 /usr/local/ispconfig/security/check.php(32): require('...')
    #3 {main}
    thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 83


    Could someone please provide some insight, or advise where I hit it with a hammer to knock it back into gear....

    Cheers
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Please ensure your default php is correct before running the script.
     
  3. Tanis007

    Tanis007 New Member

    Thanks Ahrasis.
    I only have the one PHP installed.
    I got through the issue I was having, and am going to build up a clean server. This one started out as Ubuntu 14 LTS, and has been upgraded over time. So it's due. Just going to hold off till Ubuntu 22 LTS "how to" is done, and ISPConfig is in a stable version with PHP8.1.
    Cheers
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Yes. There is no ISPConfig stable version with php8.1 yet. It is almost ready though and dev test is just announced.

    Please show the out put of "php -v" from your terminal.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The PHP on your system lacks MySQL support, that's why you get that error about missing MySQL function. As @ahrasis suggested, you most likely switched the main PHP version of the OS to one without MySQL support. Please post the output of PHP -v as suggested.
     
  6. Tanis007

    Tanis007 New Member

    Thanks Till,
    I just checked it and it is saying 8.1.11,
    The system was saying no imagick support, so I looked it up, and applied the fix, and viola, now I have something that is giving me headaches.
    I have a complete new system built now, that is your AI on Ubuntu 20.04 LTS and are moving the sites over to it. Was time for an upgrade. I don't play with this very often anymore. I have changed industries/nightmares so my IT stuff suffers...

    A cushy government job is what I need, but I would hate myself there...

    Cheers
     
  7. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Do check ISPConfig migration tool.

    Extra note: There is free up to 5 personal servers extended Ubuntu 20.04 support up to 10 years but commercial servers are not supported. You also might as well wait for ISPConfig support for Ubuntu 22.04 which is coming soon instead of making the migration now.
     

Share This Page