Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StuckThreadDetectionValve at setup/setupembeddeddb-default.action #53

Open
frostyandy2k opened this issue Sep 7, 2017 · 6 comments
Open

Comments

@frostyandy2k
Copy link

Hello

I have successfully used the image in April for creating and running a confluence install. Last month I wanted to upgrade the installation and tested the new image after building it. I could not make it run again and started seeing this WARN + exception:

2017-09-07 15:59:08,320 WARN [localhost-startStop-1] [atlassian.confluence.cluster.DefaultClusterConfigurationHelper] lambda$populateExistingClusterSetupConfig$1 Could not find shared config file.
07-Sep-2017 15:59:17.077 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]
07-Sep-2017 15:59:17.087 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 18380 ms
07-Sep-2017 16:01:07.204 WARNING [ContainerBackgroundProcessor[StandardEngine[Standalone]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread "http-nio-8090-exec-2" (id=33) has been active for 69,467 milliseconds (since 9/7/17 3:59 PM) to serve the same request for http://localhost:8090/setup/setupembeddeddb-default.action and may be stuck (configured threshold for this StuckThreadDetectionValve is 60 seconds). There is/are 1 thread(s) in total that are monitored by this Valve and may be stuck.
 java.lang.Throwable
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:219)
	at java.util.zip.ZipFile.<init>(ZipFile.java:149)
	at java.util.jar.JarFile.<init>(JarFile.java:166)
	at java.util.jar.JarFile.<init>(JarFile.java:130)
	at com.atlassian.plugin.JarPluginArtifact.open(JarPluginArtifact.java:244)
	at com.atlassian.plugin.JarPluginArtifact.getResourceAsStream(JarPluginArtifact.java:92)
	at com.atlassian.plugin.factories.LegacyDynamicPluginFactory.getDescriptorInputStream(LegacyDynamicPluginFactory.java:53)
	at com.atlassian.plugin.factories.AbstractPluginFactory.getPluginKeyFromDescriptor(AbstractPluginFactory.java:69)
	at com.atlassian.plugin.factories.AbstractPluginFactory.canCreate(AbstractPluginFactory.java:44)
	at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:140)
	at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:87)
	at com.atlassian.plugin.loaders.PermissionCheckingPluginLoader.loadAllPlugins(PermissionCheckingPluginLoader.java:28)
	at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:548)
	at com.atlassian.confluence.plugin.ConfluencePluginManager.earlyStartup(ConfluencePluginManager.java:143)
	at com.atlassian.confluence.setup.actions.AbstractSetupAction.lambda$transitionFromColdToVacantState$0(AbstractSetupAction.java:157)
	at com.atlassian.confluence.setup.actions.AbstractSetupAction$$Lambda$101/1524240246.run(Unknown Source)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at com.atlassian.confluence.tenant.TenantGate$3.call(TenantGate.java:145)
	at com.atlassian.confluence.setup.actions.AbstractSetupAction.transitionFromColdToVacantState(AbstractSetupAction.java:158)
	at com.atlassian.confluence.setup.actions.SetupEmbeddedDatabaseAction.setupDatabase(SetupEmbeddedDatabaseAction.java:17)
	at com.atlassian.confluence.setup.actions.AbstractDatabaseCreationAction.execute(AbstractDatabaseCreationAction.java:36)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.core.ConfluenceLicenseInterceptor.intercept(ConfluenceLicenseInterceptor.java:66)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.validation.MessageHolderInterceptor.intercept(MessageHolderInterceptor.java:37)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:44)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.core.CancellingInterceptor.intercept(CancellingInterceptor.java:21)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.xwork.HttpMethodValidationInterceptor.intercept(HttpMethodValidationInterceptor.java:68)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.security.websudo.WebSudoInterceptor.intercept(WebSudoInterceptor.java:34)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.themes.ThemeContextInterceptor.intercept(ThemeContextInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:55)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.setup.webwork.BootstrapAwareInterceptor.intercept(BootstrapAwareInterceptor.java:21)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.user.actions.UserAwareInterceptor.intercept(UserAwareInterceptor.java:53)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.pages.actions.CommentAwareInterceptor.intercept(CommentAwareInterceptor.java:39)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:66)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:71)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.security.interceptors.ConfluenceAccessInterceptor.intercept(ConfluenceAccessInterceptor.java:31)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.xwork.FlashScopeInterceptor.intercept(FlashScopeInterceptor.java:21)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:27)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:44)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:58)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.xwork.SetupIncompleteInterceptor.intercept(SetupIncompleteInterceptor.java:38)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.security.interceptors.SecurityHeadersInterceptor.intercept(SecurityHeadersInterceptor.java:39)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.setup.actions.SetupCheckInterceptor.intercept(SetupCheckInterceptor.java:27)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)
	at com.atlassian.confluence.servlet.ConfluenceServletDispatcher.serviceAction(ConfluenceServletDispatcher.java:56)
	at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:46)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.security.websudo.MessagesDecoratorFilter.doFilter(MessagesDecoratorFilter.java:59)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
	at com.atlassian.confluence.util.profiling.ProfilingSiteMeshFilter.doFilter(ProfilingSiteMeshFilter.java:45)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:98)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.cache.TransactionalCacheFactoryCleanupFilter.doFilter(TransactionalCacheFactoryCleanupFilter.java:22)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.UserLoggingContextFilter.doFilter(UserLoggingContextFilter.java:32)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.UserNameHeaderFilter.doFilter(UserNameHeaderFilter.java:25)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.MauEventFilter.doFilter(MauEventFilter.java:42)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:39)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.ConfluenceTimeoutFilter.doFilter(ConfluenceTimeoutFilter.java:57)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:88)
	at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.doFilter(ConfluenceSecurityFilter.java:25)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.ThreadLocalCacheFilter.doFilter(ThreadLocalCacheFilter.java:25)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter$SwapOnBootstrapFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:42)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:32)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:148)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:56)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.ConfluenceOpenSessionInViewFilter.doFilterInternal(ConfluenceOpenSessionInViewFilter.java:38)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.ConfluenceErrorFilter.doFilter(ConfluenceErrorFilter.java:24)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:99)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:37)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.tenant.TenantGateFilter.lambda$doFilter$0(TenantGateFilter.java:35)
	at com.atlassian.confluence.tenant.TenantGateFilter$$Lambda$56/1953671335.call(Unknown Source)
	at com.atlassian.confluence.tenant.TenantGate$3.call(TenantGate.java:145)
	at com.atlassian.confluence.tenant.TenantGateFilter.doFilter(TenantGateFilter.java:37)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.internal.web.filter.spring.IgnoreWebAsyncManagerFilter.doFilter(IgnoreWebAsyncManagerFilter.java:59)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter.doFilter(RequestParamValidationFilter.java:51)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.TranslationModeFilter.doFilter(TranslationModeFilter.java:39)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.plugin.servlet.filter.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:72)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.LanguageExtractionFilter.doFilter(LanguageExtractionFilter.java:49)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.impl.vcache.VCacheRequestContextFilter.doFilter(VCacheRequestContextFilter.java:58)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:33)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:65)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.ZipkinTracingFilter.doFilter(ZipkinTracingFilter.java:54)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.ResponseOutputStreamFilter.doFilter(ResponseOutputStreamFilter.java:23)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72)
	at com.atlassian.confluence.web.ConfluenceJohnsonFilter.doFilter(ConfluenceJohnsonFilter.java:33)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:41)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.impl.servlet.HoldingUntilStartedFilter.doFilter(HoldingUntilStartedFilter.java:88)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:64)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:46)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1533)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1489)
	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)

