Duplicates in sogo address book

NethServer release 7.9.2009 (final)

SOGO version 5.6.0

Hello, again,
…next problem with sogo:
in address book we have some addresses 10 times ore more
in older version of sogo we correct this with “remove-doubles”, but now there are only errors.
What command is now needed ?

[root]# sudo -u sogo sogo-tool remove-doubles user01 personal
2022-06-08 10:27:04.002 sogo-tool[32194:32194] ERROR(-[NSNull(misc) forwardInvocation:]): called selector uppercaseString on NSNull !

No record to remove. 414 records kept.

[SOLUTION]
Found out by myself :slight_smile:

  • Restored sogo address book

sudo -u root sogo-tool restore -f Contacts/personal /var/lib/nethserver/backup user01

  • removed contact duplicates as root!

sudo -u root sogo-tool remove-doubles user01 personal

2 Likes