Git Lock Issue
Wuser92
Registered Posts: 20 ✭✭✭✭
We seem to have an issue with the version control of one of our projects. When saving changes or running recipes we get the following error:
LockFailedException: Cannot lock /home/dataiku/dss/config/projects/PROJECTKEY/.git/index
Is there an easy fix for this?
LockFailedException: Cannot lock /home/dataiku/dss/config/projects/PROJECTKEY/.git/index
Is there an easy fix for this?
Tagged:
Best Answer
-
Try restarting DSS. If it does not fix the issue:
- Stop DSS
- Remove /home/dataiku/dss/config/projects/PROJECTKEY/.git/index.lock
- Start DSS again
Answers
-
Thanks! I had to remove index.lock though.
-
Can I ask a follow up question?
The solution offered here works, but how can we prevent this from happening? i.e. what is causing this?