Closed LinneaHarts closed 3 months ago
Any chance you can send us your Craft 4 database backup and your Craft 5 composer.json
+ composer.lock
files? If so, please send them to support@craftcms.com and we can look into it from there.
Hi @brandonkelly we are seeing the same exact issue. All fields in our Entries are gone after upgrade. We had used MariaDB 11.0.2 prior to the upgrade, so we think we can rule out the utf8 change as the issue.
@ph1lb4 Same question to you then. The more the merrier.
This ended up being due to Yii 2.0.50 adding JSON column support for MariaDB – which I totally missed when reviewing the update 🤦 – which conflicted with Craft’s MariaDB/JSON column support.
Just released Craft 5.2.3 which fixes the bug.
Hi @brandonkelly, I was able to get a fully updated Craft 4 updated to 5.3.4 without issues on my local environment running the steps manually. However, anytime I try to deploy those config/composer changes to our staging site I end up with the above stated issue of empty text fields. However, I have tested doing the update manually on the staging server and had content persist until I deployed the committed config changes which wiped out the text fields again. Any thoughts here? I will send the requested info to support as well.
@cweiper Yeah please send a production database backup, plus the Composer and config/project/
files being deployed.
@brandonkelly , chatted back and for with Tommy at support and settled on redoing the upgrade, which went smoother this time without any data loss.
What happened?
Description
Upgrading from Craft 4.10.1, following the upgrade path, and all text fields in the CMS are empty
Steps to reproduce
composer update
php craft up
php craft db/convert-charset
Expected behavior
Text fields should have values in them
Actual behavior
All text fields are empty
Craft CMS version
4.10.1 to 5.2.2
PHP version
8.2.18
Operating system and version
Mac
Database type and version
MariaDB
Image driver and version
No response
Installed plugins and versions
- I've tried this with my full list of plugins, and also with an abbreviated list of plugins, and it's still happening, so I don't think it's a plugin problem
Plugins CKEditor 4.1.0 Element API 4.1.0 Mix v1.7.1
Craft 5.2.2