Cannot delete or update a parent row: a foreign key constraint fails

Hello,

I have upgarded Confluence from 5.1.3 to 5.3 version. I got the following error on atlassian-confluence.log

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`confluence`.`AO_9412A1_USER_APP_LINK`, CONSTRAINT `fk_ao_9412a1_user_app_link_user_id` FOREIGN KEY (`USER_ID`) REFERENCES `AO_9412A1_AOUSER` (`ID`))

How to fix this issue?

3 answers

Did you end up finding a solution for this one? Encountering the same issue from 5.2.3 to 5.4.

I am also getting the same error, when I upgraded from Confluence v4.3.7 to v5.4.2. Any solutions?

Hi Bilal,

You seem to encounter a bug in Confluence (https://jira.atlassian.com/browse/CONF-32014). Check if the workaround can help you fix the problem.

Regards,
Sam

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
Published Thursday in Confluence

Color tables for a shiny Confluence page

...; ## Developed by: Alana Fernando ## Shared with love ## @param style:title=style type|type=enum|required=true|desc=Choose a style.|enumValues=Style1,Style2,Style3,Style4,Style5 ## @param alignment:title...

143 views 8 11
Read article

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