Confluence setup failing
Asked by Ross Brook:

Hi,  
Im trying to install an atlassian suite on Kubernetes. But having some problems with Confluence. I have just setup the pv and pvc and tried to install the confluence helm chart again, the confluence pod is running.

When I try to access confluence it is stuck on a setup page (see attached image)

setup/dosetupstart.action?setupType=custom\&atl_token=

Logs from the pod are also attached below.

Can anyone point me to a cause of this?

Thanks in advance

```
![Screenshot 2022-10-31 at 12.30.00.png](https://community.atlassian.com/t5/image/serverpage/image-id/223341i2C7F03CB2B2B3614/image-size/large?v=v2&px=999 "Screenshot 2022-10-31 at 12.30.00.png")
```

```


28-Oct-2022 11:30:38.353 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Connector] failed to set property [debug] to [0]
28-Oct-2022 11:30:38.451 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Engine] failed to set property [debug] to [0]
28-Oct-2022 11:30:38.457 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Engine/Host] failed to set property [debug] to [0]
28-Oct-2022 11:30:38.563 WARNING [main] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [confluence] does not meet these criteria and has been changed to [/confluence]
28-Oct-2022 11:30:38.565 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Engine/Host/Context] failed to set property [debug] to [0]
28-Oct-2022 11:30:38.734 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Engine/Host/Context/Valve] failed to set property [resolveHosts] to [false]
28-Oct-2022 11:30:38.736 WARNING [main] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [confluence/synchrony-proxy] does not meet these criteria and has been changed to [/confluence/synchrony-proxy]
28-Oct-2022 11:30:38.736 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Engine/Host/Context] failed to set property [debug] to [0]
28-Oct-2022 11:30:39.752 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]
28-Oct-2022 11:30:39.872 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [2009] milliseconds
28-Oct-2022 11:30:39.932 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
28-Oct-2022 11:30:39.932 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.63]
28-Oct-2022 11:30:45.457 INFO [Catalina-utility-2] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
28-Oct-2022 11:30:46.330 INFO [Catalina-utility-2] org.apache.catalina.core.ApplicationContext.log 1 Spring WebApplicationInitializers detected on classpath
28-Oct-2022 11:30:46.950 INFO [Catalina-utility-2] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcher'
28-Oct-2022 11:31:14.545 INFO [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/opt/atlassian/confluence/conf/Standalone/localhost/synchrony-proxy.xml]
28-Oct-2022 11:31:14.556 WARNING [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDescriptor The path attribute with value [/synchrony-proxy] in deployment descriptor [/opt/atlassian/confluence/conf/Standalone/localhost/synchrony-proxy.xml] has been ignored
28-Oct-2022 11:31:14.559 WARNING [Catalina-utility-2] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Context] failed to set property [debug] to [0]
28-Oct-2022 11:31:16.225 INFO [Catalina-utility-2] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
28-Oct-2022 11:31:16.468 INFO [Catalina-utility-2] org.apache.catalina.core.ApplicationContext.log 1 Spring WebApplicationInitializers detected on classpath
28-Oct-2022 11:31:16.765 INFO [Catalina-utility-2] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcher'
28-Oct-2022 11:31:18.728 INFO [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/opt/atlassian/confluence/conf/Standalone/localhost/synchrony-proxy.xml] has finished in [4,183] ms
28-Oct-2022 11:31:18.734 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]
28-Oct-2022 11:31:18.754 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [38881] milliseconds
root@confluence-0:/var/atlassian/application-data/confluence/logs# 
```


Answers:
author: Yevhen
body: [@Ross Brook](/t5/user/viewprofilepage/user-id/4698577) do you see any errors in browser dev console? Also, can you can logs from /opt/atlassian/confluences/logs?

