Bamboo fails to index

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Bamboo may complain about not being able to index after

  • Removing plans
  • Build completion
  • ...
com.atlassian.bonnie.LuceneException: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@C:\bamboo\index\write.lock
at com.atlassian.bonnie.ConcurrentLuceneConnection.constructIndexWriter(ConcurrentLuceneConnection.java:551)

Cause

Bamboo maintains a Lucene index. While indexing bamboo obtains a write lock on the index directory. If bamboo is terminated forcefully or shut down before the index completes the write lock file remains. After restarting bamboo when the next index operation commences it cannot complete because the index directory is locked

Resolution

Delete the write.lock file in <bamboo-home>/index and re-index bamboo.





























Last modified on Aug 25, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.