HTTP Status 500 - Unknown column 'this.external_id' in 'field list'

The title says it all, but below is some snippet of the error information. Please help.

What I did
I have upgraded the Confluence from 5.0.x to the latest via .bin (64 bit) on our instance. The upgrade went well and the installation reported that the Confluence has been upgraded successfully. I tried to restart and I see only HTTP Status 500 error with the below snippet of the error message.

Solution That I tried
I have tried the below solution but in vain.

Error Info
org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: Unable to perform find; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'this.external_id' in 'field list' org.springframework.orm.hibernate.HibernateAccessor.convertJdbcAccessException( org.springframework.orm.hibernate.HibernateAccessor.convertHibernateAccessException( org.springframework.orm.hibernate.HibernateTemplate.execute( org.springframework.orm.hibernate.HibernateTemplate.execute( com.atlassian.crowd.embedded.hibernate2.HibernateUserDao.internalFindUser( com.atlassian.crowd.embedded.hibernate2.HibernateUserDao.internalFindByName( com.atlassian.crowd.embedded.hibernate2.HibernateUserDao.findByName( com.atlassian.confluence.user.crowd.CachedCrowdUserDao$1.apply( com.atlassian.confluence.user.crowd.CachedCrowdUserDao$1.apply( com.atlassian.confluence.cache.option.OptionalReadThroughCache.get( com.atlassian.confluence.user.crowd.CachedCrowdUserDao.findUser( com.atlassian.confluence.user.crowd.CachedCrowdUserDao.findByName(

1 answer

1 accepted

1 vote
Accepted answer

Thanks to Hercules. It gave me a hint to a solution that solved this problem. Some of the tables were in MyISAM and when I replaced those tables with InnoDB and made the MySQL default engine type to InnoDB, the problem was solved.

I think the automatic upgrade should do this as part of the checklist and ensure that the DB schema contains an appropriate configuration/data.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

893 views 45 7
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