Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0dd617
commit 7bf9a22
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Updating to Craft 3.4 and 2.7.x+ | ||
|
||
There are some steps required when updating to Craft 3.4 and neo 2.7.x+ from older versions. This is because craft 3.4 re-saves the entries before neo has a chance to add the database changes which throws an error when saving. | ||
|
||
## Steps | ||
|
||
1. Edit your composer.json. | ||
|
||
Craft should be `3.4.0` and neo `2.6.5.1`. Your composer.json for craft and neo should look like this: | ||
``` | ||
"craftcms/cms": "3.4.0", | ||
"spicyweb/craft-neo": "2.6.5.1", | ||
``` | ||
|
||
2. Run the update command | ||
|
||
Either `./craft update` or `composer update` | ||
|
||
3. Visit the CMS backend and let it run the migration/update | ||
|
||
4. Change your composer.json file back or like below: | ||
``` | ||
"craftcms/cms": "^3.4.0", | ||
"spicyweb/craft-neo": "^2.6.5.1", | ||
``` | ||
|
||
5. Rerun the update command. |