Unable to index Confluence after upgrading from 3.3.3 to 3.5.13
Asked by Jose Medina:

I followed the instructions from the upgrade procedure

I backed up my index directory and created a new index directory and moved the plugin directory from the backup to the new index file and when I start confluence I see a lot of errors when confluence tries to index the attachments.

```
2017-01-04 08:53:15,955 WARN [Indexer: 1] [apache.pdfbox.util.PDFStreamEngine] processOperator java.io.IOException: Error: expected hex character and not  :32 -- referer: https://mydomain.com/confluence/admin/search-indexes.action | url: /confluence/admin/reindex.action | userName: jmedina | action: reindexjava.io.IOException: Error: expected hex character and not  :32        at org.apache.fontbox.cmap.CMapParser.parseNextToken(CMapParser.java:336)        at org.apache.fontbox.cmap.CMapParser.parse(CMapParser.java:139)        at org.apache.pdfbox.pdmodel.font.PDFont.parseCmap(PDFont.java:556)        at org.apache.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:390)        at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:386)        at org.apache.pdfbox.util.operator.ShowTextGlyph.process(ShowTextGlyph.java:61)        at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:567)        at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:250)        at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:208)        at org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:378)        at org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:302)        at org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:258)        at com.atlassian.bonnie.search.extractor.PdfContentExtractor.extractText(PdfContentExtractor.java:50)        at com.atlassian.bonnie.search.extractor.BaseAttachmentContentExtractor.addFields(BaseAttachmentContentExtractor.java:40)        at com.atlassian.confluence.plugin.descriptor.ExtractorModuleDescriptor$BackwardsCompatibleExtractor.addFields(ExtractorModuleDescriptor.java:45)        at com.atlassian.bonnie.search.BaseDocumentBuilder.getDocument(BaseDocumentBuilder.java:104)        at com.atlassian.confluence.search.lucene.ConfluenceDocumentBuilder.getDocument(ConfluenceDocumentBuilder.java:97)        at com.atlassian.confluence.search.lucene.tasks.AddDocumentIndexTask.perform(AddDocumentIndexTask.java:43)        at com.atlassian.bonnie.index.TempIndexWriter.perform(TempIndexWriter.java:73)        at com.atlassian.confluence.search.lucene.TempIndexWriterStrategy.perform(TempIndexWriterStrategy.java:43)        at com.atlassian.confluence.search.lucene.tasks.TempIndexBackedIndexTaskPerformer.perform(TempIndexBackedIndexTaskPerformer.java:21)        at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker.indexCollection(DefaultObjectQueueWorker.java:104)        at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker$1.doInTransaction(DefaultObjectQueueWorker.java:71)        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)        at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker.run(DefaultObjectQueueWorker.java:60)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)        at java.lang.Thread.run(Thread.java:809)
```

```
2017-01-04 08:42:14,714 ERROR [Indexer: 1] [officeconnector.index.excel.ExcelXMLTextExtractor] endDocument expected [ 1646 ] entries but read [ 1670 ] -- referer: https://mydomain.com/confluence/admin/search-indexes.action | url: /confluence/admin/reindex.action | userName: jmedina | action: reindex2017-01-04 08:42:14,720 WARN [Indexer: 5] [apache.pdfbox.util.PDFStreamEngine] processOperator java.lang.ClassCastException: org.apache.fontbox.cmap.CMapParser$Operator incompatible with [B -- referer: https://wikiclone.litle.com/confluence/admin/search-indexes.action | url: /confluence/admin/reindex.action | userName: jmedina | action: reindexjava.lang.ClassCastException: org.apache.fontbox.cmap.CMapParser$Operator incompatible with [B        at org.apache.fontbox.cmap.CMapParser.parse(CMapParser.java:163)        at org.apache.pdfbox.pdmodel.font.PDFont.parseCmap(PDFont.java:556)        at org.apache.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:390)        at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:386)        at org.apache.pdfbox.util.operator.ShowText.process(ShowText.java:45)        at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:567)        at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:250)        at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:208)        at org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:378)        at org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:302)        at org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:258)        at com.atlassian.bonnie.search.extractor.PdfContentExtractor.extractText(PdfContentExtractor.java:50)        at com.atlassian.bonnie.search.extractor.BaseAttachmentContentExtractor.addFields(BaseAttachmentContentExtractor.java:40)        at com.atlassian.confluence.plugin.descriptor.ExtractorModuleDescriptor$BackwardsCompatibleExtractor.addFields(ExtractorModuleDescriptor.java:45)        at com.atlassian.bonnie.search.BaseDocumentBuilder.getDocument(BaseDocumentBuilder.java:104)        at com.atlassian.confluence.search.lucene.ConfluenceDocumentBuilder.getDocument(ConfluenceDocumentBuilder.java:97)        at com.atlassian.confluence.search.lucene.tasks.AddDocumentIndexTask.perform(AddDocumentIndexTask.java:43)        at com.atlassian.bonnie.index.TempIndexWriter.perform(TempIndexWriter.java:73)        at com.atlassian.confluence.search.lucene.TempIndexWriterStrategy.perform(TempIndexWriterStrategy.java:43)        at com.atlassian.confluence.search.lucene.tasks.TempIndexBackedIndexTaskPerformer.perform(TempIndexBackedIndexTaskPerformer.java:21)        at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker.indexCollection(DefaultObjectQueueWorker.java:104)        at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker$1.doInTransaction(DefaultObjectQueueWorker.java:71)        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)        at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker.run(DefaultObjectQueueWorker.java:60)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)        at java.lang.Thread.run(Thread.java:809)
```

