Bamboo service does not start after restarting the system
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
要約
Bamboo service does not start after restarting the OS to apply system updates.
診断
The following errors can be found at atlassian-bamboo.log file:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bamboo.index.LuceneConnectionImpl]: Constructor threw exception; nested exception is com.atlassian.bonnie.LuceneException: java.io.FileNotFoundException: /var/atlassian/bamboo-home/index/results/_1epw1.si (No such file or directory)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:184)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:300)
... 87 more
Caused by: com.atlassian.bonnie.LuceneException: java.io.FileNotFoundException: /var/atlassian/bamboo-home/index/results/_1epw1.si (No such file or directory)
at com.atlassian.bonnie.LuceneConnection.<init>(LuceneConnection.java:112)
at com.atlassian.bonnie.LuceneConnection.<init>(LuceneConnection.java:120)
at com.atlassian.bonnie.LuceneConnection.<init>(LuceneConnection.java:135)
at com.atlassian.bamboo.index.LuceneConnectionImpl.<init>(LuceneConnectionImpl.java:23)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:172)
... 89 more
Caused by: java.io.FileNotFoundException: /var/atlassian/bamboo-home/index/results/_1epw1.si (No such file or directory)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)
at org.apache.lucene.codecs.lucene46.Lucene46SegmentInfoReader.read(Lucene46SegmentInfoReader.java:49)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:340)
at org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:404)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:843)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:694)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:400)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:741)
at com.atlassian.bonnie.LuceneConnection.upgradeIndexIfNecessary(LuceneConnection.java:705)
at com.atlassian.bonnie.LuceneConnection.ensureCorrectIndexFormat(LuceneConnection.java:674)
at com.atlassian.bonnie.LuceneConnection.<init>(LuceneConnection.java:103)
... 97 more
原因
This situation can happen due to a corruption on temporary cache index files caused by an unexpected shutdown.
ソリューション
- Stop the Bamboo service
Delete the content of the following folders:
/bamboo-home/caches/ /bamboo-home/temp/ /bamboo-home/index/ /bamboo-home/jms-store/
- Start Bamboo back
最終更新日: 2021 年 2 月 15 日
Powered by Confluence and Scroll Viewport.