KOrganizer Data Migration

Problem description

If all your KOrganizer events disappeared when starting KOrganizer on a newer Linux release, 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. Run  /usr/bin/akonadiconsole , The screen looks as follows:

    • akonadiconsole.jpg

  3. In the menu, head to "Server", and choose "Stop server". Leave the akonadiconsole dialog open.
  4. If you alredy used KOrganizer, move your calendar file, e.g.
    •  mv $HOME/.local/share/apps/korganizer/std.ics $HOME/.local/share/apps/korganizer/old.ics
  5. 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:
    •  /usr/bin/akonadictl stop
       rm -rf $HOME/.local/share/akonadi
  6. Back in the akonadiconsole, head to the menu "Server", and choose "Start server". Then open the tab "Agents" in the akonadiconsole dialog.
  7. If there is not yet an item in the list called "Personal Calendar", click the button [Add...], the following box appears (if the "Personal Calendar" entry is already there skip this step).

    • akonadiconsole-add.jpg

  8. Choose 'Ical Calendar File'. Do not choose ICal Calendar Folder!

  9. Now the "Personal Calendar" item should appear in the list of the first dialog (Tab "Agents" in the "Akonadi Console" main dialog).
  10. To edit the calendar's settings, mark the "Personal Calendar" item in the list and click the "Configure..." button at the bottom of the dialog. The following window will appear:
    • personalcal.jpg

  11. Edit the path so it points to the location where you put your current std.ics file (please make a backup of std.ics before you set the path to that file here - sometimes it happens that the file is truncated...)
  12. Now it's time to start KOrganizer. Usually, the new "Personal Calendar" resource won't appear, because it is not selected to be shown.
    • korganizer.jpg

  13. Thus, you must initially enable the "Personal Calendar" by means of the checkbox in the bottom-left corner of the window.


FAQ/KorganizerMigration (last edited 2020-09-22 20:41:37 by davidsch)