Bug 233382 - No default calendar and addressbook created
Summary: No default calendar and addressbook created
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Migration (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: HI normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords: akonadi-ports-regression
Depends on:
Blocks:
 
Reported: 2010-04-05 18:30 UTC by Thomas McGuire
Modified: 2010-04-18 11:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas McGuire 2010-04-05 18:30:53 UTC
Akonadi does not create a default calendar and a default addressbook by default, when having a clean config.
Comment 1 Volker Krause 2010-04-07 09:12:00 UTC
Please post a listing of $KDEDIR/share/apps/akonadi/firstrun/ and the content of $KDEHOME/share/config/akonadi-firstrunrc.
Comment 2 Thomas McGuire 2010-04-07 14:15:34 UTC
Below is the requested data, after deleting my akonadi config + data:

> Please post a listing of $KDEDIR/share/apps/akonadi/firstrun/

ls $KDEDIR/share/apps/akonadi/firstrun/
defaultaddressbook  defaultcalendar

cat $KDEDIR/share/apps/akonadi/firstrun/defaultaddressbook
[Agent]
Id=defaultaddressbook
Type=akonadi_contacts_resource
Name=Personal Contacts

[Settings]
Path[$e]=$HOME/.local/share/contacts/

cat $KDEDIR/share/apps/akonadi/firstrun/defaultcalendar
[Agent]
Id=defaultcalendar
Type=akonadi_ical_resource
Name=Personal Calendar

[Settings]
Path[$e]=~/.kde/share/apps/korganizer/std.ics
AutosaveInterval=1

> and the content of $KDEHOME/share/config/akonadi-firstrunrc
cat $KDEHOME/share/config/akonadi-firstrunrc
.kde4/share/config/akonadi-firstrunrc: No such file or directory

This is the script I use to clean up my Akonadi data, maybe I just don't delete enough?

function deleteakonadiconfig {
  killakonadi
  pkill -9 nepomuk
  pkill -9 virtuoso
  rm -rf ~/.local/share/.local-mail.directory/
  rm -rf ~/.local/share/local-mail/
  rm -rf ~/.local/share/akonadi/
  rm -rf ~/.config/akonadi
  rm -rf ~/.kde4/share/config/akonadi*
  rm -rf ~/.kde4/share/config/kres-migratorrc
  rm -rf ~/.kde4/share/apps/nepomuk/
  rm -rf ~/.kde4/share/config/nepomuks*
}
Comment 3 Volker Krause 2010-04-18 11:36:12 UTC
SVN commit 1115967 by vkrause:

Move the firstrun and catalog intialization code from Control to
ServerManager so it's still executed with the new auto-starting code.

BUG: 233382


 M  +0 -9      control.cpp  
 M  +14 -3     servermanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1115967