Page tree
Skip to end of metadata
Go to start of metadata

  1. Open a MySQL console

  2. Run the following command:

    mysql> SELECT MAX(id) from names;

    If the printed result is 31485 or higher you will have to clean the database using the kopano-dbadm utility.

  3. Next, run the second command:

    mysql> select namestring, count(*) as c from names group by guid,nameid,namestring having c>=2;

    This checks the table for duplicates, printing any it finds.
    If this returns anything you have duplicate entries in your "names" table that can be cleaned by kopano-dbadm utility.

  4. If the table contains less than 31485 entries and no duplicates, you can upgrade to 8.5.7 without running into the K-1216 error.