```
2017-01-04 09:03:52,413 ERROR [Indexer: 2] [officeconnector.index.excel.ExcelXMLTextExtractor] endDocument expected [ 3736 ] entries but read [ 3767 ] -- referer: https://mydomain.com/confluence/admin/search-indexes.action | url: /confluence/admin/reindex.action | userName: jmedina | action: reindex2017-01-04 09:04:01,864 ERROR [Indexer: 6] [confluence.search.lucene.DefaultObjectQueueWorker] indexCollection Error indexing document -- referer: https://mydomain.com/confluence/admin/search-indexes.action | url: /confluence/admin/reindex.action | userName: jmedina | action: reindexjava.lang.OutOfMemoryError: Java heap space        at java.lang.StringBuilder.ensureCapacityImpl(StringBuilder.java:342)        at java.lang.StringBuilder.append(StringBuilder.java:208)        at com.atlassian.confluence.extra.officeconnector.index.excel.ExcelXMLTextExtractor$PartHandler.appendToOutput(ExcelXMLTextExtractor.java:195)        at com.atlassian.confluence.extra.officeconnector.index.excel.ExcelXMLTextExtractor$PartHandler.endElement(ExcelXMLTextExtractor.java:185)        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)        at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)        at javax.xml.parsers.SAXParser.parse(Unknown Source)        at com.atlassian.confluence.extra.officeconnector.index.excel.ExcelXMLTextExtractor.parseEntry(ExcelXMLTextExtractor.java:123)        at com.atlassian.confluence.extra.officeconnector.index.excel.ExcelXMLTextExtractor.extractText(ExcelXMLTextExtractor.java:83)        at com.atlassian.bonnie.search.extractor.BaseAttachmentContentExtractor.addFields(BaseAttachmentContentExtractor.java:40)        at com.atlassian.confluence.plugin.descriptor.ExtractorModuleDescriptor$BackwardsCompatibleExtractor.addFields(ExtractorModuleDescriptor.java:45)        at com.atlassian.bonnie.search.BaseDocumentBuilder.getDocument(BaseDocumentBuilder.java:104)        at com.atlassian.confluence.search.lucene.ConfluenceDocumentBuilder.getDocument(ConfluenceDocumentBuilder.java:97)        at com.atlassian.confluence.search.lucene.tasks.AddDocumentIndexTask.perform(AddDocumentIndexTask.java:43)        at com.atlassian.bonnie.index.TempIndexWriter.perform(TempIndexWriter.java:73)        at com.atlassian.confluence.search.lucene.TempIndexWriterStrategy.perform(TempIndexWriterStrategy.java:43)        at com.atlassian.confluence.search.lucene.tasks.TempIndexBackedIndexTaskPerformer.perform(TempIndexBackedIndexTaskPerformer.java:21)        at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker.indexCollection(DefaultObjectQueueWorker.java:104)        at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker$1.doInTransaction(DefaultObjectQueueWorker.java:71)        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)        at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker.run(DefaultObjectQueueWorker.java:60)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)        at java.lang.Thread.run(Thread.java:809)
```


Answers:
author: Nic Brough -Adaptavist-
body: There are two errors here

One is that your attachments can't be read by Confluence. This is usually because the files are in a newer format than the libraries Confluence uses for reading them can cope with. Confluence 3 is very very old and won't be aware of attachment formats that have been adopted in the last six years.

These errors simply mean the attachment content can't be indexed, and hence can't be searched.

The second is a bit more of a pain. It's run out of memory while trying to read one of the docs. This might be anything, but it could be that the errors while trying to index files it can't read are causing some loss of memory. You could do a more detailed analysis of what is chewing up all the memory, or just chuck more memory at it and hope it improves (not a great idea in most cases).  

But I'd be most tempted to disable the attachment indexing - go to admin -\> add-ons, and select the "system" types and find the **attachments extractor** and **office connector** add-ons. Within them, turn off the modules that are throwing the conversion errors - pdf and excel at a glance.

comments: author: Jose Medina
body: Thanks for the recommendation,

I'm trying to upgrade to 6 from 3 and i'm following the upgrade path upgrading to 3.5 and then to 5.0 and then to 6. I was wondering if I can continue to upgrade process without indexing the content until I get to the latest version.


author: Nic Brough -Adaptavist-
body: Ah, good. Yes, if you turn off the indexing of the attachments, you won't lose anything other than the ability to search the current version, which you don't care about because you're going to upgrade. You can re-enable it when you reach the target version, and run a full re-index. I'd expect a lot fewer "can't read attachment" errors then :smile:


author: Jose Medina
body: Are there any downside if I start on a new data folder and only copy the confluence.cfg.conf file and I upgrade confluence to 3.5.,5.0.13 and then to 6.0.2?

I had been messing with that setup and I saw when it was doing the index it failed to locate the attachments which was obvious because I didn't have anything on the data folder.


author: Nic Brough -Adaptavist-
body: Yep, that will give you a "clean" install.


author: Jose Medina
body: Can I move the attachment folder from the old install to the new install?

I'm able to upgrade from 3.3 to 3.5 and then to 5.0.13 successfull, however when I upgrade to 6.0.3 I get a lot of errors, I even tried to upgrade to 6 on a clean data folder with just the confluence.cfg.conf

If I can't get 6 to work, we will just stay at the latest version of 5 since we can upgrade without issues.

