Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19259

Zabbix upgrade 4.4 to 5.0LTS DB upgrade Failure

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 5.0.10
    • Server (S)
    • None

      Steps to reproduce:

      1. Following guide https://www.zabbix.com/documentation/5.0/manual/installation/upgrade/packages/rhel_centos
      2. Final step 7 in guide. Starting zabbix server run into this error in var/log

      8748:20210416:093634.712 Starting Zabbix Server. Zabbix 5.0.10 (revision 7c3f43904c).
      8748:20210416:093634.712 ****** Enabled features ******
      8748:20210416:093634.712 SNMP monitoring: YES
      8748:20210416:093634.712 IPMI monitoring: YES
      8748:20210416:093634.712 Web monitoring: YES
      8748:20210416:093634.712 VMware monitoring: YES
      8748:20210416:093634.712 SMTP authentication: YES
      8748:20210416:093634.712 ODBC: YES
      8748:20210416:093634.713 SSH support: YES
      8748:20210416:093634.713 IPv6 support: YES
      8748:20210416:093634.713 TLS support: YES
      8748:20210416:093634.713 ******************************
      8748:20210416:093634.713 using configuration file: /etc/zabbix/zabbix_server.conf
      8748:20210416:093634.719 current database version (mandatory/optional): 04050037/04050037
      8748:20210416:093634.719 required mandatory version: 05000000
      8748:20210416:093634.719 optional patches were found
      8748:20210416:093634.719 starting automatic database upgrade
      8748:20210416:093634.719 [Z3005] query failed: [1061] Duplicate key name 'auditlog_3' [create index auditlog_3 on auditlog (resourcetype,resourceid)]
      8748:20210416:093634.720 database upgrade failed

      Failure shown on webfront
      The Zabbix database version does not match current requirements. Your database version: 4050037. Required version: 4000000. Please contact your system administrator.

            atocko Andrey Tocko
            v-fodani Dan Fosmire
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: