OverviewIn rare cases it may happen that the underlying Jackrabbit index used by Artifactory would become broken. This can occur if the Artifactory VM is abruptly killed when write operations are done on the index, therefore it is recommended to always shutdown Artifactory gracefully. Another reason this might happen is lack of disk space or disk problems. Typically, when the index is broken, you'd see warnings in the logs similar to this: or: ResolutionShould this happen, it is easy to fix the broken index by rebuilding a new healthy index. Follow these steps:
Consistency FixIf you are still experiencing errors you may need to start Artifactory with consistency fix checks on - For Artifactory 2.4.x and aboveRemove the following file and restart Artifactory:
There is no other operation required after startup has finished. For Artifactory 2.3.x and belowStart Artifactory once with the VM parameter
|
Dealing with Broken Index
Skip to end of metadata
Go to start of metadata
Labels:
1 Comment
Hide/Show CommentsMar 24, 2010
Florian R.
Rebuilding the index also solves Problems if you experience the following messages (while browsing the artifacts you get an Error message "Internal error occurred" in the Web GUI):
[ERROR] (o.a.w.RequestCycle :1502) - Error attaching this container for rendering: [MarkupContainer [Component id = nodePanel]]
org.apache.wicket.WicketRuntimeException: Error attaching this container for rendering: [MarkupContainer [Component id = nodePanel]]
[...]
Caused by: java.lang.IndexOutOfBoundsException: bitIndex < 0: -1
at java.util.BitSet.get(BitSet.java:441) [na:1.6.0_16]
[...]