# Git index.lock sometimes prevents Continua builds

**URL:** https://www.finalbuilder.com/forums/t/git-index-lock-sometimes-prevents-continua-builds/5351
**Category:** Discussion
**Created:** [May 13, 2015, 11:46am UTC](https://www.finalbuilder.com/forums/t/git-index-lock-sometimes-prevents-continua-builds/5351 "2015-05-13T11:46:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![chillefeld](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/chillefeld/32/1333_2.png) [@chillefeld](https://www.finalbuilder.com/forums/u/chillefeld)
#### Post date: [May 13, 2015, 11:46am UTC](https://www.finalbuilder.com/forums/t/git-index-lock-sometimes-prevents-continua-builds/5351/1 "2015-05-13T11:46:08Z")

</div>

Hi again,  
  
sorry to be a nuisance but It seems we have found another problem in Continua Christoph

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [May 14, 2015, 5:34am UTC](https://www.finalbuilder.com/forums/t/git-index-lock-sometimes-prevents-continua-builds/5351/2 "2015-05-14T05:34:43Z")

</div>

Hi Christoph,  
  
We’ve seen this a couple of times but it always seemed to be after an error on server restart. I can’t see how this can happen as we lock every access to the repository cache within a mutex. I’ve rechecked the code and this is always the case.  
  
It’s strange that you get multiple identical messages. Are you sure that these are not for different changeset revisions?  
  
For now, I will add some code to check for and remove the index.lock file before calling this command.
