Failed adding library storage device

Observed behavior

When trying to add a storage device, both local (external drive) and in the network (NAS) same error is displayed

Expected behavior

Storage device should be synced

Steps required to reproduce

  1. Open aspect
  2. Open Synchronization panel
  3. Press “Synchronize with new device” button
  4. Select “External drive or NAS”
  5. Select one folder
  6. Start synchronization
  7. Synchronization fails
  8. in the synchronization panel, press the red triangle

Operating system/Hardware used

Windows 10
Aspect 1.0.0 rc 16

There are three potential causes that I can see:

  • There is some timing related issue in the synchronization logic that causes a revision to be generated on the target side before the existing library revisions have been transferred
  • There is something wrong with the revision history of the library
  • There is something wrong with the algorithm that is responsible for selecting the library revisions to merge during the synchronization

If you have the possibility to send me a log file (%TEMP%/aspect-log.sdl) of a run where that error occurs, that should hopefully make it clear what is roughly going on here.

If the library so far hasn’t been cloned (only one device), you could delete the contents of the .revs folder while Aspect is not running to likely sidestep the issue, but of course it would be valuable to keep the revisions in case they are needed for further debugging. However, if the library is already cloned to another device, deleting the revisions would mean that further synchronization would be not possible anymore, so this is definitely not generally advisable!

Hello Söenke,
thanks for looking into this.

I’ve tried once more and shared the .sdl file with you over email.

Please let me know if for the next step you want me to try to delete the .revs folder, as you have mentioned. As of now, the application is not synced with other devices (so there should be no risk of breaking synchronization with other devices).

Thank you! I was able to pinpoint the issue to a change introduced by 1.0.0-preview.40. The change is meant to improve usability for libraries that span multiple drives, but has caused library maintenance tasks to be executed on a library that is still in the process of being cloned. In this case, this caused a revision to be created in the cloned library before the existing revisions could be fully synchronized, resulting in a conflict.

Please let me know if for the next step you want me to try to delete the .revs folder, as you have mentioned. As of now, the application is not synced with other devices (so there should be no risk of breaking synchronization with other devices).

You can delete the revisions now to get the clone to work - the log file has been sufficient for finding the issue. If this is not so urgent, you could also wait for the next release (should be this Friday) to verify that the issue has been fixed for your particular situation.

1 Like

Thanks for your support!
I will wait for the next release then.

Hello Sönke,
Thank you for releasing the new version of Aspect.
After installing it, a different error message is now being displayed

Unknown revision ID.

For your reference: I have not deleted the contents of the .revs folder.

Please let me know if there is anything I could try to fix it, or if I can provide you any files for investigating the issue.

We missed that issue in testing yesterday, but it has been caused by the change to drop revisions older than 90 days. I’ve uploaded a quick new version (1.0.0-rc.18.1) that has this fixed.

1 Like

Okay, while continued to test this, I have discovered another issue that manifests in a “missing revision” error when loading the newly cloned library instance. I’ll unfortunately have to make another release after this has also been fixed.

Hello Sönke,
thank you for sharing a new version for this.

I have discovered another issue that manifests in a “missing revision” error when loading the newly cloned library instance.

It seems that I am not facing this issue, and I am now able to sync my library with both my NAS and my external drives.

Thanks for your continuous support!