ghost calendars

asked 2020-02-20 13:16:28 +0200

danfin gravatar image

this may be a dupe of this one but I've got them since I deleted my CalDav Account and can't get rid of. Even when deactivated, I can create appointments in my ghost calendars (which probably disappears to nirvana). I recreated that CalDAV account, the re-deleted it again, but nothing changed. But how to delete unwanted not deactivated looking but still selectable calendars? With adresses I don't know, as the address books are identical so maybe ghost adresses just do not show. Using XA2 with 3.2.

edit retag flag offensive close delete

Comments

2

If you're willing to use command-line tool, you can remove the calendar.

  • install sqlite3 package.
  • devel-su -p
  • cd ~/.local/share/system/privileged/Calendar/mkcal
  • sqlite3 db

Then, you can investigated what's wrong.

  • .headers on
  • list calendars with select * from calendars;
  • spot your ghost calendar, it should have a wrong 'account' entry, so when you deleted the CalDAV account, it didn't delete the actual calendar from the storage.
  • when you're ready to clean things up, run delete from components where notebook == "the calendarid value from the calendar listing"; and delete from calendars where calendarid == "the same uid";

Of course, make a copy of your db file before runing the deletion commands.

Damien Caliste ( 2020-02-20 14:18:43 +0200 )edit

thank you, I will try that. (Sidenote: Could I not just delete the mkcal database and re-setup my accounts? This might create a new database).

danfin ( 2020-02-20 15:19:22 +0200 )edit
1

Oh, yes, you can remove the db if you don't have anything inside that is not available later via account syncing.

Damien Caliste ( 2020-02-20 15:29:16 +0200 )edit