Akonadi weirdness

From time to time this error message pops up in the terminal:

The hash has changed.
15 -> QFlags(0x2) 0
org.kde.pim.akonadiplugin_indexer: unknown term  ""
org.kde.pim.akonadiplugin_indexer: unknown term  ""

It’s not life-threatening for me as I only use Korganizer, and I’ve seen no problems with it. I use Kalarm and it’s working OK.

What’s up with that message?

The first things you can do are


akonadictl fsck
akonadictl vacuum
akonadictl restart

and look at the output.

I did the vacuum, which didn’t turn up anything:

vacuuming database, that'll take some time and require a lot of temporary disk space...
optimizing table SchemaVersionTable...
optimizing table ResourceTable...
optimizing table CollectionTable...
optimizing table MimeTypeTable...
optimizing table PimItemTable...
optimizing table FlagTable...
optimizing table PartTypeTable...
optimizing table PartTable...
optimizing table CollectionAttributeTable...
optimizing table TagTypeTable...
optimizing table TagTable...
optimizing table TagAttributeTable...
optimizing table TagRemoteIdResourceRelationTable...
optimizing table RelationTypeTable...
optimizing table RelationTable...
optimizing table PimItemFlagRelation...
optimizing table PimItemTagRelation...
optimizing table CollectionMimeTypeRelation...
optimizing table CollectionPimItemRelation...
vacuum done

When I run the fsck, I get:

Looking for resources in the DB not matching a configured resource...
Looking for collections not belonging to a valid resource...
Checking collection tree consistency...
Looking for items not belonging to a valid collection...
Looking for item parts not belonging to a valid item...
Looking for item flags not belonging to a valid item...
Looking for overlapping external parts...
Verifying external parts...
Found 0 external files.
Found 0 external parts.
Found no unreferenced external files.
Checking size treshold changes...
Found 0 parts to be moved to external files
Found 0 parts to be moved to database
Looking for dirty objects...
Collection "Search" (id: 1) has no RID.
Collection "OpenInvitations" (id: 4) has no RID.
Collection "DeclinedInvitations" (id: 14) has no RID.
Found 3 collections without RID.
Found 0 items without RID.
Found 0 dirty items.
Looking for rid-duplicates not matching the content mime-type of the parent collection
Checking Active Alarms
Checking Active Alarms
Checking Alarm Templates
Checking Archived Alarms
Checking Local Folders
Checking Notes
Checking Search
Checking akonadi_ical_resource_0
Checking DeclinedInvitations
Checking OpenInvitations
Checking drafts
Checking inbox
Checking outbox
Checking sent-mail
Checking templates
Checking trash
Migrating parts to new cache hierarchy...
Checking search index consistency...
Skipping virtual Collection 1
Checking Collection 2 search index...
org.kde.pim.akonadiplugin_indexer: unknown term  ""
Checking Collection 3 search index...
org.kde.pim.akonadiplugin_indexer: unknown term  ""
Skipping virtual Collection 4
Checking Collection 5 search index...
org.kde.pim.akonadiplugin_indexer: unknown term  ""
Checking Collection 6 search index...
org.kde.pim.akonadiplugin_indexer: unknown term  ""
Checking Collection 7 search index...
org.kde.pim.akonadiplugin_indexer: unknown term  ""
Checking Collection 8 search index...
org.kde.pim.akonadiplugin_indexer: unknown term  ""
Checking Collection 9 search index...
org.kde.pim.akonadiplugin_indexer: unknown term  ""
Checking Collection 10 search index...
org.kde.pim.akonadiplugin_indexer: unknown term  ""
Checking Collection 11 search index...
Checking Collection 12 search index...
Checking Collection 13 search index...
Skipping virtual Collection 14
Checking Collection 15 search index...
Checking Collection 16 search index...
org.kde.pim.akonadiplugin_indexer: unknown term  ""
Flushing collection statistics memory cache...
Consistency check done.

As you can see, this

org.kde.pim.akonadiplugin_indexer: unknown term  ""

recurs. It seems there’s something amiss in org.kde.pim.akonadiplugin_indexer.

When I ran the restart, I got:

plato:~$ akonadictl restart
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_followupreminder_agent' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_newmailnotifier_agent' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_kalarm_resource' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_migration_agent' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_googlecalendar_resource' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_akonotes_resource' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_ical_resource' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_contacts_resource' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_kalarm_resource' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_archivemail_agent' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_indexing_agent' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_sendlater_agent' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_mailfilter_agent' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_kalarm_resource' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_kalarm_resource' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_googlecalendar_resource' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_maildispatcher_agent' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_kalarm_resource' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_notes_agent' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_kalarm_resource' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_maildir_resource' exited normally...
chainup()
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
plato:~$ akonadi.collectionattributetable                   OK
akonadi.collectionmimetyperelation                 OK
akonadi.collectionpimitemrelation                  OK
akonadi.collectiontable                            OK
akonadi.flagtable                                  OK
akonadi.mimetypetable                              OK
akonadi.parttable                                  OK
akonadi.parttypetable                              OK
akonadi.pimitemflagrelation                        OK
akonadi.pimitemtable                               OK
akonadi.pimitemtagrelation                         OK
akonadi.relationtable                              OK
akonadi.relationtypetable                          OK
akonadi.resourcetable                              OK
akonadi.schemaversiontable                         OK
akonadi.tagattributetable                          OK
akonadi.tagremoteidresourcerelationtable           OK
akonadi.tagtable                                   OK
akonadi.tagtypetable                               OK
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default.
Failed to open wallet
false
Failed to open wallet
false
QDBusConnection: name 'org.freedesktop.Akonadi.Control' had owner '' but we thought it was ':1.1353'
org.kde.pim.kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default.
org.kde.pim.kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default.

I have Kwallet disabled. (I find it a pain in neck.)

I’m wondering if I should remove and reinstall akonadi. I’m loathe to do that, though. As I said, it doesn’t seem to be causing me any functional problems. It’s just offending my aesthetic sense.

You could try this ( make a backup first ):


akonadiconsole

Next, click Browser, right click your account and pick ‘Clear Akonadi Cache’. After doing so, restart akonadi.

OK, I’ll give that a try. Thanks for the response.