User vault disappears after upgrade

With Devolutions Server 2021 came a remodeling of the user vault. After upgrading to 2021.1.x and higher some user could no longer be able to access their user vault.

Different behaviours can be observed:

  • Empty user vault on both Remote Desktop Manager and the web Devolutions Server UI(#empty-user-vault-on-both-remote-desktop-manager-and-the-web-devolutions-server-ui)
  • Empty user vault in Remote Desktop Manager, but it is showing on the web Devolutions Server UI(http://localhost:8080/kb/devolutions-server/troubleshooting-articles/user-vault-disappears-after-upgrade/#empty-user-vault-in-remote-desktop-manager-but-it-is-showing-on-the-web-devolutions-server-ui)

Empty user vault on both Remote Desktop Manager and the web Devolutions Server UI

In most cases, this is caused by the migration process causing a Validation Conflict and will only affect some users.

  1. Open the user web Devolutions Server and click on his Avatar in the right upper corner.
  2. In the menu, you should see an Export Nonmigrated user vault and a Delete Nonmigrated user vault option.
    Export Nonmigrated user vault
    Export Nonmigrated user vault
  3. Click on Export Nonmigrated user vault to create a password protectedrdm file.
  4. Import the data file in an empty Local Data source to test and ensure the integrity of the data.
  5. When your validation is conclusive, click on Delete Nonmigrated user vault.
  6. Import therdm file in the Devolutions Server data source.

Empty user vault in Remote Desktop Manager, but it is showing on the web Devolutions Server UI

Usually, this issue is organization wide, and is caused by a Security Provider still present on the data source. This is available in Devolutions Server 2021.1.10 and higher or the 2020.3.19 LTS version.

  1. In the Devolutions Server Console click on Tools – Remove Security Provider.

Removing the Security Provider will leave your database unencrypted.

  1. Once it’s completed, click on Tools – Regenerate and store the file and the password in a safe location.

Regenerating the Encryption Keys will re-encrypt the database.

Remove the security provider and regenerate the encryption keys
Remove the security provider and regenerate the encryption keys