Ad Widget

Collapse

Current database version (mandatory/optional): . Required mandatory version:

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cdslaughter
    Member
    • Jun 2018
    • 69

    #1

    Current database version (mandatory/optional): . Required mandatory version:

    This is more of an informational post rather than a request fro help. I did a search for the error and did not see it nor have I found anything that specifically explains how the Database is upgraded from one version of zabbix to the next.
    I am hoping that if someone else with this issue or one similar does the same forum search I did, they will run across this post.

    I was setting up a new instance of Zabbix 4.0 in a test environment. I have a 3.4 instance running and have made a copy of that DB to test the upgrade process. having just installed the zabbix server and frontend packages, I checked to see if the zabbix-server process was running (It wasn't). I update the /etc/zabbix/zabbix-server.conf with the new database user and host IP (Pointing this instance to the copy I made earlier of the prod DB) I then look for the /etc/zabbix/web/zabbix.conf.php file to update it with the correct config and find it is missing. I then open a browser and go to the new zabbix instance's IP and start the setup process.
    Step 1 works without issue, but step 2 returns the following error when I enter all the DB info

    Code:
    [URL="javascript:void(0)"]Details [/URL]Cannot connect to the database.[LIST][*]The frontend does not match Zabbix database. Current database version (mandatory/optional): 3040000/3040007. Required mandatory version: 3050162. Contact your system administrator.[/LIST]
    This was solved by just starting the zabbix-server service and letting that service automatically update the database to the new version.


    Carl
Working...