This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Akonadi fails to find database folders...

Tags: None
(comma "," separated)
piedro
Registered Member
Posts
374
Karma
1
OS
When starting Kontact via konsole this happens:

Failed to open external payload: "~/.local/share/akonadi/file_db_data/16/10116_r2" "No such file or directory"

Kontact starts nevertheless. I get several lines like the above while starting.

Which I do not understand at all because I am using a system wide mysql (mariadb) server with akonadi.

Also kontact reliably segfaults when I resize the window. This is on the latest "stable" KDE on Arch.

So my questions are:
Why is akonadi looking for these folders and why aren't they there and what difference does it make?
Btw: any documentation somewhere?

How to avoid the segfaults on resizing (also the side panel is cut in half vertically and takes the normal space but the symbols for "mail" calendar" and so forth are only shown in half. This could be remedied in the past with a quick resize window followed by maximise windows - but now this procedure segfaults).
wolfi323
Registered Member
Posts
1129
Karma
11
OS
piedro wrote:So my questions are:
Why is akonadi looking for these folders and why aren't they there and what difference does it make?

Items over a certain size (4KiB by default) are not cached in the database itself, but in ~/.local/share/akonadi/file_db_data/ (for performance reasons).

You can run "akonadictl fsck" to fix the apparently corrupted cache.
piedro
Registered Member
Posts
374
Karma
1
OS
Thank you very much, there has been a lot cleanup after I've done the "akonadictl fsck"... so I guess this was an important step...

Now this message is about the rest of problems (?), it seems all the virtual folders for searching get reported here and two items are "dirty"...

What does this mean?
Is there documentation on these messages?
(Even "man akonadictl" gives no references...)

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 11 external files.
Found 11 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: 90) has no RID.
Collection "DeclinedInvitations" (id: 91) has no RID.
Collection "M" (id: 119) has no RID.
Collection "Support" (id: 120) has no RID.
Collection "RMW" (id: 122) has no RID.
Collection "Test" (id: 123) has no RID.
Found 7 collections without RID.
Item "9729" has no RID.
Item "11347" has no RID.
Item "11348" has no RID.
Item "11349" has no RID.
Item "11575" has no RID.
Item "11577" has no RID.
Item "11578" has no RID.
Item "29523" has no RID.
Found 8 items without RID.
Item "29671" has RID and is dirty.
Item "29686" has RID and is dirty.
Found 2 dirty items.
Migrating parts to new cache hierarchy...
Consistency check done.


thx for your help,
piedro
wolfi323
Registered Member
Posts
1129
Karma
11
OS
piedro wrote:Now this message is about the rest of problems (?)

You mean Kontact crashing when resizing the window and the icons only shown in half?
That's rather unrelated to Akonadi...

What does this mean?

I don't know.

Is there documentation on these messages?

Probably not.
This is debug output.

You can probably just ignore it, doesn't really look like it would be a problem.
piedro
Registered Member
Posts
374
Karma
1
OS
You mean Kontact crashing when resizing the window and the icons only shown in half?
That's rather unrelated to Akonadi...


No, that is a misunderstanding - I was writing about the problems mentioned in the debug output.
I get that Kontact crashing with segfaults is probably plasma or kwin related (as is the messed up display of symbols and window panels)...

Sad there is no reference to debug messages - seems not useful if noone can read them...

thx, piedro
wolfi323
Registered Member
Posts
1129
Karma
11
OS
piedro wrote:Sad there is no reference to debug messages - seems not useful if noone can read them...

Debug messages are only meant to be read by the developers.
A user shouldn't have to care about them.
piedro
Registered Member
Posts
374
Karma
1
OS
Come on! You cannot really believe that this is appropriate in this case...

A user shouldn't have to run "akonadictl fsck" also... a user shouldn't have to crawl through forums, bug reports and reddit to get things running properly... so if stuff doesn't work at least the error messages should be helpful!

Since akonadi has never worked flawlessly (without error messages) for the last 4 years the messages should be quite explicit and detailed by now...

But I suspect that this discussion does not lead to any solution, devs won't read it anyways... so I hope that you are right and the debug messages are meaningless.

thx for helping, p.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]