SQL error ORA-01442 when perform confluence upgrade from 5.9.4 to 6.0.5

I am trying to upgrade confluence which is data center edition from 5.9.4 to 6.0.5. I followed the guide to unzip the installation directory and modify the properties to let the new application point to the old home directory and DB. But when I tried to start the new application, system showed error message about SQL error ORA-01442.

 

2017-02-21 17:22:28,312 ERROR [localhost-startStop-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] launchUpgrades Upgrade failed, application will not start: Upgrade task com.atlassian.confluence.upgrade.upgradetask.PopulateLowerFieldsUpgradeTask@3f08baa3 failed during the SCHEMA_UPGRADE phase due to: StatementCallback; uncategorized SQLException for SQL [alter table SPACES modify LOWERSPACEKEY nvarchar2(255) not null]; SQL state [72000]; error code [1442]; ORA-01442: column to be modified to NOT NULL is already NOT NULL ; nested exception is java.sql.SQLException: ORA-01442: column to be modified to NOT NULL is already NOT NULL com.atlassian.confluence.upgrade.UpgradeException: Upgrade task com.atlassian.confluence.upgrade.upgradetask.PopulateLowerFieldsUpgradeTask@3f08baa3 failed during the SCHEMA_UPGRADE phase due to: StatementCallback; uncategorized SQLException for SQL [alter table SPACES modify LOWERSPACEKEY nvarchar2(255) not null]; SQL state [72000]; error code [1442]; ORA-01442: column to be modified to NOT NULL is already NOT NULL

 

I've checked the db table SPACES and found the column LOWERSPACEKEY is not yet NOT NULL. It is very strange why the log said it was already NOT NULL.

Any guys can help?

1 answer

After I recovered the system and did the upgrade again, this issue did not appear again.

I recovered the system , run the upgrade agian, but still the same issue,

Any suggestion ?

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
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

416 views 18 9
Join discussion

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