Comments (4)
CKEditor 3 isn’t compatible with Craft 5, but CKEditor 4 is. Change your craftcms/ckeditor
requirement in composer.json
to ^4.0.0
and try again.
If you have other plugins, they might need to be updated as well. See the “Craft 5 Upgrade” utility in your Craft 4 install – it will list each of the installed plugins and their latest Craft 5-compatible version (if they have one).
from cms.
Hi @brandonkelly thank you very much for the support, I already followed the docs but somehow I was missing that step. I mean, once seeing the craft panel section that listed the plugins ready for migration I assumed plugins were already at the correct version, but didn't match with the version installed. Once I got that I managed to proceed.
I have to stress a thing, though: I tested the upgrade on a dev env, and all was ok, but when I replicated on production env there was an issue with migrations which didn't let me proceed (I had to restore db backup something like 10 times of try-error-repeat). In detail, the issue was with this two migrations:
- vendor/craftcms/commerce/src/migrations/m240308_133451_tidy_shipping_categories.php
- vendor/craftcms/commerce/src/migrations/m240313_131445_tidy_shipping_methods.php
To make php craft up
works properly I had to invert rows $this->addForeignKey(...
and $this->alterColumn(...
in both those migrations, because there was an irreversible error. Once edited, I was able to successfull migrate.
Why the issue was only on prod environment? Maybe some differences in mysql server (some different constraints)? Questions I got no answers to, but I hope my workaround doesn't mean I introduced any more issues.
This is why I decided to report this, I bet you can point me to right direction.
Hope this makes sense somehow, and if necessary I can properly open an issue to better investigate the matter.
from cms.
@masiorama Any chance you can share a production database backup, from before those migrations were run? If so, please send to [email protected] along with your composer.json
and composer.lock
files, and we’ll see if we can reproduce + fix.
from cms.
@brandonkelly done, thanks!
from cms.
Related Issues (20)
- [5.x]: UX issue with Password Reset dialog. No way to close dialog box. HOT 2
- [4.x]: cookieValidationKey must be configured with a secret key. HOT 5
- [5.x]: Element chips and cards show other users' provisional drafts HOT 1
- [5.x]: Slideout shortcuts broken when the slideout is opened via disclosure menu HOT 3
- [4.9.7]: Calling unknown method: craft\web\Response::getIsDraft() HOT 2
- [5.x]: a11y issue with status indicators HOT 3
- [5.x]: Level indentation broken for entries with status label in structured sections HOT 1
- [5.x]: Replace File assets - UI doesn't provide enough feedback to authors HOT 2
- Serialization failure HOT 5
- [5.x]: Float numbers in GraphQL weird behaviour HOT 1
- [5.x]: When using editableTableField, with autosuggest and suggestEnvVars, the dropdown only appears on first table row HOT 3
- [5.x]: Aliasing of fields in field layout doesn't work HOT 5
- [5.x]: SVGs are considered "Images" HOT 7
- [5.x]: 0 added to all empty fields HOT 4
- [5.x]: Upgrade from Craft 4 deletes all text fields HOT 4
- [5.x]: Error on the edit page for created assets by asset index utility from files with spaces in filename HOT 8
- [5.x]: Collapsing the bottom entry in a structure appends "Nothing yet" to the index view HOT 2
- [5.x]: Unusable Icons Displayed in Icon Field HOT 3
- [5.x]: The "Edited" tag in the breadcrumbs bar disappears on page reload HOT 2
- [5.x]: Dropdown field marked as dirty when opening slideout HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cms.