How to reset the KDE PIM

Hello!
I seem to have gotten KDE PIM into a broken state over time. I would like to avoid having to reinstall to fix this. So, what’s wrong: My google account has been added to korganizer and removed from there a couple times when calendars stopped working. This somehow did not remove birthdays from the calendar, even tho I have no contants in kontact. I now have no fewer than five instances of my brother’s birthday in the calendar. In addition, when I re-add the account to sync my calendar entries, it does not work.

Is thee a config file I can delete to reset everything?

akonadictl stop

Remove ~/.local/share/akonadi*

akonadictl start

The DB will be rebuild automatically. You may have a little work in kontact.

1 Like

akonadictl start

Oops. I was a bit hasty. I’ll correct that. Thank you.

And, there’s this recent change with respect to the Akonadi database: <How do I switch from MySQL/PostgreSQL to SQLite?>

  • It seems that, Akonadi now uses SQLite for it’s database – at least since whenever in the Plasma 5 time-frame …

Well

I did that and it seems to have made things worse somehow

the “personal” calendar is now missing and I still can’t add a linked google calendar. It did remove all those duplicates tho.

It’s possibly located in ‘~/.local/share/apps/korganizer/’ –

 > file .local/share/apps/korganizer/std.ics
.local/share/apps/korganizer/std.ics: iCalendar calendar file
 >  
 > cat .local/share/apps/korganizer/std.ics
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN
VERSION:2.0
X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0
END:VCALENDAR
 >