Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    failuer when updating database from 8.6.81.0.78 to 8.6.81.0.102

    Kopano Groupware Core
    3
    13
    985
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tjoen
      tjoen last edited by

      Google on mysql and gns results in this
      https://forum.kopano.io/topic/1260/kopano-core-update-mysql-duplicated-entry

      Vogi 1 Reply Last reply Reply Quote 0
      • Vogi
        Vogi @tjoen last edited by

        @tjoen
        Thanks for the hint.
        I found the same google link and already ran

        kopano-dbadm k-1216
        

        This worked without failure. But afterwards the same error comes again.
        So it seems, that this is a different issue

        1 Reply Last reply Reply Quote 0
        • tjoen
          tjoen last edited by tjoen

          gns is a strange index: it is composed of guid and namestring
          Does select guid from names gives unique values? or are there double entries.
          If there are then you can do select namestring guid from names where guid is that-double-value
          (edited modified select namestring to select guid)

          1 Reply Last reply Reply Quote 0
          • jengelh
            jengelh Banned last edited by

            Can you provide the mysqldump of the names table and send it to development @ kopano.io (or a service ticket) please.

            mysqldump kopano names | xz >bla.xz
            
            1 Reply Last reply Reply Quote 0
            • Vogi
              Vogi last edited by

              I sent you the requested dump.
              Thanks for your help!

              1 Reply Last reply Reply Quote 0
              • tjoen
                tjoen last edited by

                I wonder if my guess is right: there are two guids with the same value.
                Solution would be to make guid unique index. Obsoleting gns and gni. Much simpler

                1 Reply Last reply Reply Quote 0
                • jengelh
                  jengelh Banned last edited by

                  The GUIDs are not meant to be unique, not in this case anyway.

                  1 Reply Last reply Reply Quote 0
                  • tjoen
                    tjoen last edited by tjoen

                    gns is meant to be unique. With two same namestrings with same GUIDs there is a problem. Same with gni

                    1 Reply Last reply Reply Quote 0
                    • jengelh
                      jengelh Banned last edited by

                      believed to be fixed with kopanocore-8.6.81-158-g352e88092

                      1 Reply Last reply Reply Quote 0
                      • Vogi
                        Vogi last edited by

                        Yes… I was able to start the kopano-server without any manual changes to the database
                        Thank you!

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post