Attempted an update from 8.4.4 to 9.4 (xwiki repo on Ubuntu 16.04, everything else on the VM is up to date)
looking at the “root causes” I presume that the problem is related to
Migration of database [xwiki] has failed, it could not be safely used! Database is currently in version  while the required version is .
Unable to update schema of wiki [xwiki]
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)]
Can’t create table ‘xwiki.#sql-441_b72’ (errno: 150)
The xwiki user has “all” permissions. I’m a little lost as what I’ve done “wrong”.