The versions in use:
MySQL 8; Jira 8.13.1
I am trying to reindex after upgrading from Jira 8.9 to 8.13.1 and MySQL from 5.7 to 8. I get the error -
Exception during index consistency check: com.atlassian.cache.CacheException: com.atlassian.cache.CacheException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:SELECT ID, pname, URL, LEAD, DESCRIPTION, pkey, pcounter, ASSIGNEETYPE, AVATAR, ORIGINALKEY, PROJECTTYPE FROM project ORDER BY pname (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ', DESCRIPTION, pkey, pcounter, ASSIGNEETYPE, AVATAR, ORIGINALKEY, PROJECTTYPE FR' at line 1)
'LEAD' is one of the new keywords in MySQL 8. Hence the error from the query.
I tried starting Jira in safe mode to make sure there is no impact from user-installed plugins.
Any thoughts to what could have gone wrong?