Looks like this is the failure:


java.sql.SQLException: Cannot add foreign key constraint



and



org.hibernate.HibernateException: Failed updating schema while executing
query [alter table activitystream_events_status add index
FKBF7104E8CB8C5002 (ases_eventid), add constraint FKBF7104E8CB8C5002
foreign key (ases_eventid) references activitystream_events (ase_eventid)]


com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:652)


com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:393)



So it appears to be the same problem as
https://jira.xwiki.org/browse/XWIKI-14225, however, this is *not *the case
for me, my activitystream table is already INNODB:



Thomas Mortagne
<https://jira.xwiki.org/secure/ViewProfile.jspa?name=tmortagne> added a
comment - 25/Apr/17 04:25

*The issue was that activitystream_events was still MyISAM for some reason.
Converting it to INNODB fix it.*

Reply via email to