Upgrade from 3.5.17 to 5.0.3 issue

Hi all,

Just performed upgrade from 3.5.17 to 5.0.3 (manually).

Based on the logs, encountered an error while pointing 5.0.3 application to database:

1.)

caused by: org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: Could not execute query; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: ORA-00904: "SPACE0_"."SPACESTATUS": invalid identifier

at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:97)
caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "SPACE0_"."SPACESTATUS": invalid identifier

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)

2.)

2014-09-01 15:57:11,649 ERROR [http-8081-3] [[Standalone].[localhost].[/].[file-server]] log Servlet.service() for servlet file-server threw exception
org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: could not load: [com.atlassian.confluence.core.ContentEntityObject#51905073]; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: ORA-00904: "CONTENTENT1_"."PLUGINVER": invalid identifier

What should I do regarding the errors that I encountered?

Thanks in advace.

1 answer

Hi Hanshin,

This issue could be related with a bug mentioned here: https://jira.atlassian.com/browse/CONF-31333

Please try the mentioned knowledge base and see how it goes:

https://confluence.atlassian.com/pages/viewpage.action?pageId=419004803

Also make sure that your license is valid and applicable for 5.0.3. If the above information doesn't help, we highly recommend you to contact our support team through https://support.atlassian.com/to further investigate your issue by reviewing your complete log confidentially.

Hope it helps.

Cheers,
Septa Cahyadiputra

Hi Septa, My apologies for the late reply. Btw, thanks to your reply I performed my upgrade from v3.5.17 to v5.0.3 successfully. But when I tried upgrading to v5.0.3 to v5.5.2, I encountered this error: Table 'LINKS' has more than one primary key I tried again to apply the solution that you said but to no avail the error still occurs and the upgrade is not successful. What should I do? Thanks in advance.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 4 hours ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

35 views 3 3
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you