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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,110 views 2 13
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