Qlik Talend Studio was successfully set up on a virtual machine (VM). After cloning the VM, opening Qlik Talend Studio fails to open projects, instead erroring out with:
To fix the error, shut down Qlik Talend Studio first, then delete all .lock files found inside the .git directories.
The git lock files are found in the workspace for Qlik Talend Studio:
<talend_workspace>/.git/index.lock
<talend_workspace>/.git/refs/heads/<branch>.lock
<talend_workspace>/.git/HEAD.lock
<talend_workspace>/.git/config.lock
Check nested project repositories for additional files
Cause
The GitBaseRepositoryFactory.updateLockStatus() error commonly occurs due to stale Git lock files that were copied along with the VM snapshot.
When the VM was snapshotted or copied, Qlik Talend (or its embedded Git) was likely mid-operation or simply had lock files present. These .lock Files are now orphaned on the cloned VM, and Git thinks a process is holding a lock, but no such process exists.
Related Content [can be removed if not necessary]
[Paragraph format. Link to related content, such as articles, community posts, Help articles, etc...]
Internal Investigation ID(s) [can be removed if not necessary]
[Paragraph format with internal investigation IDs (e.g Jira case ID(s)) ]