This seems to have happend about 2 months ago, was not able to use the image afterwards. Any ideas?
Even new installs (different server, fresh image, recreate container, removed volumes) fail with the same problem.

Running Docker 17.06.1-ce on Mac OSX and Docker 17.06.1-ce on Ubuntu 16.04.

@frostyandy2k
Copy link
Author

frostyandy2k commented Sep 7, 2017

After several refreshes in the browser I got (note, the CPU usage was very high for a while and then went back to zero - I used the trial install):

System Error

A system error has occurred — our apologies!

For immediate troubleshooting, consult our knowledge base for a solution.

If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:

a description of your problem and what you were doing at the time it occurred
a copy of the error and system information found below
a copy of the application logs (if possible).
Your Confluence administrator can use the support request form to create a support ticket which will include this information.

We will respond as promptly as possible.
Thank you!

Return to site homepage…

The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report. 
The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set
Cause

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
    at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: java.lang.IllegalStateException: Spring Application context has not been set
    at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)

Stack Trace:[hide]

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
	at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
	at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)
	at com.atlassian.confluence.setup.webwork.ConfluenceXWorkTransactionInterceptor.getTransactionManager(ConfluenceXWorkTransactionInterceptor.java:28)
	at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:56)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.xwork.SetupIncompleteInterceptor.intercept(SetupIncompleteInterceptor.java:38)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.security.interceptors.SecurityHeadersInterceptor.intercept(SecurityHeadersInterceptor.java:39)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.atlassian.confluence.setup.actions.SetupCheckInterceptor.intercept(SetupCheckInterceptor.java:27)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)
	at com.atlassian.confluence.servlet.ConfluenceServletDispatcher.serviceAction(ConfluenceServletDispatcher.java:56)
	at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:46)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.security.websudo.MessagesDecoratorFilter.doFilter(MessagesDecoratorFilter.java:59)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
	at com.atlassian.confluence.util.profiling.ProfilingSiteMeshFilter.doFilter(ProfilingSiteMeshFilter.java:45)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:98)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.cache.TransactionalCacheFactoryCleanupFilter.doFilter(TransactionalCacheFactoryCleanupFilter.java:22)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.UserLoggingContextFilter.doFilter(UserLoggingContextFilter.java:32)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.UserNameHeaderFilter.doFilter(UserNameHeaderFilter.java:25)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.MauEventFilter.doFilter(MauEventFilter.java:42)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:39)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.ConfluenceTimeoutFilter.doFilter(ConfluenceTimeoutFilter.java:57)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:88)
	at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.doFilter(ConfluenceSecurityFilter.java:25)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.ThreadLocalCacheFilter.doFilter(ThreadLocalCacheFilter.java:25)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter$SwapOnBootstrapFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:42)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:32)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:148)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:56)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.ConfluenceOpenSessionInViewFilter.doFilterInternal(ConfluenceOpenSessionInViewFilter.java:38)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.ConfluenceErrorFilter.doFilter(ConfluenceErrorFilter.java:24)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:99)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:37)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.tenant.TenantGateFilter.lambda$doFilter$0(TenantGateFilter.java:35)
	at com.atlassian.confluence.tenant.TenantGate$3.call(TenantGate.java:145)
	at com.atlassian.confluence.tenant.TenantGateFilter.doFilter(TenantGateFilter.java:37)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.internal.web.filter.spring.IgnoreWebAsyncManagerFilter.doFilter(IgnoreWebAsyncManagerFilter.java:59)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter.doFilter(RequestParamValidationFilter.java:51)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.TranslationModeFilter.doFilter(TranslationModeFilter.java:39)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.plugin.servlet.filter.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:72)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.LanguageExtractionFilter.doFilter(LanguageExtractionFilter.java:49)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.impl.vcache.VCacheRequestContextFilter.doFilter(VCacheRequestContextFilter.java:58)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:33)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:65)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.ZipkinTracingFilter.doFilter(ZipkinTracingFilter.java:54)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.ResponseOutputStreamFilter.doFilter(ResponseOutputStreamFilter.java:23)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72)
	at com.atlassian.confluence.web.ConfluenceJohnsonFilter.doFilter(ConfluenceJohnsonFilter.java:33)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:41)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.impl.servlet.HoldingUntilStartedFilter.doFilter(HoldingUntilStartedFilter.java:88)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:64)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:46)
	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1533)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1489)
	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: java.lang.IllegalStateException: Spring Application context has not been set
	at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)
	at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)
	at com.atlassian.confluence.util.LazyComponentReference$Accessor.get(LazyComponentReference.java:42)
	at com.atlassian.util.concurrent.Lazy$Strong.create(Lazy.java:85)
	at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:325)
	at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143)
	... 197 more

        
