Ad Widget

Collapse

Upgrade problems 2.4 to 3.2.6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mdwyer
    Junior Member
    • May 2017
    • 2

    #1

    Upgrade problems 2.4 to 3.2.6

    I upgraded today and can't get the dashboard to display. I get this error message:

    Configuration file error

    DB type "MYSQL" is not supported by current setup. Possible values .

    In my apache log file, I have an access error referring to dashboard.php. This PHP file is not in the installation directory.

    Does anyone know what is wrong with my setup? Did I miss a configuration change in the upgrade, or what is causing the reference to the missing file? I do not see any code that references dashboard.php anywhere in the installation or the configuration.

    Thanks in advance if you can help!
  • ovas
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Apr 2017
    • 138

    #2
    Hello mdwyer!

    What is the PHP version? php -v
    Are the PHP MySQL extentions installed? php -r "phpinfo();" 2>/dev/null | egrep -i ^mysql | grep Support
    Didn't Apache also update from 2.2 to 2.4? apachectl -v
    If Apache did update, has the virtualhost configuration file also updated?
    Is Zabbix server running by itself? Does it have any errors in the log file?
    If you go to https://<zabbix address>/zabbix/setup.php and navigate through the installation steps without finalizing the installation, does every check succeed?

    Comment

    • Zaniwoop
      Senior Member
      • Jan 2010
      • 232

      #3
      What OS are you running it on?

      I was running version Zabbix 2.4 on Centos 6 and I could not get version 3.x to work, as the highest versions of MySQL and PHP that Centos 6 supports did not meet the minimum requirements.

      I setup a Centos 7 server and migrated the database across (to MariaDB) and the upgrade to 3.2 worked seamlessly.

      It did require 12+ hours downtime, as my database has 1.5 billion rows in it.

      Comment

      • mdwyer
        Junior Member
        • May 2017
        • 2

        #4
        This is running on Red Hat 6. I'm unable to load the setup.php page as I still get the same error:

        Configuration file error
        DB type "MYSQL" is not supported by current setup. Possible values .

        The PHP version loaded by apache is 5.6. This is not the same as the default installed on the server, but the apache service runs in a Virtual Host.

        The procedure did involve upgrading Apache to 2.4 from 2.2. The only significant error in the log is this:

        "script '/usr/share/zabbix/dashboard.php' not found or unable to stat, referer: https://lookout.sdsc.edu/dashboard.php."

        This error occurs frequently in the log, apparently regardless of whether the page has been requested by a browser.

        Comment

        Working...