Page 3 of 10 FirstFirst 12345 ... LastLast
Results 21 to 30 of 93

Thread: Kmail crashes on start

  1. #21
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    3,370

    Question Re: Kmail crashes on start

    Quote Originally Posted by seb234 View Post
    hmmm, all I have is:
    Then, Akonadi ain't running.
    • Akonadi auto-starts at login if, and only if, no Akonadi-enabled applications are launched at login.
    • For example, the Digital Clock Plasmoid will start Akonadi if, the display of Calendar (Kalender) events is enabled.


    Check the current status of Akonadi with “akonadictl status” and “akonadictl instances” – CLI help with (simply) “akonadictl”.

  2. #22

    Default Re: Kmail crashes on start

    Quote Originally Posted by dcurtisfra View Post
    Then, Akonadi ain't running.
    • Akonadi auto-starts at login if, and only if, no Akonadi-enabled applications are launched at login.
    • For example, the Digital Clock Plasmoid will start Akonadi if, the display of Calendar (Kalender) events is enabled.


    Check the current status of Akonadi with “akonadictl status” and “akonadictl instances” – CLI help with (simply) “akonadictl”.
    ooops, I hope I wasn't to fast here. I just started akonadi with
    Code:
    akonadictl start
    and then did a
    Code:
    delete from pimitemtable where remoteid is NULL;
    in Mysql console, wich deleted about 8000 entries. Kmail still crashes on start.


    Further info you requested:
    Code:
    user@linux-5ywc:/home/user> akonadictl status
    Akonadi Control: running
    Akonadi Server: running
    Akonadi Server Search Support: available (Remote Search, Akonadi Search Plugin)
    Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_facebook_resource, akonadi_followupreminder_agent, akonadi_googlecalendar_resource, akonadi_googlecontacts_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_invitations_agent, akonadi_kalarm_dir_resource, akonadi_kalarm_resource, akonadi_knut_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_tomboynotes_resource, akonadi_unifiedmailbox_agent, akonadi_vcard_resource, akonadi_vcarddir_resource
    and

    Code:
    user@linux-5ywc:/home/user> akonadictl instances
    (default) (running)

  3. #23
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    3,370

    Default Re: Kmail crashes on start

    @seb234:

    After cleaning the MySQL database, you must run “akonadictl fsck” and then, “akonadictl vacuum” and then, “akonadictl fsck” (again).

  4. #24

    Default Re: Kmail crashes on start

    Quote Originally Posted by dcurtisfra View Post
    @seb234:

    After cleaning the MySQL database, you must run “akonadictl fsck” and then, “akonadictl vacuum” and then, “akonadictl fsck” (again).
    okay, did so. result of last command here:
    Code:
    user@linux-5ywc:/run/user/1000> akonadictl fsck  
    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 3 external files.
    Found 3 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 "outbox" (id: 10) has no RID.
    Collection "sent-mail" (id: 11) has no RID.
    Collection "OpenInvitations" (id: 18) has no RID.
    Collection "DeclinedInvitations" (id: 19) has no RID.
    Found 5 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 Lokale Ordner
    Checking Persönliches Adressbuch
    Checking Search
    Checking akonadi_ical_resource_0
    Checking DeclinedInvitations
    Checking OpenInvitations
    Checking drafts
    Checking inbox
    Checking outbox
    Checking sent-mail
    Checking templates
    Checking trash
    Checking inbox
    Migrating parts to new cache hierarchy...
    Checking search index consistency...
    Skipping virtual Collection 1
    Checking Collection 9 search index...
    Checking Collection 10 search index...
    Checking Collection 11 search index...
    Checking Collection 12 search index...
    Checking Collection 13 search index...
    Checking Collection 14 search index...
    Checking Collection 15 search index...
    Checking Collection 16 search index...
    Skipping virtual Collection 18
    Skipping virtual Collection 19
    Checking Collection 20 search index...
    Checking Collection 21 search index...
    Flushing collection statistics memory cache...
    Consistency check done.
    restarted akonadi on command line. Kmail still crashes on start.

  5. #25

    Default Re: Kmail crashes on start

    maybe just reinstall and import old backup and then import archived mails? But thats quiet a hassle because old folder structure ist a mess. I rearranged recently and didn't do a complete backup, only archived mails.

    Or any other suggestions?

  6. #26
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,844
    Blog Entries
    14

    Default Re: Kmail crashes on start

    Yes, you have one other option here, but it will need checking f.e. the location of Sent mail, Drafts etc per account. The crashes come from database corruption AFAICS. Your POP mail should all be in ~/.local/share/local-mail, the IMAP mail should still be on the server, so rebuilding the database would be your best shot. To do that:
    Code:
    akonadictl stop
    mkdir ~/akonadi.saved
    mv ~/.local/share/akonadi* ~/akonadi.saved
    akonadictl start
    Now be patient, and wait for akonadi to rebuild the database. Once it's finished check the things mentioned above. This depends on your previous preferences. I know some people use Local Folders - Sent for their outgoing mails, I prefer them in the IMAP account's Sent box. Since in a new database these folders get new ID's in the database, your current settings won't match no longer and Kmail will use it's defaults, i.e. Local Folders ...... Same goes for the filters,if any.

    EDIT: You can start Kmail btw. It should not crash anymore.
    Last edited by Knurpht; 26-Mar-2020 at 10:51.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  7. #27
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,915
    Blog Entries
    1

    Default Re: Kmail crashes on start

    Quote Originally Posted by seb234 View Post
    okay, did so. result of last command here:
    Code:
    user@linux-5ywc:/run/user/1000> akonadictl fsck  
    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 3 external files.
    Found 3 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 "outbox" (id: 10) has no RID.
    Collection "sent-mail" (id: 11) has no RID.
    Collection "OpenInvitations" (id: 18) has no RID.
    Collection "DeclinedInvitations" (id: 19) has no RID.
    Found 5 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 Lokale Ordner
    Checking Persönliches Adressbuch
    Checking Search
    Checking akonadi_ical_resource_0
    Checking DeclinedInvitations
    Checking OpenInvitations
    Checking drafts
    Checking inbox
    Checking outbox
    Checking sent-mail
    Checking templates
    Checking trash
    Checking inbox
    Migrating parts to new cache hierarchy...
    Checking search index consistency...
    Skipping virtual Collection 1
    Checking Collection 9 search index...
    Checking Collection 10 search index...
    Checking Collection 11 search index...
    Checking Collection 12 search index...
    Checking Collection 13 search index...
    Checking Collection 14 search index...
    Checking Collection 15 search index...
    Checking Collection 16 search index...
    Skipping virtual Collection 18
    Skipping virtual Collection 19
    Checking Collection 20 search index...
    Checking Collection 21 search index...
    Flushing collection statistics memory cache...
    Consistency check done.
    restarted akonadi on command line. Kmail still crashes on start.
    Something is weird. You got 2 inbox folders. Does akonadiconsole work?
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  8. #28

    Default Re: Kmail crashes on start

    Quote Originally Posted by Knurpht View Post
    Yes, you have one other option here, but it will need checking f.e. the location of Sent mail, Drafts etc per account.
    How do I check them?

  9. #29

    Default Re: Kmail crashes on start

    Quote Originally Posted by Knurpht View Post
    Now be patient, and wait for akonadi to rebuild the database. Once it's finished check the things mentioned above.
    Again, how do I?

  10. #30

    Default Re: Kmail crashes on start

    Quote Originally Posted by Knurpht View Post

    EDIT: You can start Kmail btw. It should not crash anymore.
    I did rebuild the database as you suggested. I hope I did it right. Started kmail after akonadi job seemd finished. The kmail window opened an did not crash right away. I saw all folders were empty. When I clicked the inbox folder, magically it started to fill with mail. Then all of a sudden kmail crashed again. What was wrong?

Page 3 of 10 FirstFirst 12345 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •