Hello,
Can somebody provide any information on how to troubleshoot this issue? We are attempting to migrate to Confluence Cloud instance from DC (postgresql DB), and am currently unable to boot Confluence to install the migration tool.
Can site exports be accomplished via CLI?
See below of screenshot of specific error.
Error:
JDBC exception on Hibernate data access: SQLException for SQL [n/a]; SQL state [XX000]; error code [0]; could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet |
Can you delete all application logs, start up Confluence and post the first few stack traces from the confluence-application.log? We should be able to help get it sorted out.
I exported my logs from the var and opt directories. Did not see the confluence application log file. Here is a snippet from atlassian-confluence.log
2022-02-24 09:53:00,252 ERROR [Catalina-utility-1] [atlassian.confluence.setup.DefaultDatabaseVerifier] verifyCollationOfDatabase The collation of database is not set correctly!
2022-02-24 09:53:00,449 WARN [Catalina-utility-1] [confluence.impl.health.DefaultHealthCheckRunner] logEvent The database collation 'C' is not supported by Confluence. You need to use 'utf-8'.
2022-02-24 09:53:00,449 WARN [Catalina-utility-1] [confluence.impl.health.DefaultHealthCheckRunner] logEvent The database collation 'C' is not supported by Confluence. You need to use 'utf-8'.
2022-02-24 09:53:01,273 WARN [Catalina-utility-1] [org.twdata.pkgscanner.ExportPackageListBuilder] logDuplicateWarning Package Scanner found duplicates for package 'javax.annotation' with different versions. Files: javax.annotation-api-1.3.2.jar and jsr305-3.0.1.jar
'/opt/atlassian/confluence/confluence/WEB-INF/lib/javax.annotation-api-1.3.2.jar'
'/opt/atlassian/confluence/confluence/WEB-INF/lib/jsr305-3.0.1.jar'
2022-02-24 09:53:02,556 WARN [FelixStartLevel] [extender.internal.support.ExtenderConfiguration] addDefaultDependencyFactories Gemini Blueprint extensions bundle not present, annotation processing disabled.
2022-02-24 09:53:14,711 WARN [ThreadPoolAsyncTaskExecutor::Thread 19] [spring.scanner.util.ProductFilterUtil] detectProduct Couldn't detect product, will use ProductFilter.ALL
2022-02-24 09:53:17,964 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'eventPublisher' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=eventPublisher; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,965 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'pluginAccessor' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=pluginAccessor; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,965 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'pluginMetadataManager' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=pluginMetadataManager; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,965 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'servletContextFactory' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=servletContextFactory; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,965 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'applicationProperties' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=applicationProperties; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,966 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'helpPathResolver' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=helpPathResolver; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,966 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'i18nResolver' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=i18nResolver; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,966 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'localeResolver' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=localeResolver; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,967 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'pluginScheduler' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=pluginScheduler; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,967 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'timeZoneManager' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=timeZoneManager; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,968 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'userManager' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=userManager; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,969 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'userSettingsService' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=userSettingsService; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:17,969 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [beans.factory.support.DefaultListableBeanFactory] registerBeanDefinition Overriding user-defined bean definition for bean 'templateRenderer' with a framework-generated bean definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.atlassian.troubleshooting.spring.ImportedOsgiServiceBeans; factoryMethodName=templateRenderer; initMethodName=null; destroyMethodName=(inferred); defined in OSGi resource[classpath:com/atlassian/troubleshooting/spring/ImportedOsgiServiceBeans.class|bnd.id=200|bnd.sym=com.atlassian.troubleshooting.plugin-confluence]] with [Root bean: class [org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2022-02-24 09:53:30,065 WARN [ThreadPoolAsyncTaskExecutor::Thread 5] [client.eventfilter.whitelist.AnalyticsWhitelistModuleDescriptor] readPluginWhitelist No whitelist resource file found at [mediaviewer/lib/analytics-whitelist.json] in plugin [com.atlassian.confluence.plugins.confluence-previews] (bundle entry not found)
2022-02-24 09:53:30,072 WARN [ThreadPoolAsyncTaskExecutor::Thread 5] [client.eventfilter.whitelist.AnalyticsWhitelistModuleDescriptor] readPluginWhitelist No whitelist resource file found at [mediaviewer/lib/analytics-whitelist.json] in plugin [com.atlassian.confluence.plugins.confluence-previews] (null InputStream)
2022-02-24 09:53:30,338 WARN [AtlassianEvent::CustomizableThreadFactory-2] [persistence.schema.hibernate.HibernateSchemaComparator] lambda$compareTables$0 Schema check for table [EVENTS] encountered an error. Turn debug logging on for stacktrace.
2022-02-24 09:53:30,341 WARN [AtlassianEvent::CustomizableThreadFactory-2] [persistence.schema.hibernate.HibernateSchemaComparator] lambda$compareTables$0 Schema check for table [SECRETS] encountered an error. Turn debug logging on for stacktrace.
2022-02-24 09:53:30,351 WARN [AtlassianEvent::CustomizableThreadFactory-2] [persistence.schema.hibernate.HibernateSchemaComparator] lambda$compareTables$0 Schema check for table [SNAPSHOTS] encountered an error. Turn debug logging on for stacktrace.
2022-02-24 09:53:35,035 WARN [SiteSummaryCalculator:thread-1] [hibernate.boot.internal.SessionFactoryOptionsBuilder] doLog org.hibernate.tool.schema.Action cannot be cast to java.lang.String Ignoring
2022-02-24 09:53:42,524 WARN [lifecycle:thread-18] [expose.jmx.schedule.JmxInstrumentSchedulerImpl] onStart atlassian-instrumentation-jmx expose scheduler started.
2022-02-24 09:53:42,657 WARN [lifecycle:thread-8] [hql.internal.ast.HqlSqlWalker] generatePositionalParameter [DEPRECATION] Encountered positional parameter near line 1, column 93 in HQL: [FROM com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJob t WHERE t.jobId = ?]. Positional parameter are considered deprecated; use named parameters or JPA-style positional parameters instead.
2022-02-24 09:53:55,613 WARN [ListenableFutureAdapter-thread-1] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] enableSharedDrafts [Collab editing plugin] Enabling Shared Drafts
2022-02-24 09:54:00,068 WARN [Caesium-1-3] [agent.service.impl.DetectedUserEmailAnalyticsService] collectAndSendEvents There are no cloud sites linked. Skip job.
-- jobId: 81487ad0-4a79-4d73-bf7d-1dc787bd68c0 | jobRunnerId: migration-plugin:detected-emails-runner
2022-02-24 09:54:00,113 WARN [Caesium-1-3] [impl.schedule.caesium.JobRunnerWrapper] runJob Scheduled job LaasPerformanceLoggingJob#LaasPerformanceLoggingJob completed unsuccessfully with response JobRunnerResponse[runOutcome=ABORTED,message='LaaS performance logging is turned off']
2022-02-24 09:54:00,281 ERROR [Catalina-utility-1] [engine.jdbc.spi.SqlExceptionHelper] logExceptions ERROR: could not find left sibling of block 39196 in index "job_id_start_time_idx"
2022-02-24 09:54:00,303 WARN [Catalina-utility-1] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
->[com.atlassian.confluence.schedule.quartz.ManagedScheduledJobTriggerFactory.initialiseTriggers]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #1263665000)
Showing 10 last transactions at this level out of 24 in total:
[com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #1355257220)
[com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.delete]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #433711453)
[com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #303713480)
[com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.delete]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #1379660779)
[com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #633904427)
[com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.delete]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #1164540733)
[com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #1848849309)
[com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.delete]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #414217381)
[com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.find]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #659666932)
[com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao.delete]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #342162790)
2022-02-24 09:54:00,306 ERROR [Catalina-utility-1] [atlassian.config.lifecycle.LifecycleManager] panicAndShutdown Unable to start up Confluence. Fatal error during startup sequence: confluence.lifecycle.core:mananagedjobs (Start and stop the Managed Scheduled Jobs)
org.springframework.orm.hibernate5.HibernateJdbcException: JDBC exception on Hibernate data access: SQLException for SQL [n/a]; SQL state [XX000]; error code [0]; could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet
at org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:248)
at org.springframework.orm.hibernate5.HibernateTemplate.doExecute(HibernateTemplate.java:368)
at org.springframework.orm.hibernate5.HibernateTemplate.execute(HibernateTemplate.java:315)
at com.atlassian.confluence.internal.schedule.persistence.dao.HibernateInternalRunDetailsDao.getRecentRunDetails(HibernateInternalRunDetailsDao.java:102)
at com.atlassian.confluence.internal.schedule.persistence.dao.HibernateInternalRunDetailsDao.getRecentRunDetails(HibernateInternalRunDetailsDao.java:114)
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:333)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
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:213)
at com.sun.proxy.$Proxy131.getRecentRunDetails(Unknown Source)
at com.atlassian.confluence.schedule.managers.DefaultScheduledJobStatusManager.getScheduledJobStatus(DefaultScheduledJobStatusManager.java:70)
at com.atlassian.confluence.schedule.managers.DefaultScheduledJobManager.getScheduledJob(DefaultScheduledJobManager.java:98)
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:333)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
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:213)
at com.sun.proxy.$Proxy133.getScheduledJob(Unknown Source)
at com.atlassian.confluence.schedule.quartz.ManagedScheduledJobTriggerFactory.createAndRegisterTrigger(ManagedScheduledJobTriggerFactory.java:218)
at com.atlassian.confluence.schedule.quartz.ManagedScheduledJobTriggerFactory.initialiseTriggers(ManagedScheduledJobTriggerFactory.java:152)
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:333)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
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:213)
at com.sun.proxy.$Proxy151.initialiseTriggers(Unknown Source)
at com.atlassian.confluence.schedule.listeners.ManagedScheduledJobsLifecycle.startup(ManagedScheduledJobsLifecycle.java:24)
at com.atlassian.confluence.impl.setup.DefaultLifecycleManager.startUp(DefaultLifecycleManager.java:49)
at com.atlassian.config.lifecycle.LifecycleServletContextListener.contextInitialized(LifecycleServletContextListener.java:17)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.hibernate.exception.GenericJDBCException: could not extract ResultSet
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
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:80)
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.doList(Loader.java:2598)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2430)
at org.hibernate.loader.Loader.list(Loader.java:2425)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:502)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:370)
at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:216)
at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1481)
at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1441)
at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1410)
at com.atlassian.confluence.internal.schedule.persistence.dao.HibernateInternalRunDetailsDao.lambda$getRecentRunDetails$0(HibernateInternalRunDetailsDao.java:108)
at org.springframework.orm.hibernate5.HibernateTemplate.doExecute(HibernateTemplate.java:361)
... 61 more
Caused by: org.postgresql.util.PSQLException: ERROR: could not find left sibling of block 39196 in index "job_id_start_time_idx"
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2476)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2189)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:300)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:428)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:354)
at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:169)
at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:117)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:379)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:71)
... 78 more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since posting the log keeps disappearing, here is a pastebin link to the logs.
I could not find confluence-application.log, the pastebin snippet was the closest thing I could find in the /var directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for the late reply. The answer seems to be at the very beginning of the log:
2022-02-24 09:53:00,252 ERROR [Catalina-utility-1] [atlassian.confluence.setup.DefaultDatabaseVerifier] verifyCollationOfDatabase The collation of database is not set correctly!
2022-02-24 09:53:00,449 WARN [Catalina-utility-1] [confluence.impl.health.DefaultHealthCheckRunner] logEvent The database collation 'C' is not supported by Confluence. You need to use 'utf-8'.
When the database instance was created, the wrong collation was used. I wasn't able to tell which database technology you are using, so you'll need to find the appropriate doc for the database type you are using. You need to pay close attention to use only a supported collation and also the GRANTS specified or things don't work right.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.