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

zabbix proxy should not create invalid database

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.0.3
    • Installation (I), Proxy (P)
    • None

      if 'make dbschema' has been run for a different proxy version, a proxy that is compiled later just includes the schema & data, and creates a database it can't even work with.
      although including dbschema in the make deps might help here, it would still be preferred if the proxy compilation process would actually check the db version it needs, and the db version it will be creating.

       16160:20160523:100957.134 cannot open database file "/tmp/zabbix_proxy.db": [2] No such file or directory
       16160:20160523:100957.134 creating database ...
       16160:20160523:100957.687 The proxy does not match Zabbix database. Current database version (mandatory/optional): 02050071/02050071. Required mandatory version: 03000000.
       16160:20160523:100957.687 Zabbix does not support SQLite3 database upgrade.
      

            zabbix.dev Zabbix Development Team
            richlv richlv
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: