Revision 22 as of 2013-09-18 10:40:37

Clear message

KOrganizer Data Migration

Problem description

If your client was updated from Debian Squeeze (6.0) to Debian Wheezy (7.1) and all your KOrganizer events disappeared after the migration, or if you are a new KOrganizer user and you cannot get KOrganizer to work (e.g. KOrganizer notifies you about being unable to store a new event or about being unable to read the calendar file), you should read the following instructions.

Steps to a working KOrganizer

  1. Make sure, KOrganizer and its components are not running. After you closed KOrganizer, kill all dangling processes like korganizer and korgac:

     pkill korg
  2. If you alredy used KOrganizer, move your calendar file, e.g.

     mv $HOME/.kde/share/apps/korganizer/std.ics $HOME/.kde/share/apps/korganizer/old.ics
  3. Cleanup your KDE profile. CAUTION: backup all files to be removed, as you might loose application settings and -data if you were already using KDE applications before. You might skip this step and try to start with the next step, it might work too. If it doesn't, you should try the cleanup described here:

     /usr/bin/akonadictl stop
     rm -rf $HOME/.kde/share/config/akonadi*
     rm -rf $HOME/.kde/share/config/kresources
     rm -rf $HOME/.local/share/akonadi
     rm -rf $HOME/.config/akonadi
  4. Run  /usr/bin/systemsettings  (the KDE control panel), Click the icon Personal Information, then choose Calendar in the dropdown box. The screen looks now as follows:

  5. Click the button [Add...], the following box appears:

  6. Choose Akonadi. Do not choose Calendar in local directory!

  7. The following dialog appears:
  8. ko3.jpg

  9. Click on the listfield entry Personal Calendar and make sure, the checkboxes [x] Events, [x] Todos and [x] Journals are set.

  10. If you want to store your calendar data file in a different directory than the default path, click the [Manage Calendar Sources] button. In this case the dialog below shows up:

  11. ko4.jpg

  12. Choose [Modify...], which will open this window:

  13. ko5.jpg

  14. Here, you can set another path for your calendar database file (std.ics by default).
  15. Go back to the main dialog shown below, select your calendar resource created and make it the default by clicking on the button [Use as Standard]. Finally, click the [Apply] button and close the window.

  16. Start the akonadi service:

     /usr/bin/akonadictl start
  17. ko6.jpg

  18. Now it's time to start KOrganizer. If you want to begin with a new blank calendar, you are finished. If you need to import your old calendar data from previous versions of KOrganizer, follow the next steps:
  19. In KOrganizer, go to the File menu, choose Import, then Import Calendar..., pick your old calendar file, e.g. old.ics. Then KOrganizer asks you what to do with this file:

  20. ko7.jpg

  21. Choose Merge into existing calendar. Please be patient. Depending on the amount of calendar entries you have in your old calendar file, this might take several minutes to complete and you won't see a progress bar (i.e. KOrganizer makes the impression of being frozen).

  22. Now you should have (and see) all your imported calendar entries in the default (akonadi) calendar, that should also appear after you restarted KOrganizer:
  23. ko8.jpg

  24. If you are missing some panel on KOrganizer's right hand side (e.g. the panel where you can choose the calendars to be shown, if you have multiple calendars for instance), the reason is that this panel is hidden. To unhide it, click the three dots (...) that are found under the bottom most pane and drag the above pane upwards; then it should look like as follows:
  25. ko9.jpg