Bamboo fails to index
症状
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)
原因
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
ソリューション
Delete the write.lock file in <bamboo-home>/index and re-index bamboo.
最終更新日 2021 年 8 月 25 日
Powered by Confluence and Scroll Viewport.