Referer URL

http://localhost:8090/setup/setupembeddeddb-default.action

@frostyandy2k
Copy link
Author

frostyandy2k commented Sep 7, 2017

Hmm.. it seems after further experimentation that if I leave the container started for a while (after setting the database) it crashes with a 137 error (out of memory). I don't know which part of it crashes or if this is another problem.

Also tried with latest version of confluence (6.4.0).

@frostyandy2k
Copy link
Author

When I choose the production database and connect to the standard postgre:9.6 container i see the following in the log output:

2017-09-07T19:17:03.542695439Z LOG:  database system was shut down at 2017-09-07 19:17:02 UTC
2017-09-07T19:17:03.545054205Z LOG:  MultiXact member wraparound protections are now enabled
2017-09-07T19:17:03.549877018Z LOG:  autovacuum launcher started
2017-09-07T19:17:03.550800187Z LOG:  database system is ready to accept connections
2017-09-07T19:18:48.767384279Z ERROR:  relation "attachments" does not exist at character 22
2017-09-07T19:18:48.767432825Z STATEMENT:  select count(*) from ATTACHMENTS
2017-09-07T19:18:48.781647248Z ERROR:  relation "bodycontent" does not exist at character 22
2017-09-07T19:18:48.781687903Z STATEMENT:  select count(*) from BODYCONTENT
2017-09-07T19:18:48.782361750Z ERROR:  relation "content" does not exist at character 22
2017-09-07T19:18:48.782382227Z STATEMENT:  select count(*) from CONTENT
2017-09-07T19:18:48.782922724Z ERROR:  relation "contentlock" does not exist at character 22
2017-09-07T19:18:48.782943700Z STATEMENT:  select count(*) from CONTENTLOCK
2017-09-07T19:18:48.783570500Z ERROR:  relation "extrnlnks" does not exist at character 22
2017-09-07T19:18:48.783590278Z STATEMENT:  select count(*) from EXTRNLNKS
2017-09-07T19:18:48.784464202Z ERROR:  relation "links" does not exist at character 22
2017-09-07T19:18:48.784503358Z STATEMENT:  select count(*) from LINKS
2017-09-07T19:18:48.786504523Z ERROR:  relation "notifications" does not exist at character 22
2017-09-07T19:18:48.786556565Z STATEMENT:  select count(*) from NOTIFICATIONS
2017-09-07T19:18:48.787903361Z ERROR:  relation "os_group" does not exist at character 22
2017-09-07T19:18:48.787939920Z STATEMENT:  select count(*) from os_group
2017-09-07T19:18:48.788723844Z ERROR:  relation "os_propertyentry" does not exist at character 22
2017-09-07T19:18:48.788784077Z STATEMENT:  select count(*) from OS_PROPERTYENTRY
2017-09-07T19:18:48.789318880Z ERROR:  relation "os_user" does not exist at character 22
2017-09-07T19:18:48.789343252Z STATEMENT:  select count(*) from os_user
2017-09-07T19:18:48.789795447Z ERROR:  relation "os_user_group" does not exist at character 22
2017-09-07T19:18:48.789819720Z STATEMENT:  select count(*) from os_user_group
2017-09-07T19:18:48.790148453Z ERROR:  relation "pagetemplates" does not exist at character 22
2017-09-07T19:18:48.790170329Z STATEMENT:  select count(*) from PAGETEMPLATES
2017-09-07T19:18:48.790627118Z ERROR:  relation "spacepermissions" does not exist at character 22
2017-09-07T19:18:48.790651891Z STATEMENT:  select count(*) from SPACEPERMISSIONS
2017-09-07T19:18:48.790995107Z ERROR:  relation "spaces" does not exist at character 22
2017-09-07T19:18:48.791018581Z STATEMENT:  select count(*) from SPACES
2017-09-07T19:18:48.791357003Z ERROR:  relation "trackbacklinks" does not exist at character 22
2017-09-07T19:18:48.791380177Z STATEMENT:  select count(*) from TRACKBACKLINKS

@cptactionhank
Copy link
Owner

It does not really leave me with details I can debug from, the Out of memory issue might be that you're container is limited to less than the host machines. I think it was only in Java 9 the JVM is able to know the memory limitation when running in a container.

Please provide details about the host machine, CPU, RAM.
Please provide details about how you create the image
Please provide details about how you create the container

@frostyandy2k
Copy link
Author

Sorry for not being specific enough and thank you for the quick reply.

