Closed LucyRa closed 2 years ago
Thanks for reporting! This looks to be the same issue as #11843 which has been fixed for the next release.
@brianjhanson - that's great, but how do I resolve this for my project?
@LucyRa You can restore your database to a 3.7 pre-update attempt database dump. Then when you do the Craft 4 update, change your composer.json's craftcms/cms
requirement to:
"require": {
"craftcms/cms": "dev-develop#a01c8c636a2db6c47537cfa0d4a19f8b90a52242 as 4.2.3",
"...": "..."
}
Then run composer update
- that'll pull in the fix early and the update should go through fine for you.
What happened?
Description
Steps to reproduce
php craft migrate/all
Expected behavior
Expected migrations to run, to finalise the upgrade to Craft4
Actual behavior
Migration for the matrix block owners table failed, seemingly due to an empty table column.
When attempting to finalise the migration in the browser the following is output:
Craft CMS version
3.7/4
PHP version
8.0.2
Operating system and version
MacOS X 12.5.1
Database type and version
MySql 8.0.30
Image driver and version
No response
Installed plugins and versions