mooltipass / moolticute

Mooltipass crossplatform daemon/tools
GNU General Public License v3.0
143 stars 67 forks source link

"Duplicate service detected during import" when importing backup #1148

Closed robbiebyrd closed 1 year ago

robbiebyrd commented 1 year ago

My Mooltipass Mini BLE began hanging when opening a credential. I deleted all credentials from the device, and attempted a restore from backup.

During the first restore from the latest backup, the Mooltipass and Moolticute hung. I restarted both the computer and the mootlipass device. I then attempted to import multiple versions of my Mootlipass.bin backup file.

I've used multiple local Time Machine backups of the Mooltipass.bin file, even back several months; however, none of the backups work; I get the same "duplicate service" error message.

Expected behavior

Importing a Moolticute backup file should restore credentials to the device.

Actual behavior

After selecting the Mooltipass.bin backup file again, Moolticute returns the following error: "Duplicate service detected during import, please contact support".

Step by step guide to reproduce the problem

  1. Open the Synchronization Tab
  2. Select "Import from File" in "Import Database from File"
  3. Select a Mooltipass.bin backup
  4. Backup is not successfully restored to the mooltipass device.

Moolticute Version

v 1.01.0

Operating System

MacOS Ventura 13.2 (22D49)

Mooltipass Device

limpkin commented 1 year ago

@deXol could you update the code to remove that check, now that we've identified the root cause of that issue?

limpkin commented 1 year ago

@robbiebyrd could you give a go at https://betas.themooltipass.com/v1.01.3-testing/ ? :) dmg should be uploaded any time now :)

barathrm commented 1 year ago

Is this related to https://github.com/mooltipass/moolticute/issues/1127?

now that we've identified the root cause of that issue? What is the root cause?

robbiebyrd commented 1 year ago

@limpkin That fixed it! Thank you so much!

limpkin commented 1 year ago

@barathrm I don't think it is @robbiebyrd awesome!