Ghost addressbooks left behind after repeatedly adding and removing some NextCloud account

REPRODUCIBILITY: Unknown
OS VERSION: 4.4.0.68
HARDWARE: Sony Xperia X
UI LANGUAGE: German
REGRESSION: Unknown, but somebody reported a similar issue 2 years ago: Ghost accounts after failed account create

DESCRIPTION:

Ghost addressbooks were left behind at some point after repeatedly adding and removing some NextCloud account. Since I did not notice this having happened until later, I cannot unfortunately say what exactly caused this.

More than anything else I’m hoping for any pointers on how to manually resolve this issue. So if you happen to know anything about how and where the addressbook data is stored on SailfishOS please leave a comment!

PRECONDITIONS:

In this case at least a NextCloud account was used. It is unknown whether it would also happen with other account types registering any addressbooks in the system.

EXPECTED RESULT:

Address book entries and all their associated contacts are cleanly removed from the system when removing the associated account.

ACTUAL RESULT:

The addressbooks and at least some of the contacts contained therein are still visible in various places in the contacts app, but the associated account appears the be gone from settings.

MODIFICATIONS:

PatchManager, lots of self-contained apps from OpenRepos (rarely using the harbour store nowadays)

ADDITIONAL INFORMATION:

Ghost addressbooks show up without any specific icon in the contacts app, while addressbooks associated with an active NextCloud account show up using the NextCloud icon and account username. As such it indeed appears as though the link between the addressbooks and the account has somehow been broken before the account was removed, leaving behind just the addressbooks.

1 Like