Ad Widget

Collapse

Upgrade Zabbix Server Database upgrade failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rwelle
    Junior Member
    • Mar 2021
    • 8

    #16
    Originally posted by Markku

    Great, curious: what does your dbversion say now?

    Markku
    zabbix_server (Zabbix) 6.2.0
    Revision db780895726 4 July 2022, compilation time: Jul 4 2022 07:16:54


    select * from dbversion;
    +-------------+-----------+----------+
    | dbversionid | mandatory | optional |
    +-------------+-----------+----------+
    | 1 | 6020000 | 6020000 |
    +-------------+-----------+----------+
    1 row in set (0.00 sec)

    Comment

    • derli1988
      Member
      • Apr 2021
      • 60

      #17

      Here's how I fixed the issue

      I've added these 3 lines into MySQL initiation file

      Code:
      disable_log_bin
      log_bin_trust_function_creators=1
      skip-log-bin
      I then restart mysql, and then zabbix-proxy

      Comment

      • GunnerHook
        Junior Member
        • Jun 2022
        • 6

        #18
        Originally posted by rwelle
        I think I got it working now... I ran SET GLOBAL log_bin_trust_function_creators = 1; at the MySQL server
        I think I love you. I just ran into this same thing on Ubuntu 22.04.1 LTS after running for a long time with no issues. I updated yesterday and everything died. It's working now. WOOHOOOOO!

        Comment

        • Vitaly Tokarenko
          Junior Member
          • Nov 2022
          • 25

          #19
          May this will help you.

          Comment

          • tonytlc
            Junior Member
            • Sep 2023
            • 2

            #20
            Hi,
            I have similar problem but with update zabbix server from 6.0.21 to 6.4.1
            In my case I saw this on log file:

            330688:20230905:162643.140 current database version (mandatory/optional): 06000000/06000020
            330688:20230905:162643.143 starting automatic database upgrade
            330688:20230905:162643.146 completed 0% of database upgrade
            330688:20230905:162643.287 completed 1% of database upgrade
            330688:20230905:162643.801 completed 2% of database upgrade
            330688:20230905:162643.917 completed 3% of database upgrade
            330688:20230905:162644.049 completed 4% of database upgrade
            330688:20230905:162644.106 completed 5% of database upgrade
            330688:20230905:162644.180 completed 6% of database upgrade
            330688:20230905:162644.297 completed 7% of database upgrade
            330688:20230905:162644.392 completed 8% of database upgrade
            330688:20230905:162644.414 completed 9% of database upgrade
            330688:20230905:162644.421 completed 10% of database upgrade
            330688:20230905:162644.488 completed 11% of database upgrade
            330688:20230905:162644.589 completed 12% of database upgrade
            330688:20230905:162644.591 database upgrade failed on patch 06010035, exiting in 10 seconds
            330702:20230905:162704.814 current database version (mandatory/optional): 06010034/06010034
            330702:20230905:162704.816 starting automatic database upgrade
            330702:20230905:162704.817 database upgrade failed on patch 06010035, exiting in 10 seconds

            You have any idea for resolve this problem?
            I try all that I have read on this forum but my problem it's the same, thanks in advance.​

            Comment

            Working...