Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pre-upgrade validation failed.

School District 52 IT Department
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 26, 2021

I just tried to upgrade from version 6.15.10 to 7.0.1.  The upgrade seemed to work as it completed but now when I try to get into Confluence I get the message:  "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"

I checked the logs but see anything outstanding to indicate errors.  I did get an error message trying to access confluence from a desktop:  

"

java.lang.RuntimeException: javax.servlet.ServletException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getConfluenceResourceTags' in class com.atlassian.confluence.setup.velocity.VelocityFriendlyPageBuilderService threw exception com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException at /decorators/includes/header.vm[line 92, column 24]
    at com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:37)

caused by: javax.servlet.ServletException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getConfluenceResourceTags' in class com.atlassian.confluence.setup.velocity.VelocityFriendlyPageBuilderService threw exception com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException at /decorators/includes/header.vm[line 92, column 24]
    at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator$ErrorSendingErrorHandlingStrategy.handleException(ConfluenceSitemeshDecorator.java:224)

caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getConfluenceResourceTags' in class com.atlassian.confluence.setup.velocity.VelocityFriendlyPageBuilderService threw exception com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException at /decorators/includes/header.vm[line 92, column 24]
    at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342)

caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2050)

caused by: java.lang.NullPointerException
    at com.comalatech.confluence.adhoclists.condition.ConfluenceBuildNumberCondition.shouldDisplay(ConfluenceBuildNumberCondition.java:25)"

 

There's a lot more to the message  (Stack Trace info) which I can provide if needed.

1 answer

0 votes
Alexis Robert
Community Champion
September 3, 2021

Hi @School District 52 IT Department 

 

the error "Upgrade error message: Cannot update schema" might be because the user that is configured to connect to your database does not have enough permissions to change the schema. 
I would check with your database administrator to try and grant more permissions to this user and try again.

 

Let me know if this helps, 

 

--Alexis

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.0.1
TAGS
AUG Leaders

Atlassian Community Events