Unable to upgrade due to SafesDirectory using RegEx
113
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 13:01 PM
Symptom
Before upgrade:
tsparm.ini is set as following to use RegEx to split the safes to different drives:
[MAIN]
SafesDirectory=C:\PrivateArk\Safes:^((?!.*PSMRecordings.*).)*$
SafesDirectory=D:\PrivateArk\Safes:.*PSMRecordings.*
During the process of upgrading CyberArk Digital Vault, an error message pops up
Setup could not find a safes Database
Environment
10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;14.2 Digital Vault
Cause
The upgrade process doesn't refer to regex therefore it can't find the path.
Resolution
The workaround is to set safes directory without the regex to the original one. Then run the upgrade, and after it add the regex again.
For example
1 Edit tsparm.ini and revert it back to
[MAIN]
SafesDirectory=C:\PrivateArk\Safes
2 Save the tsparm.ini
3 Re-run the Digital Vault upgrade process.
4 After the upgrade , edit the tsparm.ini again and add the regex back
[MAIN]
SafesDirectory=C:\PrivateArk\Safes:^((?!.*PSMRecordings.*).)*$
SafesDirectory=D:\PrivateArk\Safes:.*PSMRecordings.*
5 Start the vault again.