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

kmail can't search

Tags: None
(comma "," separated)
Star_Gazer
Registered Member
Posts
14
Karma
0
OS

Re:

Sun Nov 03, 2013 11:55 pm
juantxorena wrote:
einar wrote:Those are related to indexing and I doubt they matter. Check your running processes: you should have several instances of "nepomukservicestub". For the system to be properly functional, you need to have:

- nepomukservicestub nepomukstorage [basic functionality]
- nepomukservicestub filewatch [only if you use indexing]
- nepomuksetvicestub queryservice [or something like this: I'm not using 4.10 at the moment and I'm going from memory]


ps axu shows these processes:
Code: Select all
/usr/bin/nepomukcontroller -session 10112153dbe2000136639756700000023900010_1367699067_882884
/usr/bin/nepomukserver
/usr/bin/nepomukservicestub nepomukstorage
/usr/bin/nepomukservicestub nepomukfilewatch
/usr/bin/nepomukservicestub nepomukfileindexer
/usr/bin/akonadi_nepomuk_feeder --identifier akonadi_nepomuk_feeder

The last one catches my eye, is related to the akonadi component that is failing but is different than the rest of them. I'll keep investigating.


I've been trying to get to the bottom of this Kmail Search (by pressing the Key "S") for a long time, as I was getting the same error dialog as you and others. Anyway, after as I was about to give up the Ghost on KMail,, I decided to try your readings above,
/usr/bin/nepomukservicestub nepomukstorage
/usr/bin/nepomukservicestub nepomukfilewatch
/usr/bin/nepomukservicestub nepomukfileindexer
running each one of the 3 individually in KRunner (Alt-F2), and lo and behold, the Search feature NOW, for the first day, WORKS!

Now, the question is, how do I get that command (3 times) with each parameter to start up when the computer starts up and I log in ... I realize I can do each of the 3 individually, if need to be, but now I'm searching for a way to have those 3 commands automatically be executed each time I log in.
Star_Gazer
Registered Member
Posts
14
Karma
0
OS

Re: kmail can't search

Mon Nov 04, 2013 12:47 am
Okay, I see there is a file in the "/etc/kde4/share/config" directory called "nepomukserverrc":
Code: Select all
[Basic Settings]
Configured repositories=main
Start Nepomuk=true

[Service-nepomukstrigiservice]
autostart=true

[Service-nepomukfileindexer]
autostart=true

[main Settings]
Used Soprano Backend=virtuosobackend
rebuilt index for type indexing=true


I changed the "autostart" items in the "Service-nepomukstrigservice" (whatever that is) and "Service-nepomukfileindexer" sections from false to true, so I'll see if the proper services start up next time I log in (which is rare, and usually takes a power failure :) ) enable KMail's Search Feature to work without any errors.
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: kmail can't search

Mon Nov 04, 2013 7:12 pm
Star_Gazer wrote:I changed the "autostart" items in the "Service-nepomukstrigservice" (whatever that is) and "Service-nepomukfileindexer" sections from false to true, so I'll see if the proper services start up next time I log in (which is rare, and usually takes a power failure :) ) enable KMail's Search Feature to work without any errors.

You also should be able to enable/disable those in "Configure Desktop" (aka systemsettings)->"Desktop Search".
Star_Gazer
Registered Member
Posts
14
Karma
0
OS

Re: kmail can't search

Mon Nov 04, 2013 8:19 pm
wolfi323 wrote:
Star_Gazer wrote:I changed the "autostart" items in the "Service-nepomukstrigservice" (whatever that is) and "Service-nepomukfileindexer" sections from false to true, so I'll see if the proper services start up next time I log in (which is rare, and usually takes a power failure :) ) enable KMail's Search Feature to work without any errors.

You also should be able to enable/disable those in "Configure Desktop" (aka systemsettings)->"Desktop Search".


Thanks for mentioning that; I had remembered later I forgot to reference that; it doesn't seem to change the autostart settings in the nepomukserverrc file on my end.
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: kmail can't search

Mon Nov 04, 2013 8:29 pm
Star_Gazer wrote:
wolfi323 wrote:
Star_Gazer wrote:I changed the "autostart" items in the "Service-nepomukstrigservice" (whatever that is) and "Service-nepomukfileindexer" sections from false to true, so I'll see if the proper services start up next time I log in (which is rare, and usually takes a power failure :) ) enable KMail's Search Feature to work without any errors.

