Hello,
I am trying to upgrade my on-prem Confluence Data Center environment from v7.4.17 to v7.13.0. I want to go here instead of directly to the latest version because our Postgres database version is v9.6, and I want to also upgrade that to the latest available version.
I have a testing environment where I've stood up another v7.4.17 environment, identically deployed via automated Helm charts into a Rancher Kubernetes cluster. When I attempt to deploy a v7.13.0 Helm chart, the upgrade seems to work, but then it receives an error at some point. After the error, the deployment is in a stuck state and I cannot access the application. This same error occurs when attempting to upgrade either a new deployment, or a deployment with an imported copy of our production data. The error is below.
Any assistance that could be shared in helping me resolve this issue would be greatly appreciated. Thank you.
Type Exception Report
Message Error creating bean with name 'manualBackupsAdminTask' defined in class path resource [applicationContext.xml]: Cannot create inner bean 'com.atlassian.confluence.admin.criteria.BackupsAreManualCriteria#5928f900' of type [com.atlassian.confluence.admin.criteria.BackupsAreManualCriteria] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.admin.criteria.BackupsAreManualCriteria#5928f900' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'scheduledJobManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduledJobManager' defined in class path resource [schedulingSubsystemContext.xml]: Cannot resolve reference to bean 'scheduledJobManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduledJobManagerTarget' defined in class path resource [schedulingSubsystemContext.xml]: Cannot resolve reference to bean 'managedScheduledJobRegistry' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'managedScheduledJobRegistry' defined in class path resource [schedulingSubsystemContext.xml]: Cannot resolve reference to bean 'managedSystemJobs' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'managedSystemJobs' defined in class path resource [schedulingSubsystemManagedContext.xml]: Cannot create inner bean 'com.atlassian.confluence.schedule.ManagedScheduledSimpleJob#65d4ae2c' of type [com.atlassian.confluence.schedule.ManagedScheduledSimpleJob] while setting constructor argument with key [21]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.schedule.ManagedScheduledSimpleJob#65d4ae2c' defined in class path resource [schedulingSubsystemManagedContext.xml]: Cannot create inner bean 'com.atlassian.confluence.impl.search.IndexFlushScheduledJob#62b8ab81' of type [com.atlassian.confluence.impl.search.IndexFlushScheduledJob] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.impl.search.IndexFlushScheduledJob#62b8ab81' defined in class path resource [schedulingSubsystemManagedContext.xml]: Cannot resolve reference to bean 'luceneContentIndexFlushScheduler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneContentIndexFlushScheduler' defined in class path resource [schedulingSubsystemManagedContext.xml]: Cannot resolve reference to bean 'luceneContentIndexManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneContentIndexManager' defined in class path resource [indexingSubsystemContext.xml]: Cannot resolve reference to bean 'tenantedContentLuceneConnection' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantedContentLuceneConnection' defined in class path resource [indexingSubsystemContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bonnie.LuceneConnection]: Constructor threw exception; nested exception is com.atlassian.bonnie.LuceneException: org.apache.lucene.store.LockReleaseFailedException: Cannot forcefully unlock a NativeFSLock which is held by another indexer component: /var/atlassian/application-data/confluence/index/write.lock
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'manualBackupsAdminTask' defined in class path resource [applicationContext.xml]: Cannot create inner bean 'com.atlassian.confluence.admin.criteria.BackupsAreManualCriteria#5928f900' of type [com.atlassian.confluence.admin.criteria.BackupsAreManualCriteria] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.admin.criteria.BackupsAreManualCriteria#5928f900' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'scheduledJobManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduledJobManager' defined in class path resource [schedulingSubsystemContext.xml]: Cannot resolve reference to bean 'scheduledJobManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduledJobManagerTarget' defined in class path resource [schedulingSubsystemContext.xml]: Cannot resolve reference to bean 'managedScheduledJobRegistry' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'managedScheduledJobRegistry' defined in class path resource [schedulingSubsystemContext.xml]: Cannot resolve reference to bean 'managedSystemJobs' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'managedSystemJobs' defined in class path resource [schedulingSubsystemManagedContext.xml]: Cannot create inner bean 'com.atlassian.confluence.schedule.ManagedScheduledSimpleJob#65d4ae2c' of type [com.atlassian.confluence.schedule.ManagedScheduledSimpleJob] while setting constructor argument with key [21]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.schedule.ManagedScheduledSimpleJob#65d4ae2c' defined in class path resource [schedulingSubsystemManagedContext.xml]: Cannot create inner bean 'com.atlassian.confluence.impl.search.IndexFlushScheduledJob#62b8ab81' of type [com.atlassian.confluence.impl.search.IndexFlushScheduledJob] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.impl.search.IndexFlushScheduledJob#62b8ab81' defined in class path resource [schedulingSubsystemManagedContext.xml]: Cannot resolve reference to bean 'luceneContentIndexFlushScheduler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneContentIndexFlushScheduler' defined in class path resource [schedulingSubsystemManagedContext.xml]: Cannot resolve reference to bean 'luceneContentIndexManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneContentIndexManager' defined in class path resource [indexingSubsystemContext.xml]: Cannot resolve reference to bean 'tenantedContentLuceneConnection' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantedContentLuceneConnection' defined in class path resource [indexingSubsystemContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bonnie.LuceneConnection]: Constructor threw exception; nested exception is com.atlassian.bonnie.LuceneException: org.apache.lucene.store.LockReleaseFailedException: Cannot forcefully unlock a NativeFSLock which is held by another indexer component: /var/atlassian/application-data/confluence/index/write.lock