I tested it with:
docker run --detach --publish 8090:8090 cptactionhank/atlassian-confluence:latest
And production database:
docker run --rm -d -e POSTGRES_USER=conf -e POSTGRES_DB=confluence -e POSTGRES_PASSWORD=12345 --publish 5432:5432 postgres:9.6
The behaviour is similar to my forked version of your container, although mine takes longer to get unstuck.

The OOM issue was related to the docker configuration on my MacOSX (2,7Ghz i5, 16GB RAM but only 1GB Assigned to Docker). The OOM issue is resolved and the container gets unstuck after a while. I can go beyond the database install and use confluence.

However, it takes a very long time to get unstuck. After receiving the SQL error messages (above) I receive the following:

2017-09-07T23:31:57.961426813Z WARNING [ContainerBackgroundProcessor[StandardEngine[Standalone]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadCompleted Thread "http-nio-8090-exec-8" (id=42) was previously reported to be stuck but has completed. It was active for approximately 226,394 milliseconds.

At the same time with the unstucking i receive another round of SQL error messages (below). I am not sure if I can ignore them and safely use Confluence or future data might get corrupted.

2017-09-07T23:29:54.743929869Z STATEMENT:  select count(*) from OS_PROPERTYENTRY
2017-09-07T23:29:54.744552050Z ERROR:  relation "os_user" does not exist at character 22
2017-09-07T23:29:54.744572147Z STATEMENT:  select count(*) from os_user
2017-09-07T23:29:54.745216106Z ERROR:  relation "os_user_group" does not exist at character 22
2017-09-07T23:29:54.745240961Z STATEMENT:  select count(*) from os_user_group
2017-09-07T23:29:54.746003357Z ERROR:  relation "pagetemplates" does not exist at character 22
2017-09-07T23:29:54.746053741Z STATEMENT:  select count(*) from PAGETEMPLATES
2017-09-07T23:29:54.746529332Z ERROR:  relation "spacepermissions" does not exist at character 22
2017-09-07T23:29:54.746572870Z STATEMENT:  select count(*) from SPACEPERMISSIONS
2017-09-07T23:29:54.746973271Z ERROR:  relation "spaces" does not exist at character 22
2017-09-07T23:29:54.747009737Z STATEMENT:  select count(*) from SPACES
2017-09-07T23:29:54.747431771Z ERROR:  relation "trackbacklinks" does not exist at character 22
2017-09-07T23:29:54.747533517Z STATEMENT:  select count(*) from TRACKBACKLINKS
2017-09-07T23:31:53.474889549Z ERROR:  relation "attachmentdata" does not exist
2017-09-07T23:31:53.475787711Z STATEMENT:  alter table ATTACHMENTDATA drop constraint FKjnh4yvwen0176qsvh4rpsry2j
2017-09-07T23:31:53.475830898Z ERROR:  relation "audit_affected_object" does not exist
2017-09-07T23:31:53.475840655Z STATEMENT:  alter table AUDIT_AFFECTED_OBJECT drop constraint FK_AFFECTED_OBJECT_RECORD
2017-09-07T23:31:53.486067509Z ERROR:  relation "audit_changed_value" does not exist
2017-09-07T23:31:53.486121331Z STATEMENT:  alter table AUDIT_CHANGED_VALUE drop constraint FK_CHANGED_VALUE_RECORD
2017-09-07T23:31:53.486131365Z ERROR:  relation "bodycontent" does not exist
2017-09-07T23:31:53.486136441Z STATEMENT:  alter table BODYCONTENT drop constraint FKmbyiayesfp1eiq6gmol3mk3yl
2017-09-07T23:31:53.486170494Z ERROR:  relation "confancestors" does not exist
2017-09-07T23:31:53.486177820Z STATEMENT:  alter table CONFANCESTORS drop constraint FKsqb1af9h7fvqtgy73o8jdcuue
2017-09-07T23:31:53.486182695Z ERROR:  relation "confancestors" does not exist
2017-09-07T23:31:53.486187316Z STATEMENT:  alter table CONFANCESTORS drop constraint FKlmhsipswol8imeqsg906ih62x
2017-09-07T23:31:53.486191969Z ERROR:  relation "content" does not exist
2017-09-07T23:31:53.486196569Z STATEMENT:  alter table CONTENT drop constraint FK_CONTENT_CREATOR
2017-09-07T23:31:53.486201278Z ERROR:  relation "content" does not exist
2017-09-07T23:31:53.486205838Z STATEMENT:  alter table CONTENT drop constraint FK_CONTENT_LASTMODIFIER
2017-09-07T23:31:53.487258732Z ERROR:  relation "content" does not exist
2017-09-07T23:31:53.487298015Z STATEMENT:  alter table CONTENT drop constraint FKk6kbb7suqeloj82nx7xdcd803
2017-09-07T23:31:53.487325207Z ERROR:  relation "content" does not exist
2017-09-07T23:31:53.487335826Z STATEMENT:  alter table CONTENT drop constraint FKwjyn6091q3l1gl7bh143ma2a
2017-09-07T23:31:53.489190560Z ERROR:  relation "content" does not exist
2017-09-07T23:31:53.489250944Z STATEMENT:  alter table CONTENT drop constraint FKlmweu06nft59g7mw1i1myorys
2017-09-07T23:31:53.489263254Z ERROR:  relation "content" does not exist
2017-09-07T23:31:53.489271400Z STATEMENT:  alter table CONTENT drop constraint FKoxtt893weujkyh0iicoxsm37v
2017-09-07T23:31:53.490030834Z ERROR:  relation "content" does not exist
2017-09-07T23:31:53.490384612Z STATEMENT:  alter table CONTENT drop constraint FKfiyhka48c7e776qj90klbpm9q
2017-09-07T23:31:53.490618903Z ERROR:  relation "content" does not exist
2017-09-07T23:31:53.490757485Z STATEMENT:  alter table CONTENT drop constraint FKal6o8xwypd4mdgid9b9nw1q51
2017-09-07T23:31:53.491157352Z ERROR:  relation "content" does not exist
2017-09-07T23:31:53.491266856Z STATEMENT:  alter table CONTENT drop constraint FK_CONTENT_USERNAME
2017-09-07T23:31:53.491989923Z ERROR:  relation "content_label" does not exist
2017-09-07T23:31:53.492084892Z STATEMENT:  alter table CONTENT_LABEL drop constraint FK91v3v5nemr532qq4gla9sj9tf
2017-09-07T23:31:53.492326358Z ERROR:  relation "content_label" does not exist
2017-09-07T23:31:53.492412772Z STATEMENT:  alter table CONTENT_LABEL drop constraint FKi8cvahsu6d2y285vtrp4nhc3w
2017-09-07T23:31:53.493066963Z ERROR:  relation "content_label" does not exist
2017-09-07T23:31:53.493090377Z STATEMENT:  alter table CONTENT_LABEL drop constraint FK28kifokt21qd9ges0q0wv0fb9
2017-09-07T23:31:53.493624954Z ERROR:  relation "content_label" does not exist
2017-09-07T23:31:53.493657163Z STATEMENT:  alter table CONTENT_LABEL drop constraint FK_CONTENT_LABEL_OWNER
2017-09-07T23:31:53.494299321Z ERROR:  relation "content_perm" does not exist
2017-09-07T23:31:53.494320938Z STATEMENT:  alter table CONTENT_PERM drop constraint FK_CONTENT_PERM_USERNAME
2017-09-07T23:31:53.494805682Z ERROR:  relation "content_perm" does not exist
2017-09-07T23:31:53.494825802Z STATEMENT:  alter table CONTENT_PERM drop constraint FKde5wl1cur1se9281gc0dsawtb
2017-09-07T23:31:53.495421669Z ERROR:  relation "content_perm" does not exist
2017-09-07T23:31:53.495450824Z STATEMENT:  alter table CONTENT_PERM drop constraint FK_CONTENT_PERM_CREATOR
2017-09-07T23:31:53.496254002Z ERROR:  relation "content_perm" does not exist
2017-09-07T23:31:53.496289510Z STATEMENT:  alter table CONTENT_PERM drop constraint FK_CONTENT_PERM_LASTMODIFIER
2017-09-07T23:31:53.499025675Z ERROR:  relation "content_perm_set" does not exist
2017-09-07T23:31:53.499065808Z STATEMENT:  alter table CONTENT_PERM_SET drop constraint FK2buunk1hor0i3k0m3nt03hw1w
2017-09-07T23:31:53.499073967Z ERROR:  relation "content_relation" does not exist
2017-09-07T23:31:53.499078307Z STATEMENT:  alter table CONTENT_RELATION drop constraint FKipr00838mkln699cimd7rg17x
2017-09-07T23:31:53.499137374Z ERROR:  relation "content_relation" does not exist
2017-09-07T23:31:53.499144853Z STATEMENT:  alter table CONTENT_RELATION drop constraint FKe2a00urqyxmyaj3jop48ub8qd
2017-09-07T23:31:53.499149432Z ERROR:  relation "content_relation" does not exist
2017-09-07T23:31:53.499153339Z STATEMENT:  alter table CONTENT_RELATION drop constraint FK_C2CRELATION_CREATOR
2017-09-07T23:31:53.505785772Z ERROR:  relation "content_relation" does not exist
2017-09-07T23:31:53.505850726Z STATEMENT:  alter table CONTENT_RELATION drop constraint FK_C2CRELATION_LASTMODIFIER
2017-09-07T23:31:53.505865345Z ERROR:  relation "contentproperties" does not exist
2017-09-07T23:31:53.505873399Z STATEMENT:  alter table CONTENTPROPERTIES drop constraint FK3fly21xfk13rqh63txw2t6k2v
2017-09-07T23:31:53.505881167Z ERROR:  relation "cwd_app_dir_group_mapping" does not exist
2017-09-07T23:31:53.505889154Z STATEMENT:  alter table cwd_app_dir_group_mapping drop constraint fk_app_dir_group_mapping
2017-09-07T23:31:53.505897058Z ERROR:  relation "cwd_app_dir_group_mapping" does not exist
2017-09-07T23:31:53.505908531Z STATEMENT:  alter table cwd_app_dir_group_mapping drop constraint fk_app_dir_group_app
2017-09-07T23:31:53.505916546Z ERROR:  relation "cwd_app_dir_group_mapping" does not exist
2017-09-07T23:31:53.505924551Z STATEMENT:  alter table cwd_app_dir_group_mapping drop constraint fk_app_dir_group_dir
2017-09-07T23:31:53.505932472Z ERROR:  relation "cwd_app_dir_mapping" does not exist
2017-09-07T23:31:53.505945129Z STATEMENT:  alter table cwd_app_dir_mapping drop constraint FKstekj41875rgsw8otffrayhpl
2017-09-07T23:31:53.505953007Z ERROR:  relation "cwd_app_dir_mapping" does not exist
2017-09-07T23:31:53.505961347Z STATEMENT:  alter table cwd_app_dir_mapping drop constraint fk_app_dir_dir
2017-09-07T23:31:53.505969189Z ERROR:  relation "cwd_app_dir_operation" does not exist
2017-09-07T23:31:53.505975884Z STATEMENT:  alter table cwd_app_dir_operation drop constraint fk_app_dir_mapping
2017-09-07T23:31:53.505983408Z ERROR:  relation "cwd_application_address" does not exist
2017-09-07T23:31:53.505990893Z STATEMENT:  alter table cwd_application_address drop constraint fk_application_address
2017-09-07T23:31:53.510695305Z ERROR:  relation "cwd_application_attribute" does not exist
2017-09-07T23:31:53.510745676Z STATEMENT:  alter table cwd_application_attribute drop constraint fk_application_attribute
2017-09-07T23:31:53.510753839Z ERROR:  relation "cwd_directory_attribute" does not exist
2017-09-07T23:31:53.510758628Z STATEMENT:  alter table cwd_directory_attribute drop constraint fk_directory_attribute
2017-09-07T23:31:53.510763349Z ERROR:  relation "cwd_directory_operation" does not exist
2017-09-07T23:31:53.510775693Z STATEMENT:  alter table cwd_directory_operation drop constraint fk_directory_operation
2017-09-07T23:31:53.510780751Z ERROR:  relation "cwd_group" does not exist
2017-09-07T23:31:53.510813296Z STATEMENT:  alter table cwd_group drop constraint fk_directory_id
2017-09-07T23:31:53.510819766Z ERROR:  relation "cwd_group_attribute" does not exist
2017-09-07T23:31:53.510824217Z STATEMENT:  alter table cwd_group_attribute drop constraint fk_group_attr_id_group_id
2017-09-07T23:31:53.510828297Z ERROR:  relation "cwd_group_attribute" does not exist
2017-09-07T23:31:53.510832437Z STATEMENT:  alter table cwd_group_attribute drop constraint fk_group_attr_dir_id
2017-09-07T23:31:53.510836524Z ERROR:  relation "cwd_membership" does not exist
2017-09-07T23:31:53.510840694Z STATEMENT:  alter table cwd_membership drop constraint fk_parent_grp
2017-09-07T23:31:53.510844749Z ERROR:  relation "cwd_membership" does not exist
2017-09-07T23:31:53.510848782Z STATEMENT:  alter table cwd_membership drop constraint fk_child_grp
2017-09-07T23:31:53.510855426Z ERROR:  relation "cwd_membership" does not exist
2017-09-07T23:31:53.510859852Z STATEMENT:  alter table cwd_membership drop constraint fk_child_user
2017-09-07T23:31:53.511493212Z ERROR:  relation "cwd_user" does not exist
2017-09-07T23:31:53.511537198Z STATEMENT:  alter table cwd_user drop constraint fk_user_dir_id
2017-09-07T23:31:53.513672483Z ERROR:  relation "cwd_user_attribute" does not exist
2017-09-07T23:31:53.513705655Z STATEMENT:  alter table cwd_user_attribute drop constraint fk_user_attribute_id_user_id
2017-09-07T23:31:53.513712996Z ERROR:  relation "cwd_user_attribute" does not exist
2017-09-07T23:31:53.513717847Z STATEMENT:  alter table cwd_user_attribute drop constraint fk_user_attr_dir_id
2017-09-07T23:31:53.513722147Z ERROR:  relation "cwd_user_credential_record" does not exist
2017-09-07T23:31:53.513726446Z STATEMENT:  alter table cwd_user_credential_record drop constraint FK2rfdh2ap00b8mholdsy1b785b
2017-09-07T23:31:53.514468323Z ERROR:  relation "external_members" does not exist
2017-09-07T23:31:53.514486612Z STATEMENT:  alter table external_members drop constraint FK47k0fudqnbnsbw0yw44ucsu2r
2017-09-07T23:31:53.515462910Z ERROR:  relation "external_members" does not exist
2017-09-07T23:31:53.515483634Z STATEMENT:  alter table external_members drop constraint FKadlkfu6a03u8f8bs82lm4qlg1
2017-09-07T23:31:53.516183384Z ERROR:  relation "extrnlnks" does not exist
2017-09-07T23:31:53.516203061Z STATEMENT:  alter table EXTRNLNKS drop constraint FK5v5lw9x88vm27rvubsc130njy
2017-09-07T23:31:53.516791093Z ERROR:  relation "extrnlnks" does not exist
2017-09-07T23:31:53.516823490Z STATEMENT:  alter table EXTRNLNKS drop constraint FK_EXTRNLNKS_CREATOR
2017-09-07T23:31:53.517448330Z ERROR:  relation "extrnlnks" does not exist
2017-09-07T23:31:53.517468823Z STATEMENT:  alter table EXTRNLNKS drop constraint FK_EXTRNLNKS_LASTMODIFIER
2017-09-07T23:31:53.518249556Z ERROR:  relation "follow_connections" does not exist
2017-09-07T23:31:53.518270220Z STATEMENT:  alter table FOLLOW_CONNECTIONS drop constraint FK_FOLLOW_CONNECTIONS_FOLLOWER
2017-09-07T23:31:53.518984036Z ERROR:  relation "follow_connections" does not exist
2017-09-07T23:31:53.519017406Z STATEMENT:  alter table FOLLOW_CONNECTIONS drop constraint FK_FOLLOW_CONNECTIONS_FOLLOWEE
2017-09-07T23:31:53.520362944Z ERROR:  relation "imagedetails" does not exist
2017-09-07T23:31:53.520383966Z STATEMENT:  alter table IMAGEDETAILS drop constraint FK2301qiciuq6sc32jaj8tysg3s
2017-09-07T23:31:53.521126341Z ERROR:  relation "label" does not exist
2017-09-07T23:31:53.521152016Z STATEMENT:  alter table LABEL drop constraint FK_LABEL_OWNER
2017-09-07T23:31:53.522054564Z ERROR:  relation "likes" does not exist
2017-09-07T23:31:53.522082946Z STATEMENT:  alter table LIKES drop constraint FKbdoiwi70i7o3tc7hpbu4vnlmy
2017-09-07T23:31:53.522694990Z ERROR:  relation "likes" does not exist
2017-09-07T23:31:53.522719394Z STATEMENT:  alter table LIKES drop constraint FK_LIKES_USERNAME
2017-09-07T23:31:53.523357663Z ERROR:  relation "links" does not exist
2017-09-07T23:31:53.523377914Z STATEMENT:  alter table LINKS drop constraint FKn8mycko8frerne7brh5nr1csr
2017-09-07T23:31:53.524073881Z ERROR:  relation "links" does not exist
2017-09-07T23:31:53.524100492Z STATEMENT:  alter table LINKS drop constraint FK_LINKS_CREATOR
2017-09-07T23:31:53.524695709Z ERROR:  relation "links" does not exist
2017-09-07T23:31:53.524715982Z STATEMENT:  alter table LINKS drop constraint FK_LINKS_LASTMODIFIER
2017-09-07T23:31:53.525722879Z ERROR:  relation "local_members" does not exist
2017-09-07T23:31:53.525752807Z STATEMENT:  alter table local_members drop constraint FKi71uomcf4f9sesibdhsmfdbgh
2017-09-07T23:31:53.526359234Z ERROR:  relation "local_members" does not exist
2017-09-07T23:31:53.526379220Z STATEMENT:  alter table local_members drop constraint FKrcuyoptnad1pos41gp1b1f3pi
2017-09-07T23:31:53.527298753Z ERROR:  relation "logininfo" does not exist
2017-09-07T23:31:53.527326249Z STATEMENT:  alter table logininfo drop constraint FK_logininfo_USERNAME
2017-09-07T23:31:53.527977656Z ERROR:  relation "notifications" does not exist
2017-09-07T23:31:53.527998291Z STATEMENT:  alter table NOTIFICATIONS drop constraint FK_NOTIFICATIONS_CONTENT
2017-09-07T23:31:53.528733783Z ERROR:  relation "notifications" does not exist
2017-09-07T23:31:53.528762976Z STATEMENT:  alter table NOTIFICATIONS drop constraint FK4tccrjamrjvmd2aogl3hklpfj
2017-09-07T23:31:53.529365385Z ERROR:  relation "notifications" does not exist
2017-09-07T23:31:53.529385825Z STATEMENT:  alter table NOTIFICATIONS drop constraint FKmqe1phe52xwqc4hk4ib8p9eh6
2017-09-07T23:31:53.530320544Z ERROR:  relation "notifications" does not exist
2017-09-07T23:31:53.530348572Z STATEMENT:  alter table NOTIFICATIONS drop constraint FK_NOTIFICATIONS_USERNAME
2017-09-07T23:31:53.531055317Z ERROR:  relation "notifications" does not exist
2017-09-07T23:31:53.531129234Z STATEMENT:  alter table NOTIFICATIONS drop constraint FK_NOTIFICATIONS_CREATOR
2017-09-07T23:31:53.531665723Z ERROR:  relation "notifications" does not exist
2017-09-07T23:31:53.531690820Z STATEMENT:  alter table NOTIFICATIONS drop constraint FK_NOTIFICATIONS_LASTMODIFIER
2017-09-07T23:31:53.532242948Z ERROR:  relation "os_user_group" does not exist
2017-09-07T23:31:53.532267237Z STATEMENT:  alter table os_user_group drop constraint FK6w5bwo7289k947ee5fwec30jv
2017-09-07T23:31:53.532844357Z ERROR:  relation "os_user_group" does not exist
2017-09-07T23:31:53.532869339Z STATEMENT:  alter table os_user_group drop constraint FKm2o7638ojnki05i3u0n5oepop
2017-09-07T23:31:53.533509038Z ERROR:  relation "pagetemplates" does not exist
2017-09-07T23:31:53.533534515Z STATEMENT:  alter table PAGETEMPLATES drop constraint FK18a1d37pvq2o9hu5x3tps97mx
2017-09-07T23:31:53.534278499Z ERROR:  relation "pagetemplates" does not exist
2017-09-07T23:31:53.534303784Z STATEMENT:  alter table PAGETEMPLATES drop constraint FK4wgwy1dqci8rcwad4tnqbglt8
2017-09-07T23:31:53.534853419Z ERROR:  relation "pagetemplates" does not exist
2017-09-07T23:31:53.534877172Z STATEMENT:  alter table PAGETEMPLATES drop constraint FK_PAGETEMPLATES_CREATOR
2017-09-07T23:31:53.535385540Z ERROR:  relation "pagetemplates" does not exist
2017-09-07T23:31:53.535417334Z STATEMENT:  alter table PAGETEMPLATES drop constraint FK_PAGETEMPLATES_LASTMODIFIER
2017-09-07T23:31:53.536011855Z ERROR:  relation "spacepermissions" does not exist
2017-09-07T23:31:53.536033809Z STATEMENT:  alter table SPACEPERMISSIONS drop constraint FKbi3x723m8fbgoko3s84f9oddl
2017-09-07T23:31:53.536744913Z ERROR:  relation "spacepermissions" does not exist
2017-09-07T23:31:53.536765522Z STATEMENT:  alter table SPACEPERMISSIONS drop constraint FK_SPACEPERMISSIONS_PERMUSERNA
2017-09-07T23:31:53.537479718Z ERROR:  relation "spacepermissions" does not exist
2017-09-07T23:31:53.537517697Z STATEMENT:  alter table SPACEPERMISSIONS drop constraint FK_SPACEPERMISSIONS_CREATOR
2017-09-07T23:31:53.538365214Z ERROR:  relation "spacepermissions" does not exist
2017-09-07T23:31:53.538385707Z STATEMENT:  alter table SPACEPERMISSIONS drop constraint FK_SPACEPERMISSIONS_LASTMODIFI
2017-09-07T23:31:53.539131636Z ERROR:  relation "spaces" does not exist
2017-09-07T23:31:53.539151514Z STATEMENT:  alter table SPACES drop constraint FK7ndewmrl3hqcpwc8eydn9mv8j
2017-09-07T23:31:53.540704723Z ERROR:  relation "spaces" does not exist
2017-09-07T23:31:53.540725173Z STATEMENT:  alter table SPACES drop constraint FKj4cu5838aqcbw57wy7ckt0t7o
2017-09-07T23:31:53.541413275Z ERROR:  relation "spaces" does not exist
2017-09-07T23:31:53.541433163Z STATEMENT:  alter table SPACES drop constraint FK_SPACES_CREATOR
2017-09-07T23:31:53.542250267Z ERROR:  relation "spaces" does not exist
2017-09-07T23:31:53.542306444Z STATEMENT:  alter table SPACES drop constraint FK_SPACES_LASTMODIFIER
2017-09-07T23:31:53.542939130Z ERROR:  relation "trackbacklinks" does not exist
2017-09-07T23:31:53.542959623Z STATEMENT:  alter table TRACKBACKLINKS drop constraint FK1to6omjl8nhevcjbvpt3ed7nt
2017-09-07T23:31:53.543678985Z ERROR:  relation "trackbacklinks" does not exist
2017-09-07T23:31:53.543705753Z STATEMENT:  alter table TRACKBACKLINKS drop constraint FK_TRACKBACKLINKS_CREATOR
2017-09-07T23:31:53.544330177Z ERROR:  relation "trackbacklinks" does not exist
2017-09-07T23:31:53.544355530Z STATEMENT:  alter table TRACKBACKLINKS drop constraint FK_TRACKBACKLINKS_LASTMODIFIER
2017-09-07T23:31:53.545012816Z ERROR:  relation "trustedapp" does not exist
2017-09-07T23:31:53.545036840Z STATEMENT:  alter table TRUSTEDAPP drop constraint FKm7n581y7groa49tygapkmnfiv
2017-09-07T23:31:53.545660603Z ERROR:  relation "trustedapprestriction" does not exist
2017-09-07T23:31:53.545708221Z STATEMENT:  alter table TRUSTEDAPPRESTRICTION drop constraint FKjofk5643721eftow3njwr73aa
2017-09-07T23:31:53.546107793Z ERROR:  relation "user_relation" does not exist
2017-09-07T23:31:53.546127813Z STATEMENT:  alter table USER_RELATION drop constraint FK_RELATION_U2USUSER
2017-09-07T23:31:53.547314673Z ERROR:  relation "user_relation" does not exist
2017-09-07T23:31:53.547334914Z STATEMENT:  alter table USER_RELATION drop constraint FK_RELATION_U2UTUSER
2017-09-07T23:31:53.547340182Z ERROR:  relation "user_relation" does not exist
2017-09-07T23:31:53.547347741Z STATEMENT:  alter table USER_RELATION drop constraint FK_U2URELATION_CREATOR
2017-09-07T23:31:53.547369852Z ERROR:  relation "user_relation" does not exist
2017-09-07T23:31:53.547386081Z STATEMENT:  alter table USER_RELATION drop constraint FK_U2URELATION_LASTMODIFIER
2017-09-07T23:31:53.547983572Z ERROR:  relation "usercontent_relation" does not exist
2017-09-07T23:31:53.548000793Z STATEMENT:  alter table USERCONTENT_RELATION drop constraint FKpwgl85a266iie5i0adu8bdbcv
2017-09-07T23:31:53.548437352Z ERROR:  relation "usercontent_relation" does not exist
2017-09-07T23:31:53.548460600Z STATEMENT:  alter table USERCONTENT_RELATION drop constraint FK_RELATION_U2CUSER
2017-09-07T23:31:53.548893461Z ERROR:  relation "usercontent_relation" does not exist
2017-09-07T23:31:53.548912745Z STATEMENT:  alter table USERCONTENT_RELATION drop constraint FK_U2CRELATION_CREATOR
2017-09-07T23:31:53.549562426Z ERROR:  relation "usercontent_relation" does not exist
2017-09-07T23:31:53.549581912Z STATEMENT:  alter table USERCONTENT_RELATION drop constraint FK_U2CRELATION_LASTMODIFIER
2017-09-07T23:31:53.588195695Z ERROR:  table "hibernate_unique_key" does not exist
2017-09-07T23:31:53.588260054Z STATEMENT:  drop table hibernate_unique_key
2017-09-07T23:31:54.961157427Z ERROR:  relation "attachments" does not exist at character 22
2017-09-07T23:31:54.961426782Z STATEMENT:  select count(*) from ATTACHMENTS

@memelet
Copy link

memelet commented Jul 30, 2019

I'm seeing the same error when running a new container with a demo license. It gets the license, but after applying it it always fails. This is using latest container version on ubuntu 18 with

docker run -v /var/lib/confluence:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants