-
Bug
-
Resolution: Obsolete
-
High
-
Severity 3 - Minor
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.
Confluence Dashboard doesn't get updated even after a re-index/re-index from scratch.
The following appears in the atlassian-confluence.log:
Job (DEFAULT.IndexQueueFlusher threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\confluence-home\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@1630667] at org.quartz.core.JobRunShell.run(JobRunShell.java:210) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:14) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\confluence-home\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@1630667 at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:409) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.processTasks(DefaultConfluenceIndexManager.java:161) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.flushQueue(DefaultConfluenceIndexManager.java:128) at sun.reflect.GeneratedMethodAccessor826.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy39.flushQueue(Unknown Source) at com.atlassian.confluence.search.lucene.IndexQueueFlusher.executeJob(IndexQueueFlusher.java:29) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:63) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:46) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) ... 2 more Caused by: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\confluence-home\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@1630667 at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:346) at com.atlassian.confluence.search.lucene.tasks.LuceneConnectionBackedIndexTaskPerformer.perform(LuceneConnectionBackedIndexTaskPerformer.java:20) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager$BatchUpdateAction.perform(DefaultConfluenceIndexManager.java:361) at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:405) ... 19 more Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@D:\confluence-home\index\write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1562) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1118) at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:327) ... 22 more
Also, this may happened if you have an insufficient disk space. One of the contributors to this is scheduled daily backup, which can turn out to be large.
Workaround
Delete write.lock from <confluence-home>/index/. If that only helps temporarily, check your Confluence home directory for any insufficient disk space. Please also refer to this KB.
Update for Confluence 5.3.1:
The write.lock file is now removed from <confluence-home>/index/ and <confluence-home>/index/edge/ during a restart. Please, let us know if you are still experiencing this problem in 5.3.1 and newer versions.
- is related to
-
CONFSERVER-22981 Confluence Dashboard doesn't get updated
-
- Closed
-
[AI-420] Confluence Dashboard doesn't get updated
Sprint | Original: 5.1.x Sprint 2, 5.0.x Sprint 1, 5.1.x Sprint 1, 5.0.x Sprint 2 [ 3877, 3924, 3926, 3940 ] |
Component/s | Original: Search - Core [ 46383 ] | |
Component/s | Original: Navigation - Dashboard [ 46381 ] | |
Component/s | New: Search - Core [ 75296 ] | |
Component/s | New: Admin Experience [ 74216 ] | |
Fix Version/s | Original: 5.3.1 [ 67705 ] | |
Key |
Original:
|
New:
|
Rank (Obsolete) | Original: 120700000000 | |
Symptom Severity | New: Severity 3 - Minor [ 14432 ] | |
Affects Version/s | Original: 5.3 [ 67703 ] | |
Affects Version/s | Original: 5.1.2 [ 67674 ] | |
Affects Version/s | Original: 5.0.1 [ 67662 ] | |
Affects Version/s | Original: 4.3.7 [ 67635 ] | |
Affects Version/s | Original: 4.2.13 [ 67627 ] | |
Affects Version/s | Original: 4.1.4 [ 67609 ] | |
Affects Version/s | Original: 4.1.3 [ 67608 ] | |
Affects Version/s | Original: 4.1 [ 67605 ] | |
Affects Version/s | Original: 3.5.7 [ 67594 ] | |
Project | Original: Confluence Cloud [ 18513 ] | New: Atlassian Intelligence [ 23110 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2362918 ] | New: JAC Bug Workflow v3 [ 3400894 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2236077 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2362918 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2200056 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2236077 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2134447 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2200056 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1890846 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2134447 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1787451 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1890846 ] |
Description |
Original:
Confluence Dashboard doesn't get updated even after a re-index/re-index from scratch. The following appears in the {{atlassian-confluence.log}}: {code} Job (DEFAULT.IndexQueueFlusher threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\confluence-home\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@1630667] at org.quartz.core.JobRunShell.run(JobRunShell.java:210) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:14) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\confluence-home\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@1630667 at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:409) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.processTasks(DefaultConfluenceIndexManager.java:161) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.flushQueue(DefaultConfluenceIndexManager.java:128) at sun.reflect.GeneratedMethodAccessor826.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy39.flushQueue(Unknown Source) at com.atlassian.confluence.search.lucene.IndexQueueFlusher.executeJob(IndexQueueFlusher.java:29) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:63) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:46) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) ... 2 more Caused by: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\confluence-home\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@1630667 at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:346) at com.atlassian.confluence.search.lucene.tasks.LuceneConnectionBackedIndexTaskPerformer.perform(LuceneConnectionBackedIndexTaskPerformer.java:20) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager$BatchUpdateAction.perform(DefaultConfluenceIndexManager.java:361) at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:405) ... 19 more Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@D:\confluence-home\index\write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1562) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1118) at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:327) ... 22 more {code} Also, this may happened if you have an insufficient disk space. One of the contributors to this is scheduled daily backup, which can turn out to be large. h5. Workaround Delete {{write.lock}} from {{<confluence-home>/index/}}. If that only helps temporarily, check your Confluence home directory for any insufficient disk space. Please also refer to [this KB|https://confluence.atlassian.com/display/CONFKB/com.atlassian.bonnie.LuceneException+Couldn%27t+open+writer+on+directory]. *Update for Confluence 5.3.1:* The {{write.lock}} file is now removed from {{<confluence-home>/index/}} and {{<confluence-home>/index/edge/}} during a restart. Please, let us know if you are still experiencing this problem in 5.3.1 and newer versions. |
New:
{panel:bgColor=#e7f4fa} *NOTE:* This bug report is for *Confluence Cloud*. Using *Confluence Server*? [See the corresponding bug report|http://jira.atlassian.com/browse/CONFSERVER-22981]. {panel} Confluence Dashboard doesn't get updated even after a re-index/re-index from scratch. The following appears in the {{atlassian-confluence.log}}: {code} Job (DEFAULT.IndexQueueFlusher threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\confluence-home\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@1630667] at org.quartz.core.JobRunShell.run(JobRunShell.java:210) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:14) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\confluence-home\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@1630667 at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:409) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.processTasks(DefaultConfluenceIndexManager.java:161) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.flushQueue(DefaultConfluenceIndexManager.java:128) at sun.reflect.GeneratedMethodAccessor826.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy39.flushQueue(Unknown Source) at com.atlassian.confluence.search.lucene.IndexQueueFlusher.executeJob(IndexQueueFlusher.java:29) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:63) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:46) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) ... 2 more Caused by: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\confluence-home\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@1630667 at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:346) at com.atlassian.confluence.search.lucene.tasks.LuceneConnectionBackedIndexTaskPerformer.perform(LuceneConnectionBackedIndexTaskPerformer.java:20) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager$BatchUpdateAction.perform(DefaultConfluenceIndexManager.java:361) at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:405) ... 19 more Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@D:\confluence-home\index\write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1562) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1118) at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:327) ... 22 more {code} Also, this may happened if you have an insufficient disk space. One of the contributors to this is scheduled daily backup, which can turn out to be large. h5. Workaround Delete {{write.lock}} from {{<confluence-home>/index/}}. If that only helps temporarily, check your Confluence home directory for any insufficient disk space. Please also refer to [this KB|https://confluence.atlassian.com/display/CONFKB/com.atlassian.bonnie.LuceneException+Couldn%27t+open+writer+on+directory]. *Update for Confluence 5.3.1:* The {{write.lock}} file is now removed from {{<confluence-home>/index/}} and {{<confluence-home>/index/edge/}} during a restart. Please, let us know if you are still experiencing this problem in 5.3.1 and newer versions. |
Link |
New:
This issue is related to |