How Can I Disable the Wallet if hvrwalletconfig -fd
Fails?
Issue
If the wallet file is lost during hub server setup, you may try to disable the wallet using the following command:
hvrwalletconfig -fd
However, this command can fail with the following error:
$ hvrwalletconfig -fd
hvrwalletconfig: Fivetran HVR 6.1.5/10 (linux_glibc2.12-x64-64bit)
hvrwalletconfig: F_JR05C9: Unable to update wallet cache: wallet configuration in repository refers to auto open credentials in '67039401.cred', which does not exist. \
If the auto open password is known, the credentials file can be created with { hvrcrypt -W > /home/fivetran/hvr_config/wallet/67039401.cred }. \
If the auto open password file exists in another $HVR_CONFIG, it can be copied from that '$HVR_CONFIG/wallet/67039401.cred' to '/home/fivetran/hvr_config/wallet/67039401.cred'. \
Otherwise, or for more info please refer to the documentation page 'Hub System Encryption Wallet Troubleshooting'. \
F_JR0577: The previous error occurred while updating the repository cache from counters Repos_Property_Last_Updated.
Environment
HVR 6.1.5/10
Resolution
To recover and disable the wallet configuration, do the following:
Back up your hub sever configuration, then run the following command to remove it:
hvrhubserverconfig -a HTTP_Port=4340
Back up your repository tables, then run the following commands to drop and re-create them:
hvrreposconfig -d hvrreposconfig -c
Restart the hub server using the following command:
hvrhubserver
This will open the hub server setup page, where you can complete the configuration without enabling the wallet.
After completing the above steps, the hub server should be set up successfully with the wallet option disabled.