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

zabbix proxy should not create invalid database

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.3
    • Fix Version/s: None
    • Component/s: Installation (I), Proxy (P)
    • Labels:
      None

      Description

      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.
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: