Forums

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

5.5 to 5.7 upgrade to Confluence

Willis Ralph
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!
May 30, 2016

I am just checking if anybody has had this issue with a 5.5 to 5.7 upgrade? The atlassian-confluence.log of the upgrade has this error. I have tried lots of different things , such as installing using the confluence account, the root account, upgrading add-ons before the upgrade and after the upgrade. Always the same error. I imagine it it is data related but don't know how to fix this issue. I have tried to do an XML backup but the database is 3.5Gb and the operation ends up trying to access the page   destination=/admin/dobackup.action that causes a 404 error.

 

I have also tried deleting the constraints on this table only to find other constraints. 

 

Any cluses ???

2016-05-30 15:03:47,515 ERROR [localhost-startStop-1] [hibernate.tool.hbm2ddl.SchemaUpdate] execute Unsuccessful: alter table cwd_app_dir_group_mapping add constraint fk_app_dir_group_app foreign key (application_id) references cwd_application
2016-05-30 15:03:47,515 ERROR [localhost-startStop-1] [hibernate.tool.hbm2ddl.SchemaUpdate] execute ERROR: constraint "fk_app_dir_group_app" for relation "cwd_app_dir_group_mapping" already exists
2016-05-30 15:03:47,516 ERROR [localhost-startStop-1] [hibernate.tool.hbm2ddl.SchemaUpdate] execute could not complete schema update
org.postgresql.util.PSQLException: ERROR: constraint "fk_app_dir_group_app" for relation "cwd_app_dir_group_mapping" already exists
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555)

1 answer

0 votes
105349
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 31, 2016

Hey Willis!

Just doing some cursory searching around, have you seen this issue?:

https://jira.atlassian.com/browse/CONF-21697

It's for a significantly older version of Confluence than you're running, the but the symptoms are nearly identical.  See if that points you in the right direction.

Good luck!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events