[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KDEPIM ready to be more broadly tested



Am Dienstag, 26. Juli 2016, 17:06:37 CEST schrieb Tim Ruehsen:
> On Tuesday, July 26, 2016 4:51:14 PM CEST Tim Ruehsen wrote:
> > On Tuesday, July 26, 2016 12:09:24 AM CEST Martin Steigerwald wrote:
> > > Hi Tim,
> > > 
> > > Am Montag, 25. Juli 2016, 22:10:36 CEST schrieb Tim Rühsen:
> > > > On Montag, 25. Juli 2016 17:24:45 CEST Sandro Knauß wrote:
> > > > > > It shows up with green Button and "Ready".
> > > > > 
> > > > > did you tried to restart akonadi? akonadictl restart? Because only
> > > > > with
> > > > > that akonadi will recognize new agents etc.
> > > > 
> > > > I even rebooted without effect.
> > > > And I see absolutely the same issues at a different (much newer) Sid
> > > > installation. Find Messages just doesn't work. The *akonadisearch*
> > > > packets
> > > > were also missing - I manually installed here as well.
> > > 
> > > I think you need to tweak this one:
> > > 
> > > martin@merkaba:~/.config> cat baloorc
> > > [Akonadi]
> > > aborted=false
> > > agentIndexingVersion=4
> > > dirtyCollections=
> > > initialIndexingDone=true
> > > 
> > > I´d even just remove it, so it redos the initial indexing, cause if it
> > > has
> > > "initialIndexingDone=true" in it, it won´t index the whole collections
> > > anymore. I bet it may have this in it from KDE SC 4 times… after
> > > migration
> > > of configuration, but I am not sure.
> > > 
> > > It stores the index data it stores in ~/.local/share/akonadi/search_db –
> > > this directory totals to 2 GiB on my system. In case that Xapian
> > > database
> > > is corrupted somehow, it may crash. So for a clean start, it may make
> > > sense
> > > to remove that directory as well.
> > 
> > I removed package 'baloo-utils', stopped KMail, stopped akonadi, removed
> > ~/.config/baloorc and removed ~/.local/share/akonadi/search_db. Than I
> > rebooted.
> > 
> > After reboot I started KMail and waited a few minutes... than
> > 
> > $ cat ~/.config/baloorc
> > [Akonadi]
> > agentIndexingVersion=4
> > dirtyCollections=
> > initialIndexingDone=true
> > 
> > $ l ~/.local/share/akonadi/search_db
> > total 32
> > drwxr-xr-x 8 oms users 4096 26-07-16 16:38:48 .
> > drwxr-xr-x 8 oms users 4096 26-07-16 16:38:48 ..
> > drwxr-xr-x 2 oms users 4096 26-07-16 16:38:48 calendars
> > drwxr-xr-x 2 oms users 4096 26-07-16 16:40:00 collections
> > drwxr-xr-x 2 oms users 4096 26-07-16 16:38:48 contacts
> > drwxr-xr-x 2 oms users 4096 26-07-16 16:41:40 email
> > drwxr-xr-x 2 oms users 4096 26-07-16 16:41:40 emailContacts
> > drwxr-xr-x 2 oms users 4096 26-07-16 16:38:48 notes
> > 
> > $ du ~/.local/share/akonadi/search_db
> > 20      /usr/oms/.local/share/akonadi/search_db/calendars
> > 20      /usr/oms/.local/share/akonadi/search_db/notes
> > 312     /usr/oms/.local/share/akonadi/search_db/email
> > 104     /usr/oms/.local/share/akonadi/search_db/emailContacts
> > 20      /usr/oms/.local/share/akonadi/search_db/contacts
> > 72      /usr/oms/.local/share/akonadi/search_db/collections
> > 552     /usr/oms/.local/share/akonadi/search_db
> > 
> > Tools/Find Messages in KMail still not working.
> > 
> > $ ps -ef|grep akonadi
> > oms       6056     1  0 16:38 ?        00:00:00 /usr/bin/akonadi_control
> > oms       6063  6056  0 16:38 ?        00:00:00 akonadiserver
> > oms       6067  6063  0 16:38 ?        00:00:01 /usr/sbin/mysqld
> > --defaults-file=/usr/oms/.local/share/akonadi/mysql.conf
> > --datadir=/usr/oms/.local/share/akonadi/db_data/
> > --socket=/tmp/akonadi-oms.hwHVDb/mysql.socket oms       6119  6056  0
> > 16:38
> > ?        00:00:00 /usr/bin/akonadi_akonotes_resource --identifier
> > akonadi_akonotes_resource_0 oms       6120  6056  0 16:38 ?       
> > 00:00:00
> > /usr/bin/akonadi_akonotes_resource --identifier
> > akonadi_akonotes_resource_1
> > oms       6121  6056  0 16:38 ?        00:00:00
> > /usr/bin/akonadi_archivemail_agent --identifier akonadi_archivemail_agent
> > oms       6122  6056  0 16:38 ?        00:00:00
> > /usr/bin/akonadi_contacts_resource --identifier
> > akonadi_contacts_resource_0
> > oms       6123  6056  0 16:38 ?        00:00:00
> > /usr/bin/akonadi_followupreminder_agent --identifier
> > akonadi_followupreminder_agent oms       6124  6056  0 16:38 ?
> > 00:00:00 /usr/bin/akonadi_ical_resource --identifier
> > akonadi_ical_resource_0 oms       6125  6056  0 16:38 ?        00:00:00
> > /usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_1 oms
> > 
> >   6128  6056  0 16:38 ?        00:00:00 /usr/bin/akonadi_ical_resource
> > 
> > --identifier akonadi_ical_resource_2 oms       6129  6056  0 16:38 ?
> > 00:00:00 /usr/bin/akonadi_imap_resource --identifier
> > akonadi_imap_resource_1 oms       6131  6056  0 16:38 ?        00:00:00
> > /usr/bin/akonadi_indexing_agent --identifier akonadi_indexing_agent oms
> > 
> >   6133  6056  0 16:38 ?        00:00:00 /usr/bin/akonadi_maildir_resource
> > 
> > --identifier akonadi_maildir_resource_1 oms       6137  6056  0 16:38 ?
> > 
> >    00:00:00 /usr/bin/akonadi_maildispatcher_agent --identifier
> > 
> > akonadi_maildispatcher_agent oms       6141  6056  0 16:38 ?
> > 00:00:00 /usr/bin/akonadi_mailfilter_agent --identifier
> > akonadi_mailfilter_agent oms       6143  6056  0 16:38 ?        00:00:00
> > /usr/bin/akonadi_migration_agent --identifier akonadi_migration_agent oms
> > 
> >     6145  6056  0 16:38 ?        00:00:00
> > 
> > /usr/bin/akonadi_mixedmaildir_resource --identifier
> > akonadi_mixedmaildir_resource_0 oms       6147  6056  0 16:38 ?
> > 00:00:00 /usr/bin/akonadi_newmailnotifier_agent --identifier
> > akonadi_newmailnotifier_agent oms       6148  6056  0 16:38 ?
> > 00:00:00 /usr/bin/akonadi_notes_agent --identifier akonadi_notes_agent oms
> > 
> >      6151  6056  0 16:38 ?        00:00:00 /usr/bin/akonadi_pop3_resource
> > 
> > --identifier akonadi_pop3_resource_0 oms       6156  6056  0 16:38 ?
> > 00:00:00 /usr/bin/akonadi_pop3_resource --identifier
> > akonadi_pop3_resource_2 oms       6159  6056  0 16:38 ?        00:00:00
> > /usr/bin/akonadi_pop3_resource --identifier akonadi_pop3_resource_3 oms
> > 
> >   6163  6056  0 16:38 ?        00:00:00 /usr/bin/akonadi_sendlater_agent
> > 
> > --identifier akonadi_sendlater_agent oms       6165  6056  0 16:38 ?
> > 00:00:00 /usr/bin/akonadi_vcard_resource --identifier
> > akonadi_vcard_resource_1 oms       6171  6056  0 16:38 ?        00:00:00
> > /usr/bin/akonadi_vcard_resource --identifier akonadi_vcard_resource_3
> > 
> > In akonadiconsole the "Akonadi Indexing Agent" is green and Ready.
> > 
> > *scratch*
> > Does anyone have an idea how to proceed ?
> 
> I just edited cat ~/.config/baloorc, setting " and
> restarted the indexer via akonadiconsole.
> 
> It displayed each of my email folders pretty short with a percentage, going
> up to just a few percent, then going to the next folder. This seems to be
> the percentage that I see in KMail in the folder properties (Maintenance
> tab shows e.g. 2220 total messages with 20 indexed.
> 
> There is no folder with all the messages indexed, just a few percent.
> 
> The whole indexing took like ~10s.
> 
> Now the question, why does the indexer skip most of the mails ?

Does this also happen when you remove ~/.local/share/akonadi/search_db? Move 
it out of the way and also have "initialIndexingDone=false" false set and then 
restart.

If that doesn´t work, I think I don´t have any idea anymore. Escept than to 
watch ~/.xsession-errors, with relevant stuff in kdebugdialog dialog enabled.

-- 
Martin


Reply to: