[Kde-pim] INSERT INTO CollectionTable ... Duplicate entry

Eduardo Robles Elvira edulix at gmail.com
Sun Jul 26 18:51:30 BST 2009


On Sun, Jul 26, 2009 at 1:52 PM, Eduardo Robles Elvira<edulix at gmail.com> wrote:
> 2009/7/24 Volker Krause <vkrause at kde.org>:
>> Hi,
>>
>> On Thursday 23 July 2009 21:12:59 Eduardo Robles Elvira wrote:
>>> I don't why but suddently  I'm having some problems with my konqueror
>>> bookmarks resource. The problem:
>>>
>>> [akonadiserver] Error during executing query "INSERT INTO
>>> CollectionTable (remoteId, name, resourceId, cachePolicyInherit)
>>> VALUES (:0, :1, :2, :3)" :  "Duplicate entry '0-Konqueror Bookmarks'
>>> for key 2 QMYSQL3: Unable to execute statement"
>>> [akonadiserver] Error during insertion into table "CollectionTable"
>>> "Duplicate entry '0-Konqueror Bookmarks' for key 2 QMYSQL3: Unable to
>>> execute statement"
>>
>> did you update your Akonadi server recently? There was a temporary bug in the
>> database upgrade code that caused such problems. This has been fixed now, so
>> to get your database back into working order you need to do the following:
>>
>> (1) update to the latest Akonadi server version
>> (2) in akonadiconsole, db browser tab, select the schemaversion table and
>> change the value to 12 there
>> (3) restart the server
>>
>> regards
>> Volker
>
> Yes, I updated Akonadi server recently. I've resynced with kde trunk,
> recompiled everything, and I've checked my schemaversion which is 13.
> I tried to do what you said but didn't seem to work. Any other idea?

As suggested by krake, I've stopped the server, then removed the
database and restarted the server (because when calling to akonadictl
start it always says to me that it's already running even if it's
not). Now the problem is sorta solved. When I add a new akonadi
resource, the resource's main collection doesn't get added an I get
this kind of error:

 akonadiconsole(22203)/libakonadi
Akonadi::MonitorPrivate::slotCollectionJobFinished: Error on fetching
collection: "Collection 4463370416 does not exist"

But if after adding it I restart akonadi server, it works fine.

Cheers
      Eduardo Robles Elvira.
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list