Confluence not starting after upgrade from 6.90 to 8.5.3
Asked by Philip White:

Updated postgres to 15, that went well. Ran the installer script with no issue.

After running the start script, I'm not seeing an interesting errors in the logs. Once, after running for 7 or 8 minutes, it printed out a an OOM error for what looked like a migration task (should have saved the error). So I increased the memory to the JVM, now it's been running for 30 minutes.

\~\]# cat /opt/atlassian/confluence/logs/catalina.out

NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED

21-Nov-2023 10:10:52.758 INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["https-jsse-nio-8443"\]

21-Nov-2023 10:10:53.029 INFO \[main\] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector \[https-jsse-nio-8443\], TLS virtual host \[_default_\], certificate type \[UNDEFINED\] configured from keystore \[/etc/ssl/certs/confluence-server.jks\] using alias \[confluence\] with trust store \[null\]

21-Nov-2023 10:10:53.036 INFO \[main\] org.apache.catalina.startup.Catalina.load Server initialization in \[632\] milliseconds

21-Nov-2023 10:10:53.042 INFO \[main\] org.apache.catalina.core.StandardService.startInternal Starting service \[Tomcat-Standalone\]

21-Nov-2023 10:10:53.042 INFO \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: \[Apache Tomcat/9.0.82\]

21-Nov-2023 10:10:54.080 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.

21-Nov-2023 10:10:54.343 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log 1 Spring WebApplicationInitializers detected on classpath

21-Nov-2023 10:10:54.544 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcher'

10:10:54 \[Catalina-utility-2\] o.a.c.c.C.\[.\[.\[/synchrony-proxy\]\[INFO\] log - Initializing Spring DispatcherServlet 'dispatcher'

2023-11-21 10:10:55,537 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 8.5.3 \[build 9012 based on commit hash 2a1ffca442d81273b1db061923c4452bf5eff243\] - synchrony version 5.1.6

2023-11-21 10:10:55,546 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM Eclipse Adoptium 17.0.8.1

2023-11-21 10:10:55,546 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/java.lang=ALL-UNNAMED

2023-11-21 10:10:55,546 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/java.io=ALL-UNNAMED

2023-11-21 10:10:55,546 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/java.util=ALL-UNNAMED

2023-11-21 10:10:55,547 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/java.util.concurrent=ALL-UNNAMED

2023-11-21 10:10:55,547 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED

2023-11-21 10:10:55,547 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Djava.util.logging.config.file=/opt/atlassian/confluence/conf/logging.properties

2023-11-21 10:10:55,547 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

2023-11-21 10:10:55,547 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Djdk.tls.ephemeralDHKeySize=2048

2023-11-21 10:10:55,547 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Djava.protocol.handler.pkgs=org.apache.catalina.webresources

2023-11-21 10:10:55,547 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Dorg.apache.catalina.security.SecurityListener.UMASK=0027

2023-11-21 10:10:55,548 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Datlassian.plugins.startup.options=

2023-11-21 10:10:55,548 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768

2023-11-21 10:10:55,548 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Dconfluence.context.path=

2023-11-21 10:10:55,548 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Dsynchrony.enable.xhr.fallback=true

2023-11-21 10:10:55,548 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Datlassian.plugins.enable.wait=300

2023-11-21 10:10:55,548 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Djava.awt.headless=true

2023-11-21 10:10:55,548 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Xlog:gc\*:file=/opt/atlassian/confluence/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M

2023-11-21 10:10:55,548 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -XX:G1ReservePercent=20

2023-11-21 10:10:55,549 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -XX:+UseG1GC

2023-11-21 10:10:55,549 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -XX:+ExplicitGCInvokesConcurrent

2023-11-21 10:10:55,549 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -XX:+IgnoreUnrecognizedVMOptions

2023-11-21 10:10:55,549 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/java.lang=ALL-UNNAMED

2023-11-21 10:10:55,549 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/java.lang.reflect=ALL-UNNAMED

2023-11-21 10:10:55,549 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/java.net=ALL-UNNAMED

2023-11-21 10:10:55,549 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/java.io=ALL-UNNAMED

2023-11-21 10:10:55,549 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/java.util=ALL-UNNAMED

2023-11-21 10:10:55,550 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED

2023-11-21 10:10:55,550 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/sun.net.[www.protocol.jar=ALL-UNNAMED](http://www.protocol.jar=ALL-UNNAMED)

2023-11-21 10:10:55,550 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/sun.net.[www.protocol.http=ALL-UNNAMED](http://www.protocol.http=ALL-UNNAMED)

2023-11-21 10:10:55,550 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/sun.net.[www.protocol.https=ALL-UNNAMED](http://www.protocol.https=ALL-UNNAMED)

2023-11-21 10:10:55,550 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.base/sun.util.locale=ALL-UNNAMED

2023-11-21 10:10:55,550 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-opens=java.management/javax.management=ALL-UNNAMED

2023-11-21 10:10:55,550 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-exports=java.base/sun.security.action=ALL-UNNAMED

2023-11-21 10:10:55,550 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-exports=java.base/sun.util.calendar=ALL-UNNAMED

2023-11-21 10:10:55,551 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED

2023-11-21 10:10:55,551 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-exports=java.xml/com.sun.org.apache.xml.internal.utils=ALL-UNNAMED

2023-11-21 10:10:55,551 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-exports=java.desktop/sun.font=ALL-UNNAMED

2023-11-21 10:10:55,551 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument --add-exports=java.base/sun.security.util=ALL-UNNAMED

2023-11-21 10:10:55,551 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -XX:ReservedCodeCacheSize=256m

2023-11-21 10:10:55,551 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Xms4096m

2023-11-21 10:10:55,551 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Xmx4096m

2023-11-21 10:10:55,552 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Dignore.endorsed.dirs=

2023-11-21 10:10:55,552 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Dcatalina.base=/opt/atlassian/confluence

2023-11-21 10:10:55,552 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Dcatalina.home=/opt/atlassian/confluence

2023-11-21 10:10:55,552 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Using JVM argument -Djava.io.tmpdir=/opt/atlassian/confluence/temp

2023-11-21 10:10:56,212 WARN \[Catalina-utility-1\] \[confluence.plugin.spring.PackageScannerConfigurationFactory\] lambda$filterPackageVersions$0 Invalid package to version mapping for 'com.atlassian.seraph.filter'. Configured version: '${seraph.version}'.

2023-11-21 10:10:56,218 WARN \[Catalina-utility-1\] \[confluence.plugin.spring.PackageScannerConfigurationFactory\] lambda$filterPackageVersions$0 Invalid package to version mapping for 'com.atlassian.seraph.filter'. Configured version: '${seraph.version}'.

WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.


Answers:
author: Philip White
body: It eventually started. Took about 90 minutes though.


Tags: confluence-server

server