Upgrade Failed from 6.x.xx to 7.13
Asked by Vijay Atturu:

Error:

Pre-upgrade validation failed. Check the Confluence application logs for more details. You'll need to fix these problems and restart Confluence before you can upgrade. Upgrade error message: Cannot update schema.

My System Details:

Service Machine OS: Windows Server 2012 R2

SQL SERVER: SQL Server 2012


Answers:
author: Ismael Jimoh
body: Adding to what [@Robert Wen_ReleaseTEAM_](/t5/user/viewprofilepage/user-id/3970316) @mentioned, there's a similar issue resolved in the past here: <https://community.atlassian.com/t5/Confluence-questions/Upgrade-error-quot-Cannot-update-schema-quot/qaq-p/1447833>.

I will suggest having a look at it.

comments: author: Vijay Atturu
body: Thanks Ismael, I was able to solve my problem with your link.

<https://community.atlassian.com/t5/Confluence-questions/confluence-trouble-with-upgrade-6-15-to-7-13/qaq-p/1814967>


author: Robert Wen_ReleaseTEAM_
body: According to the system requirements for Confluence 7.13, your MSSQL needs to be at least at 2016. You should upgrade that before upgrading Confluence.

<https://confluence.atlassian.com/doc/supported-platforms-207488198.html>

comments: author: Vijay Atturu
body: Now, how do I rollback to previous working version


author: Robert Wen_ReleaseTEAM_
body: I'm not following. My impression is that Confluence failed to upgrade. You're still on 6. Are you not?


author: Vijay Atturu
body: Currently it is not working. I am not sure what went wrong. Please see attached log:

2021-09-10 14:55:53 Apache Commons Daemon procrun stderr initialized.  
WARNING: An illegal reflective access operation has occurred  
WARNING: Illegal reflective access by com.atlassian.hibernate.adapter.proxy.BytecodeProviderImpl_ImplementV2Proxy (file:/C:/Program%20Files/Atlassian/Confluence/confluence/WEB-INF/lib/hibernate.adapter-1.0.3.jar) to field java.lang.reflect.Field.modifiers  
WARNING: Please consider reporting this to the maintainers of com.atlassian.hibernate.adapter.proxy.BytecodeProviderImpl_ImplementV2Proxy  
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations  
WARNING: All illegal access operations will be denied in a future release  
\[debug\] to \[0\]  
10-Sep-2021 14:55:56.355 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host/Context\] failed to set property \[debug\] to \[0\]  
10-Sep-2021 14:55:56.371 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.context.path}/synchrony-proxy\] does not meet these criteria and has been changed to \[/${confluence.context.path}/synchrony-proxy\]  
10-Sep-2021 14:55:56.371 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host/Context\] failed to set property \[debug\] to \[0\]  
10-Sep-2021 14:55:56.637 INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-nio-8090"\]  
10-Sep-2021 14:55:56.746 INFO \[main\] org.apache.catalina.startup.Catalina.load Server initialization in \[573\] milliseconds  
10-Sep-2021 14:55:56.746 INFO \[main\] org.apache.catalina.core.StandardService.startInternal Starting service \[Tomcat-Standalone\]  
10-Sep-2021 14:55:56.746 INFO \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: \[Apache Tomcat/9.0.45\]  
10-Sep-2021 14:55:59.559 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.  
10-Sep-2021 14:55:59.777 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log 1 Spring WebApplicationInitializers detected on classpath  
10-Sep-2021 14:56:00.012 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcher'  
log4j:ERROR Could not find value for key log4j.appender.luceneQuery  
log4j:ERROR Could not instantiate appender named "luceneQuery".  
Security framework of XStream not explicitly initialized, using predefined black list on your own risk.  
10-Sep-2021 14:59:36.771 INFO \[Catalina-utility-2\] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor \[C:\\Program Files\\Atlassian\\Confluence\\conf\\Standalone\\localhost\\synchrony-proxy.xml\]  
10-Sep-2021 14:59:36.773 WARNING \[Catalina-utility-2\] org.apache.catalina.startup.HostConfig.deployDescriptor The path attribute with value \[/synchrony-proxy\] in deployment descriptor \[C:\\Program Files\\Atlassian\\Confluence\\conf\\Standalone\\localhost\\synchrony-proxy.xml\] has been ignored  
10-Sep-2021 14:59:36.777 WARNING \[Catalina-utility-2\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Context\] failed to set property \[debug\] to \[0\]  
10-Sep-2021 14:59:37.603 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.  
10-Sep-2021 14:59:37.783 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log 1 Spring WebApplicationInitializers detected on classpath  
10-Sep-2021 14:59:37.939 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcher'  
10-Sep-2021 14:59:38.998 INFO \[Catalina-utility-2\] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor \[C:\\Program Files\\Atlassian\\Confluence\\conf\\Standalone\\localhost\\synchrony-proxy.xml\] has finished in \[2,224\] ms  
10-Sep-2021 14:59:39.001 INFO \[main\] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler \["http-nio-8090"\]  
10-Sep-2021 14:59:39.010 INFO \[main\] org.apache.catalina.startup.Catalina.start Server startup in \[222261\] milliseconds  
10-Sep-2021 15:09:00.652 INFO \[Thread-45\] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler \["http-nio-8090"\]  
10-Sep-2021 15:09:00.682 INFO \[Thread-45\] org.apache.catalina.core.StandardService.stopInternal Stopping service \[Tomcat-Standalone\]  
10-Sep-2021 15:09:00.686 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log Destroying Spring FrameworkServlet 'dispatcher'  
10-Sep-2021 15:09:00.686 INFO \[Catalina-utility-4\] org.apache.catalina.core.ApplicationContext.log Destroying Spring FrameworkServlet 'dispatcher'  
10-Sep-2021 15:09:00.731 WARNING \[Catalina-utility-4\] org.apache.catalina.loader.WebappClassLoaderBase.loadedByThisOrChild Failed to fully check the entries in an instance of \[java.util.LinkedList\] for potential memory leaks in context \[synchrony-proxy\]  
java.util.ConcurrentModificationException  
at java.base/java.util.LinkedList$ListItr.checkForComodification(Unknown Source)  
at java.base/java.util.LinkedList$ListItr.next(Unknown Source)  
at org.apache.catalina.loader.WebappClassLoaderBase.loadedByThisOrChild(WebappClassLoaderBase.java:2117)  
at org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks(WebappClassLoaderBase.java:2018)  
at org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalsForLeaks(WebappClassLoaderBase.java:1965)  
at org.apache.catalina.loader.WebappClassLoaderBase.clearReferences(WebappClassLoaderBase.java:1631)  
at org.apache.catalina.loader.WebappClassLoaderBase.stop(WebappClassLoaderBase.java:1554)  
at org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:461)


author: Robert Wen_ReleaseTEAM_
body: Without knowing more details of what you did, I'm not sure I can advise anything more than possibly restoring the installation, attachments, and database from backup.


author: Vijay Atturu
body: We have tried to upgrade to latest version of Confluence on Windows Server 2012 with SQL Server 2012. And the upgrade process has been failed and currently the application is down. Let me know how to send you the log files.


Tags: confluence-server

server