comments: author: Ross Brook
body: Hi [@Yevhen](/t5/user/viewprofilepage/user-id/3965218) , thanks for the response, these are the logs from /opt/atlassian/confluence/atlassian-confluence.logs \& also here is the 403 I see in the console.  
![Screenshot 2022-11-01 at 09.50.37.png](https://community.atlassian.com/t5/image/serverpage/image-id/223528iF1CFA3C837126DA1/image-size/large?v=v2&px=999 "Screenshot 2022-11-01 at 09.50.37.png")

```
root@confluence-0:/opt/atlassian/confluence/logs# cat atlassian-confluence.log
2022-11-01 09:18:05,358 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 7.13.7 [build 8703 based on commit hash b4077df4ef5cfb3a30780e1c3966e69e95e5156b] - synchrony version 4.1.0
2022-11-01 09:18:13,166 WARN [Catalina-utility-1] [com.atlassian.config.ApplicationConfig] setApplicationHome Application home does not exist. Creating directory: /var/atlassian/application-data/confluence/shared-home
2022-11-01 09:18:13,171 INFO [Catalina-utility-1] [atlassian.confluence.cluster.DefaultClusterConfigurationHelper] lambda$saveSetupConfigIntoSharedHome$9 Writing setup configuration into shared home...
2022-11-01 09:18:13,222 INFO [Catalina-utility-1] [atlassian.confluence.cluster.DefaultClusterConfigurationHelper] lambda$saveSetupConfigIntoSharedHome$9 Finished writing setup configuration into shared home
2022-11-01 09:18:19,069 INFO [Catalina-utility-1] [atlassian.plugin.manager.DefaultPluginManager] lambda$earlyStartup$3 Plugin system earlyStartup begun
2022-11-01 09:18:24,239 WARN [FelixStartLevel] [extender.internal.support.ExtenderConfiguration] addDefaultDependencyFactories Gemini Blueprint extensions bundle not present, annotation processing disabled.
2022-11-01 09:18:28,633 INFO [Catalina-utility-1] [atlassian.plugin.manager.DefaultPluginManager] logTime Plugin system earlyStartup ended
2022-11-01 09:18:28,635 INFO [Catalina-utility-1] [atlassian.plugin.manager.DefaultPluginManager] lambda$lateStartup$4 Plugin system lateStartup begun
2022-11-01 09:18:32,167 INFO [Catalina-utility-1] [atlassian.plugin.manager.DefaultPluginManager] logTime Plugin system lateStartup ended
2022-11-01 09:18:33,468 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
2022-11-01 09:19:32,234 WARN [http-nio-8090-exec-5] [com.opensymphony.xwork.DefaultActionInvocation] executeResult No result defined for action com.atlassian.confluence.setup.actions.SetupStartAction and result input
-- url: /confluence/setup/dosetupstart.action | traceId: 00fe161525422a0c | userName: anonymous | action: dosetupstart
2022-11-01 09:19:43,654 WARN [http-nio-8090-exec-8] [com.opensymphony.xwork.DefaultActionInvocation] executeResult No result defined for action com.atlassian.confluence.setup.actions.SetupStartAction and result input
-- url: /confluence/setup/dosetupstart.action | traceId: 00e630ca63036154 | userName: anonymous | action: dosetupstart
2022-11-01 09:19:46,979 WARN [http-nio-8090-exec-7] [com.opensymphony.xwork.DefaultActionInvocation] executeResult No result defined for action com.atlassian.confluence.setup.actions.SetupStartAction and result input
-- url: /confluence/setup/dosetupstart.action | traceId: 005854e8dbbba556 | userName: anonymous | action: dosetupstart
2022-11-01 09:19:48,462 WARN [http-nio-8090-exec-4] [com.opensymphony.xwork.DefaultActionInvocation] executeResult No result defined for action com.atlassian.confluence.setup.actions.SetupStartAction and result input
-- url: /confluence/setup/dosetupstart.action | traceId: 00a6a77f2bba748d | userName: anonymous | action: dosetupstart
2022-11-01 09:19:50,051 WARN [http-nio-8090-exec-2] [com.opensymphony.xwork.DefaultActionInvocation] executeResult No result defined for action com.atlassian.confluence.setup.actions.SetupStartAction and result input
-- referer: http://ad4e9f60e064e413c9c6882962967c68-1460943895.eu-west-2.elb.amazonaws.com/confluence/setup/dosetupstart.action?setupType=custom&atl_token=2a34c4f21922acb536f661f7c7170981aa96f9d2 | url: /confluence/setup/dosetupstart.action | traceId: 0006c4ffb3cd23cb | userName: anonymous | action: dosetupstart
2022-11-01 09:20:00,827 WARN [http-nio-8090-exec-10] [com.opensymphony.xwork.DefaultActionInvocation] executeResult No result defined for action com.atlassian.confluence.setup.actions.SetupStartAction and result input
-- referer: http://ad4e9f60e064e413c9c6882962967c68-1460943895.eu-west-2.elb.amazonaws.com/confluence/setup/dosetupstart.action?setupType=custom&atl_token=e7faedee9ac3c07066e02d02a7945fb88e1bc7dd | url: /confluence/setup/dosetupstart.action | traceId: 001029f56b91fedf | userName: anonymous | action: dosetupstart
2022-11-01 09:22:02,125 WARN [http-nio-8090-exec-10] [com.opensymphony.xwork.DefaultActionInvocation] executeResult No result defined for action com.atlassian.confluence.setup.actions.SetupStartAction and result input
-- url: /confluence/setup/dosetupstart.action | traceId: 0036b59e89b130c3 | userName: anonymous | action: dosetupstart
2022-11-01 09:22:10,020 WARN [http-nio-8090-exec-10] [com.opensymphony.xwork.DefaultActionInvocation] executeResult No result defined for action com.atlassian.confluence.setup.actions.SetupStartAction and result input
-- url: /confluence/setup/dosetupstart.action | traceId: 00f232f57f9b8b01 | userName: anonymous | action: dosetupstart
2022-11-01 09:44:09,156 WARN [http-nio-8090-exec-7] [com.opensymphony.xwork.DefaultActionInvocation] executeResult No result defined for action com.atlassian.confluence.setup.actions.SetupStartAction and result input
-- url: /confluence/setup/dosetupstart.action | traceId: 00eef5c12540c255 | userName: anonymous | action: dosetupstart
root@confluence-0:/opt/atlassian/confluence/logs# , thes?
```


author: Yevhen
body: Found

<https://community.atlassian.com/t5/Confluence-questions/Why-is-my-Confluence-Configuration-stalled-before-entering-a/qaq-p/1653695>

and

<https://community.atlassian.com/t5/Confluence-questions/Can-not-init-confluence-7-3-on-kubernete/qaq-p/1299592>

Can you please share your values.yaml? In particular, ingress settings. It looks like proxy settings never made it to server.xml.


author: Ross Brook
body: ```
# -- The initial number of Confluence pods that should be started at deployment time.

replicaCount: 1

# Image configuration

image:

repository: atlassian/confluence

pullPolicy: IfNotPresent

tag: "7.13.7"

# Database

database:

type: postgresql

url: ########

driver: org.postgresql.Driver

credentials:

secretName: #####

usernameSecretKey: ####

passwordSecretKey: ###

# Ingresses

ingress:

create: true 

className: "nginx"

nginx: true 
maxBodySize: 250m

host: "##########.eu-west-2.elb.amazonaws.com" 

path: "/confluence"

annotations: {}

https: true

#Volumes

volumes:

localHome:

persistentVolumeClaim:

create: true

resources:

requests:

storage: 10Gi

sharedHome:

customVolume:

persistentVolumeClaim:

claimName: "sharedhome-vol-pvc"



confluence:

# Service

service:

port: 80

type: ClusterIP

loadBalancerIP:

contextPath: confluence

annotations: {}

# Clustering

clustering:

enabled: false

# Confluence Pod resource requests

resources:

# Resource limits

container:

limits:

cpu: "1"

memory: "4G"

requests:

cpu: "1"

memory: "3G"

# JVM Memory / Heap Size definitions.

jvm:

maxHeap: "2g"

minHeap: "2g"

reservedCodeCache: "512m"
```


author: Yevhen
body: In one of the solutions I found it was a missing trailing slash in the URL. Can you give it a try with it? It can be context path + some ingress weirdness.


Tags: cloud

confluence-cloud