```
2017-01-10 10:39:54,375 ERROR [read-only-transaction:thread-1] [engine.jdbc.spi.SqlExceptionHelper] logExceptions Unknown column 'spacepermi0_.PERMALLUSERSSUBJECT' in 'field list'2017-01-10 10:39:54,376 WARN [read-only-transaction:thread-1] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:    [null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly (Session #1516336745)        [com.atlassian.confluence.user.DefaultUserAccessor.countLicenseConsumingUsers]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT,readOnly (Session #823177525)            [com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #826557067)            [com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #1991260396)      -&gt;[com.atlassian.confluence.user.DefaultUserAccessor.countLicenseConsumingUsers]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT,readOnly (Session #2147428756)            [com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #49576831)            [com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #1091638418)2017-01-10 10:39:54,377 WARN [read-only-transaction:thread-1] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:  -&gt;[null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly (Session #1516336745)        [com.atlassian.confluence.user.DefaultUserAccessor.countLicenseConsumingUsers]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT,readOnly (Session #823177525)            [com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #826557067)            [com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #1991260396)        [com.atlassian.confluence.user.DefaultUserAccessor.countLicenseConsumingUsers]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT,readOnly (Session #2147428756)            [com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #49576831)            [com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #1091638418)2017-01-10 10:39:54,378 WARN [org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean#3e4ad195-1] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:  -&gt;[null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly (Session #1760465221)2017-01-10 10:39:54,379 ERROR [org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean#3e4ad195-1] [confluence.impl.startup.ConfluenceStartAnalyticsEventPublisher] tryPublishEvent Failed to publish confluence.start eventjava.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.CompletionException: java.lang.reflect.UndeclaredThrowableException        at com.atlassian.confluence.util.ReadOnlyLicenseCalculator.handleExecutionFailure(ReadOnlyLicenseCalculator.java:84)        at com.atlassian.confluence.util.ReadOnlyLicenseCalculator.getNumberOfLicensedUsers(ReadOnlyLicenseCalculator.java:65)        at com.atlassian.confluence.util.DefaultUserChecker.getNumberOfRegisteredUsers(DefaultUserChecker.java:43)        at com.atlassian.confluence.impl.startup.ConfluenceStartAnalyticsEventFactory.populateUserStatistics(ConfluenceStartAnalyticsEventFactory.java:109)        at com.atlassian.confluence.impl.startup.ConfluenceStartAnalyticsEventFactory.lambda$createConfluenceStartEvent$0(ConfluenceStartAnalyticsEventFactory.java:80)        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)        at com.atlassian.confluence.impl.startup.ConfluenceStartAnalyticsEventFactory.createConfluenceStartEvent(ConfluenceStartAnalyticsEventFactory.java:72)        at com.atlassian.confluence.impl.startup.ConfluenceStartAnalyticsEventPublisher.tryPublishEvent(ConfluenceStartAnalyticsEventPublisher.java:86)        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)        at java.util.concurrent.FutureTask.run(FutureTask.java:266)        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)        at java.lang.Thread.run(Thread.java:745)Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.CompletionException: java.lang.reflect.UndeclaredThrowableException        at java.util.concurrent.FutureTask.report(FutureTask.java:122)        at java.util.concurrent.FutureTask.get(FutureTask.java:206)        at com.atlassian.confluence.util.ReadOnlyLicenseCalculator.getNumberOfLicensedUsers(ReadOnlyLicenseCalculator.java:61)        ... 13 moreCaused by: java.util.concurrent.CompletionException: java.lang.reflect.UndeclaredThrowableException        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)        at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:824)        at java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:834)        at java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2155)        at java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:110)        at com.atlassian.confluence.impl.concurrency.CompletionStageUtils.foldResult(CompletionStageUtils.java:19)        at com.atlassian.confluence.impl.vcache.SynchronousExternalCache.get(SynchronousExternalCache.java:236)        at com.atlassian.confluence.impl.user.RegisteredUsersCache.getNumberOfRegisteredUsers(RegisteredUsersCache.java:40)        at com.atlassian.confluence.util.ReadOnlyLicenseCalculator.lambda$getNumberOfLicensedUsers$1(ReadOnlyLicenseCalculator.java:55)        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)        at com.atlassian.confluence.util.transaction.ReadOnlyTransactionalTask.call(ReadOnlyTransactionalTask.java:26)        at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)        at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)        at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$withRequestContext$1(VCacheRequestContextOperations.java:59)        at java.util.concurrent.FutureTask.run(FutureTask.java:266)        ... 3 moreCaused by: java.lang.reflect.UndeclaredThrowableException        at com.sun.proxy.$Proxy76.getGlobalPermissions(Unknown Source)        at com.atlassian.confluence.security.SpacePermissionCoordinator.getGlobalPermissions(SpacePermissionCoordinator.java:300)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:498)        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)        at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)        at com.sun.proxy.$Proxy79.getGlobalPermissions(Unknown Source)        at com.atlassian.confluence.user.DefaultUserAccessor.getUserNamesWithConfluenceAccess(DefaultUserAccessor.java:434)        at com.atlassian.confluence.user.DefaultUserAccessor.countLicenseConsumingUsers(DefaultUserAccessor.java:492)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:498)        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)        at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)        at com.sun.proxy.$Proxy84.countLicenseConsumingUsers(Unknown Source)        at com.atlassian.confluence.util.ReadOnlyLicenseCalculator.lookupNumberOfLicensedUsers(ReadOnlyLicenseCalculator.java:76)        at com.atlassian.confluence.impl.user.RegisteredUsersCache.lambda$getNumberOfRegisteredUsers$0(RegisteredUsersCache.java:40)        at com.atlassian.confluence.impl.vcache.SynchronousExternalCache.lambda$get$11(SynchronousExternalCache.java:239)        at com.atlassian.confluence.impl.concurrency.CompletionStageUtils.lambda$foldResult$0(CompletionStageUtils.java:19)        at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822)        ... 16 moreCaused by: java.lang.reflect.InvocationTargetException        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:498)        at com.atlassian.confluence.impl.security.SpacePermissionManagerFactory.lambda$new$0(SpacePermissionManagerFactory.java:70)        ... 55 moreCaused by: org.springframework.orm.hibernate.HibernateSystemException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet; nested exception is net.sf.hibernate.HibernateException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet        at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:597)        at org.springframework.orm.hibernate.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:353)        at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:375)        at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:341)        at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:408)        at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParam(HibernateObjectDao.java:284)        at com.atlassian.confluence.security.persistence.dao.hibernate.HibernateSpacePermissionDao.findAllGlobalPermissionsForType(HibernateSpacePermissionDao.java:47)        at com.atlassian.confluence.security.DefaultSpacePermissionManager.getGlobalPermissions(DefaultSpacePermissionManager.java:140)        ... 60 moreCaused by: net.sf.hibernate.HibernateException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet        at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:147)        at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:155)        at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1407)        at com.atlassian.hibernate.adapter.adapters.query.QueryV2Adapter.list(QueryV2Adapter.java:201)        at com.atlassian.hibernate.HibernateObjectDao.lambda$findNamedQueryStringParams$5(HibernateObjectDao.java:432)        at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370)        ... 65 moreCaused by: org.hibernate.exception.SQLGrammarException: could not extract ResultSet        at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63)        at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)        at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:79)        at org.hibernate.loader.Loader.getResultSet(Loader.java:2123)        at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1911)        at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1887)        at org.hibernate.loader.Loader.doQuery(Loader.java:932)        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:349)        at org.hibernate.loader.Loader.doList(Loader.java:2615)        at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2460)        at org.hibernate.loader.Loader.list(Loader.java:2422)        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:502)        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:371)        at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:216)        at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1458)        at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1426)        at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1398)        ... 68 moreCaused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'spacepermi0_.PERMALLUSERSSUBJECT' in 'field list'        at sun.reflect.GeneratedConstructorAccessor247.newInstance(Unknown Source)        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)        at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)        at com.mysql.jdbc.Util.getInstance(Util.java:408)        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3970)        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3906)        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2677)        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2549)        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1962)        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:379)        at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:70)        ... 82 more
```


author: Nic Brough -Adaptavist-
body: If it's **just** the attachments, then yes, there's only the physical attachment files in there.


author: Jose Medina
body: Thanks for the prompt respond, This is the last error I get when I try to start confluence 6.

```
2017-01-10 11:04:50,518 ERROR [org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean#13d37f99-1] [confluence.impl.startup.ConfluenceStartAnalyticsEventPublisher] tryPublishEvent Failed to publish confluence.start eventjava.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.CompletionException: java.lang.reflect.UndeclaredThrowableException        at com.atlassian.confluence.util.ReadOnlyLicenseCalculator.handleExecutionFailure(ReadOnlyLicenseCalculator.java:84)        at com.atlassian.confluence.util.ReadOnlyLicenseCalculator.getNumberOfLicensedUsers(ReadOnlyLicenseCalculator.java:65)        at com.atlassian.confluence.util.DefaultUserChecker.getNumberOfRegisteredUsers(DefaultUserChecker.java:43)        at com.atlassian.confluence.impl.startup.ConfluenceStartAnalyticsEventFactory.populateUserStatistics(ConfluenceStartAnalyticsEventFactory.java:109)        at com.atlassian.confluence.impl.startup.ConfluenceStartAnalyticsEventFactory.lambda$createConfluenceStartEvent$0(ConfluenceStartAnalyticsEventFactory.java:80)        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)        at com.atlassian.confluence.impl.startup.ConfluenceStartAnalyticsEventFactory.createConfluenceStartEvent(ConfluenceStartAnalyticsEventFactory.java:72)        at com.atlassian.confluence.impl.startup.ConfluenceStartAnalyticsEventPublisher.tryPublishEvent(ConfluenceStartAnalyticsEventPublisher.java:86)        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)        at java.util.concurrent.FutureTask.run(FutureTask.java:266)        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)        at java.lang.Thread.run(Thread.java:745)Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.CompletionException: java.lang.reflect.UndeclaredThrowableException        at java.util.concurrent.FutureTask.report(FutureTask.java:122)        at java.util.concurrent.FutureTask.get(FutureTask.java:206)        at com.atlassian.confluence.util.ReadOnlyLicenseCalculator.getNumberOfLicensedUsers(ReadOnlyLicenseCalculator.java:61)        ... 13 moreCaused by: java.util.concurrent.CompletionException: java.lang.reflect.UndeclaredThrowableException        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)        at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:824)        at java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:834)        at java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2155)        at java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:110)        at com.atlassian.confluence.impl.concurrency.CompletionStageUtils.foldResult(CompletionStageUtils.java:19)        at com.atlassian.confluence.impl.vcache.SynchronousExternalCache.get(SynchronousExternalCache.java:236)        at com.atlassian.confluence.impl.user.RegisteredUsersCache.getNumberOfRegisteredUsers(RegisteredUsersCache.java:40)        at com.atlassian.confluence.util.ReadOnlyLicenseCalculator.lambda$getNumberOfLicensedUsers$1(ReadOnlyLicenseCalculator.java:55)        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)        at com.atlassian.confluence.util.transaction.ReadOnlyTransactionalTask.call(ReadOnlyTransactionalTask.java:26)        at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)        at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)        at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$withRequestContext$1(VCacheRequestContextOperations.java:59)        at java.util.concurrent.FutureTask.run(FutureTask.java:266)        ... 3 moreCaused by: java.lang.reflect.UndeclaredThrowableException        at com.sun.proxy.$Proxy76.getGlobalPermissions(Unknown Source)        at com.atlassian.confluence.security.SpacePermissionCoordinator.getGlobalPermissions(SpacePermissionCoordinator.java:300)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:498)        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)        at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)        at com.sun.proxy.$Proxy79.getGlobalPermissions(Unknown Source)        at com.atlassian.confluence.user.DefaultUserAccessor.getUserNamesWithConfluenceAccess(DefaultUserAccessor.java:434)        at com.atlassian.confluence.user.DefaultUserAccessor.countLicenseConsumingUsers(DefaultUserAccessor.java:492)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:498)        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)        at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)        at com.sun.proxy.$Proxy84.countLicenseConsumingUsers(Unknown Source)        at com.atlassian.confluence.util.ReadOnlyLicenseCalculator.lookupNumberOfLicensedUsers(ReadOnlyLicenseCalculator.java:76)        at com.atlassian.confluence.impl.user.RegisteredUsersCache.lambda$getNumberOfRegisteredUsers$0(RegisteredUsersCache.java:40)        at com.atlassian.confluence.impl.vcache.SynchronousExternalCache.lambda$get$11(SynchronousExternalCache.java:239)        at com.atlassian.confluence.impl.concurrency.CompletionStageUtils.lambda$foldResult$0(CompletionStageUtils.java:19)        at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822)        ... 16 moreCaused by: java.lang.reflect.InvocationTargetException        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:498)        at com.atlassian.confluence.impl.security.SpacePermissionManagerFactory.lambda$new$0(SpacePermissionManagerFactory.java:70)        ... 55 moreCaused by: org.springframework.orm.hibernate.HibernateSystemException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet; nested exception is net.sf.hibernate.HibernateException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet        at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:597)        at org.springframework.orm.hibernate.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:353)        at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:375)        at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:341)        at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:408)        at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParam(HibernateObjectDao.java:284)        at com.atlassian.confluence.security.persistence.dao.hibernate.HibernateSpacePermissionDao.findAllGlobalPermissionsForType(HibernateSpacePermissionDao.java:47)        at com.atlassian.confluence.security.DefaultSpacePermissionManager.getGlobalPermissions(DefaultSpacePermissionManager.java:140)        ... 60 moreCaused by: net.sf.hibernate.HibernateException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet        at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:147)        at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:155)        at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1407)        at com.atlassian.hibernate.adapter.adapters.query.QueryV2Adapter.list(QueryV2Adapter.java:201)        at com.atlassian.hibernate.HibernateObjectDao.lambda$findNamedQueryStringParams$5(HibernateObjectDao.java:432)        at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370)        ... 65 moreCaused by: org.hibernate.exception.SQLGrammarException: could not extract ResultSet        at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63)        at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)        at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:79)        at org.hibernate.loader.Loader.getResultSet(Loader.java:2123)        at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1911)        at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1887)        at org.hibernate.loader.Loader.doQuery(Loader.java:932)        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:349)        at org.hibernate.loader.Loader.doList(Loader.java:2615)        at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2460)        at org.hibernate.loader.Loader.list(Loader.java:2422)        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:502)        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:371)        at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:216)        at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1458)        at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1426)        at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1398)        ... 68 moreCaused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'spacepermi0_.PERMALLUSERSSUBJECT' in 'field list'        at sun.reflect.GeneratedConstructorAccessor247.newInstance(Unknown Source)        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)        at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)        at com.mysql.jdbc.Util.getInstance(Util.java:408)        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3970)        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3906)        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2677)        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2549)        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1962)        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:379)        at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:70)        ... 82 more2017-01-10 11:06:12,847 WARN [localhost-startStop-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextDestroyed Failed to shut down plugin system during ServletContext shutdown: Cannot go from State: RESUMING to: SHUTTING_DOWN2017-01-10 11:06:13,024 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] destroy Shutting down long running task service2017-01-10 11:06:13,059 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] shutdownCacheManager Shutting down EhCache cache manager2017-01-10 11:06:13,069 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence2017-01-10 11:06:15,989 WARN [Navlink Plugin Executor:thread-4] [atlassian.config.util.BootstrapUtils] getBootstrapManager Attempting to retrieve bootstrap manager before it is set up: com.atlassian.confluence.languages.DefaultLocaleManager.getLocale(DefaultLocaleManager.java:74)
```


Tags: confluence-administration