-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.x]: Upgrade to Craft 4 #13130
Comments
There should have been a stack trace that was also output alongside the error. Can you please post it here? (If there wasn’t a stack trace, search your |
Sure, here is the stack trace
|
Thanks! This is now fixed for the next release. You can get the fix now by changing your |
Awesome! Thanks Brandon. |
Craft 4.4.9 is out with that migration fix. |
What happened?
Description
I followed the upgrade guide on the website. I am on the latest version of Craft, I ran 'php craft project-config/rebuild', changed version of all plugins and craft. When I run 'composer update' everything is fine, but the second I run 'php craft migrate/all' I get the following error.
The SQL being executed was: SELECT
id
,name
,handle
,fs
,transformFs
,transformSubpath
,titleTranslationMethod
,titleTranslationKeyFormat
,sortOrder
,fieldLayoutId
,uid
FROM
craft_volumes
WHERE
dateDeleted
IS NULLORDER BY
sortOrder
'It's missing a couple of fields from the volumes table as those did not exists withing Craft 3 but I don't think I should create them manually.
Does anyone have an idea as to what's happening or whether I missed a step (I tried twice).
Expected behavior
When I run 'php craft migrate/all' it migrates all it needs and the sites comes up
Actual behavior
Throws an error when running migrations.
Craft CMS version
3.8.8
PHP version
8.1.11
Operating system and version
Mac OS Ventura 13.3
Database type and version
MySQL 8.0.30
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: