KNOWLEDGE BASE

Error "An error occurred during installation. Error occurred during encryption/decryption" when upgrading Tableau Server


Published: 26 Aug 2021
Last Modified Date: 01 Sep 2021

Issue

While upgrading Tableau Server to version 2020.4 or newer, an error occurs during the upgrade process:
"An error occurred during installation. Error occurred during encryption/decryption" 

 

Environment

Tableau Server upgrade to version 2020.4 or newer

Resolution

Clear obsolete values from configuration files using the following tsm commands:
tsm configuration set -k telemetry.servicepassword -v "" 
tsm configuration set -k vizportal.servicepassword -v ""
tsm configuration set -k authentication.servicepassword -v ""
tsm configuration set -k authorization.servicepassword -v ""
tsm configuration set -k recommendations.servicepassword -v ""
tsm pending-changes apply

Once these commands have been executed, the upgrade can be retried, and it will resume from where the failure originally occurred, because of the Checkpoint Upgrade feature added to Tableau Server in 2020.4. 

Additional Information

The obsolete configuration values have not been relevant to Tableau Server since version 2018.1. 

Information on using the Checkpoint Upgrade feature to retry an upgrade is available in product help: Troubleshoot Tableau Server Installs and Upgrades.
Did this article resolve the issue?