You also should be able to enable/disable those in "Configure Desktop" (aka systemsettings)->"Desktop Search".


Thanks for mentioning that; I had remembered later I forgot to reference that; it doesn't seem to change the autostart settings in the nepomukserverrc file on my end.

Well, it does here. Except for the Mail indexer of course which has its "Enabled" setting in akonadi_nepomuk_feederrc.

Btw, you can remove that section for Service-nepomukstrigservice, strigi is not used anymore. That's most likely a left-over from earlier versions.
Up to 4.9.5 nepumuk used strigi as file indexer, starting with 4.10 nepomuk has its own.
Star_Gazer
Registered Member
Posts
14
Karma
0
OS

Re: kmail can't search

Mon Nov 04, 2013 9:57 pm
wolfi323 wrote:Btw, you can remove that section for Service-nepomukstrigservice, strigi is not used anymore. That's most likely a left-over from earlier versions.
Up to 4.9.5 nepumuk used strigi as file indexer, starting with 4.10 nepomuk has its own.

Thanks for the tip; I'll remove the section. Unfortunately, while what I done has done with the error dialog in KMail when press the "S" key, and the Search Dialog does indeed come up to set the search criteria(s), that does not seem to 'really' work; I don't understand, I did set nepomuk to index the
~/.local/share/.local-mail.directory
and
~/.local/share/akonadi
directories.
But that did not help either -- I've about the give up to ghost on KMail again.

Last edited by Star_Gazer on Mon Nov 04, 2013 10:51 pm, edited 1 time in total.
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: kmail can't search

Mon Nov 04, 2013 10:28 pm
Star_Gazer wrote:
wolfi323 wrote:Btw, you can remove that section for Service-nepomukstrigservice, strigi is not used anymore. That's most likely a left-over from earlier versions.
Up to 4.9.5 nepumuk used strigi as file indexer, starting with 4.10 nepomuk has its own.

I don't understand, I did set nepomuk to index the
~/.local/share/.local-mail.directory
and
~/.local/share/akonadi
directories.

This doesn't help. The mail must be indexed by the akonadi_nepomuk_feeder, not the file indexer.

Check in KMail's folder properties if indexing is enabled for all your mail folders (right-click on a folder, select "Folder Properties" and switch to the "Maintenance" tab; you can also force them to be reindexed there).
And maybe check in "akonadiconsole" if the akonadi_nepomuk_feeder is indeed "online".
Star_Gazer
Registered Member
Posts
14
Karma
0
OS

Re: kmail can't search

Mon Nov 04, 2013 11:04 pm
wolfi323 wrote:This doesn't help. The mail must be indexed by the akonadi_nepomuk_feeder, not the file indexer.

Check in KMail's folder properties if indexing is enabled for all your mail folders (right-click on a folder, select "Folder Properties" and switch to the "Maintenance" tab; you can also force them to be reindexed there).
And maybe check in "akonadiconsole" if the akonadi_nepomuk_feeder is indeed "online".

I checked the Maintenance Tab on the Folder Properties in KMail for some folders, and it varies, some say it was indexed today, indexed yesterday, or "still not indexed".
On the issue to the akonadi_nepomuk_feeder in "akonadiconsole", it says (as usual), Status: Offline, (it then said "Broken" when I started this post, but now it says "Running (0%)" -- I did click on the "Force Reindexing" on some KMail Folders just now); ... the "Status Message" says "Indexing collection 'Forums'" (which is a folder in KMail), so apparently we've got further in getting this situation resolved.
Thanks.
Star_Gazer
Registered Member
Posts
14
Karma
0
OS

Re: kmail can't search

Tue Nov 05, 2013 12:09 am
How do I get the Akonadi Nepomuk Feeder's Status from "Offline, Running (0%)" to "Online, ..." ?

EDIT: Okay, I got it going.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: kmail can't search

Sun Nov 10, 2013 4:53 pm
Run "akonadiconsole", right click on "Akonadi Nepomuk Feeder Agent" and select "Toggle offline / online".


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python


Bookmarks



Who is online

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