When I execute ./concrete/bin/concrete5 c5:update && ./concrete/bin/concrete5 c5:package-update --all && ./concrete/bin/concrete5 c5:entities:refresh, that appears to be working as expected. I then follow that with ./concrete/bin/concrete5 c5:database:charset:set utf8mb4, but that does not work as it keeps throwing the same errors that the Foreign Key can’t be updated:
converting table “atExpressSettings”: An exception occurred while executing ‘ALTER TABLE atExpressSettings CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci’:
SQLSTATE[HY000]: General error: 1832 Cannot change column ‘exEntityID’: used in a foreign key constraint ‘FK_E8F67F0FCE2D7284’
I have been working on this issue for days now and I’m unable to get passed it to move the side up in the versioning scheme.
Do you have a lot of custom express entities set up in this site? Just wondering if something might’ve gotten deleted without cleaning itself up. Sometimes that can happen with a user getting deleted, so maybe if there’s an Express entity associated with a user? But those are just wild guesses.