Unable to edit or delete page

Created a page, can't edit or delete it afterwards.

As far as I know, I'm just using the standard Confluence 6.2.3 installation without any add-ons.

When I edit the page, I get the error message:

Cause

org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.atlassian.confluence.content.ContentProperty#159213]
    at org.hibernate.boot.internal.StandardEntityNotFoundDelegate.handleEntityNotFound(StandardEntityNotFoundDelegate.java:28)

Stack Trace:[hide]

org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.atlassian.confluence.content.ContentProperty#159213]

 

When I try to delete the page I get: We couldn't delete your pages. Try again.

 

Tried with both the user account that created the page as with the Administrator.

1 answer

0 vote
Daniel Eads Community Champion Aug 16, 2017

Oh no, looks like there might be some corruption in your database. Try fetching the properties in your database for that object:

SELECT * FROM contentproperties WHERE contentid = '159213';

If something looks amiss in the results, try modifying/deleting that particular row. Otherwise you might need to escalate to fully deleting that page via SQL.

If you have a DBA, it's also worth having them take a look at your database to see if everything is healthy. Good luck!

@Daniel Eads we had a similar issue in our instance of confluence server. We were not able to edit the page for a with this issue showing up but it got fixed on its own. Should we be worried?

Daniel Eads Community Champion Jan 30, 2018

Hmm - probably worth checking the following:

  1. Was your Confluence Server application restarted since this initially occurred? You can check the Uptime on the System Information page in Administration.
  2. Have you gone through any upgrades since this started (upgrades require a restart, so checking uptime in #1 would give you a quick yes/no without checking your upgrade history)
  3. Has a vacuum (for PostgreSQL) or some other database cleanup function run? If you engage a DBA to look into this, also have them check the general health of your contentproperties table

If this were my instance, I'd probably write it off unless it happened more than once or there was definitely no chance of a change occurring between "then" and "now" (although it's really hard to rule that out - running a search index for example doesn't post a message in the logs).

@Daniel Eads Thanks I will look into it.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,716 views 25 10
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