Skip to content

Unable to migrate vault from version 1 -> 2 #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ruimgoncalves opened this issue Oct 19, 2024 · 4 comments
Closed

Unable to migrate vault from version 1 -> 2 #77

ruimgoncalves opened this issue Oct 19, 2024 · 4 comments
Labels
bug Bug or crash report triage approved The issue has been reviewed and approved for development

Comments

@ruimgoncalves
Copy link

Description

After being prompt to upgrade got the following error

System.NotSupportedException: Stream does not support writing.
   at System.IO.Stream.ValidateCopyToArguments(Stream destination, Int32 bufferSize)
   at System.IO.FileStream.CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
   at SecureFolderFS.Storage.Extensions.StorageExtensions.CopyContentsToAsync(IFile source, IFile destination, CancellationToken cancellationToken)
   at SecureFolderFS.Storage.Extensions.StorageExtensions.CopyContentsToAsync(IFile source, IFile destination, CancellationToken cancellationToken)
   at SecureFolderFS.Storage.Extensions.StorageExtensions.CopyContentsToAsync(IFile source, IFile destination, CancellationToken cancellationToken)
   at SecureFolderFS.Core.Migration.AppModels.V1_V2.MigratorV1_V2.CreateKeystoreBackup(CancellationToken cancellationToken)
   at SecureFolderFS.Core.Migration.AppModels.V1_V2.MigratorV1_V2.MigrateAsync(IDisposable unlockContract, ProgressModel progress, CancellationToken cancellationToken)
   at SecureFolderFS.Core.Migration.AppModels.V1_V2.MigratorV1_V2.MigrateAsync(IDisposable unlockContract, ProgressModel progress, CancellationToken cancellationToken)
   at SecureFolderFS.Sdk.ViewModels.Views.Overlays.MigrationOverlayViewModel.MigrateAsync(CancellationToken cancellationToken)

To Reproduce

  1. Open App
  2. Select Vault
  3. Enter correct password when prompted
  4. Select Migrate

Evidence

No response

App Version

0.6.0

OS Version

Windows 11

Diagnostic information

image

@ruimgoncalves ruimgoncalves added the bug Bug or crash report label Oct 19, 2024
@github-actions github-actions bot added the triage pending Indicates that the issue is awaiting approval label Oct 19, 2024
@d2dyno1
Copy link
Member

d2dyno1 commented Oct 20, 2024

Thanks for the report! Looking into it 👀

@d2dyno1 d2dyno1 added triage approved The issue has been reviewed and approved for development and removed triage pending Indicates that the issue is awaiting approval labels Oct 20, 2024
@d2dyno1
Copy link
Member

d2dyno1 commented Oct 20, 2024

This has now been fixed in 754d10c. I'll create a new submission to the Microsoft Store as soon as another one finishes proceeding. This issue will be closed when that happens

@d2dyno1 d2dyno1 closed this as completed Oct 21, 2024
@d2dyno1
Copy link
Member

d2dyno1 commented Oct 21, 2024

The update should now be available on the Microsoft Store

@ruimgoncalves
Copy link
Author

Just confirmed, it's working.

Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug or crash report triage approved The issue has been reviewed and approved for development
Projects
None yet
Development

No branches or pull requests

2 participants