Missing personal calendar

Jörg Schaible joerg.schaible at gmx.de
Wed Aug 21 00:21:03 BST 2019


Am Dienstag, 20. August 2019, 01:06:36 CEST schrieb Jörg Schaible:

[snip]

> It seems, the only way to restore my dates is to restore the DB and export
> all the dates :-/

That's what I did now, and I got back all my dates. My steps in detail:

1/ Stop akonadi
2/ Stop Mail Server 
3/ Stop MySQL
4/ Make Backup
5/ Replace following stuff with last working backup:
 - /var/lib/mysal
 - /home/<user>/.config/akonadi*
 - /home/<user>/.local/share/akonadi*
 - /home/<user>/.local/share/contacts
6/ Start MySQL
7/ Start KOrganizer
8/ Export the now existing calendar
9/ Stop akonadi
10/ Stop MySQL
11/ Replace stuff from step with with the one from the backup
12/ Start MySQL
13/ Start Kontact
14/ Add new ical-based calendar in .local/share/korganizer
15/ Quit Kontact
16/ Stop akonadi
17/ Start Kontact
18/ Now activate the second calendar with the correct name and deactivate the 
one named like the internal resource (see last mail)
19/ Import the exported calendar from step 8
20/ Quit Kontact
21/ Stop akonadi
22/ Start Kontact

Now all my dates are back and shown in the overview and the new ical file 
contains all the dates (verified with grep searching for unique new 
descriptions).

An interesting detail: When I looked with akonadiconsole at the location of 
the calendar resource available in step 8, it referenced the ical file that was 
not touched anymore since 18th December last year. The reference used a file 
URL starting with "file:///home/...". The new ical resource generated in step 
18 uses a file URL starting with "file:/home/..." (note the slashes after the 
protocol).

BTW: On 19th December 2018 I've updated kdepim from 18.08 to 18.12 ...

Regards,
Jörg









More information about the kdepim-users mailing list