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

Another akonadi problem... invalid entry

Tags: None
(comma "," separated)
piedro
Registered Member
Posts
374
Karma
1
OS
Hello again!

Thinking that after all these years stuff shoudl work now, I used the kmail import assistant to import old mails
(around 30000) from a backup folder. These mails have all been used by kmail on another installation - they were just rsynced to a backup folder because I do not trust kmail with anything.

Now the import went reasonable well though I had some messages like "can't import message XY - somethinmg invalid"... so I guess that means those messages have NOT been imported, right?

Now after two days of letting all the indexers calm down I can read the emails in their import subfolders.
At least most of them... with many folders I get this:

"Unable to fetch item from backend (collection 8309) : Unable to retrieve item from resource: invalid entry "

Trying to open a mail that is affected gives me a system notification
"local folder: error reading folder, maildir "" is invalid" ????

which is a really helpful error message because it tells me what to do.

The hint from forums seems to be to reindex the folders. But there is no option anymore to do that.

These folders that have these problems can't be deleted or otherwise manipulated. Everytime this above message shows kmail stops showing the content of all other emails also. and the mail filter agent get's stuck.
Restart of akonadi server and kmail lets me read mail again but the whole thing starts again as soon as I touch one of the affected folders.

This is kmail 4.14.5 on ARCH linux.

Please help,
p.
piedro
Registered Member
Posts
374
Karma
1
OS
So it seems nobody has an idea?

Unable to fetch item from backend (collection 8260) : Unable to retrieve item from resource


Could somebody give me advice on how to find the exact culprit with a message like this?
What ist "the item from backend (collection 8260)"? How to understand and act on a message like this?

thx, piedro
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Can you check the configuration of your resources? It looks one of them is pointing to a non existent folder.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
piedro
Registered Member
Posts
374
Karma
1
OS
This happens within a the "local folder" ressource which works fine.

The affected entries are within subfolders in the local folder ".local/share/local-mail".
these subfolders have not been created by me. They have been created by the mail importer of kmail.

The folders are subfolders of "Local folders/Kmail-Import"

thx for having a look into this,
piedro

Since noone answered here yet I created a bug report:
https://bugs.kde.org/show_bug.cgi?id=344163
piedro
Registered Member
Posts
374
Karma
1
OS
Also again:

All the mail that has been imported should be physically on my harddrive somewhere, right?

I imported around 30000 Mails from a Backup. Now these mails should be located within a subfolder of
.local/share/local-mail or
.loacl/share/.local-mail.directory

But of all the imported mails and folders only some folders show up here. Most mails are nowhere to be found on my harddrive which leads me to the same question again and again:

WHere is the physical location of the local mails that have been imported and why can I read and manipulate around 25000 mails in kmail but they do not show up on my harddrive. Is there a mail cache somewhere or what is this about?

Where is documentation on the way the mails are stored on my harddrive?

Which file holds the configuration details of the folder paths for all the mails in "Local folders"?

thx, piedro
piedro
Registered Member
Posts
374
Karma
1
OS
Let's try differently:

How do I find the physical path to a single email within kmails?
(In Amarok for example I can right click a song and get a "Open file location" - I am looking for something like that...)

Thx, piedro


Bookmarks



Who is online

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