PVWA - Error "Several errors occurred during environment creation" when upgrading PVWA
181
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:11 PM
Symptom
When upgrading PVWA, after "Updating Server environment", an error pop up:
"Several errors occurred during environment creation. Check the logs at C:\Cyberark\Password Vault Web Access\Env\Log"
The upgrade continues and is completed.
Checking the log at "C:\CyberArk\Password Vault Web Access\Env\Log\ConfigureVault.log", you might see following errors:
2024-08-23 16:25:48,759 ERROR - VLTS031E Failed to save file PVConfiguration.xml in safe PVWAConfig. Description: ITATS337E You are already using object PVConfiguration.xml, possibly on another machine.
2024-08-23 16:25:48,759 ERROR - CpmPVWASharedEnvMgr -> 'Adding CPM name to PVConfiguration.xml' ended with errors.
Or
2024-08-23 15:48:18,433 ERROR - VLTS031E Failed to save file PVConfiguration.xml in safe PVWAConfig. Description: ITATS362E You cannot lock object PVConfiguration.xml, object is already locked by <user>.
2024-08-23 15:48:18,433 ERROR - CpmPVWASharedEnvMgr -> 'Adding CPM name to PVConfiguration.xml' ended with errors.
Checking the log at "C:\Users\{user}\AppData\Local\Temp\PVWAInstallError.log", you might see the following error:
8-23-2024, 15:48:19: process ConfigureVault failed with rc: -2
Environment
12.2;12.6;13.0;13.2;14.0;14.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA
Cause
PVConfiguration.xml file in PVWAConfig safe is locked by a user, thus the upgrade was unable to update the file.
Resolution
Unlock PVConfiguration.xml file in PVWAConfig safe:
- Login via PrivateArk Client.
- Open PVWAConfig Safe.
- Right mouse click on PVConfiguration.xml and select "Return to Safe" or "Unlock File".
- Re run PVWA setup and choose Repair.
- Would you like to create Server environment for the application? => Yes
- Confirm PVWA setup is completed with no error.