Hallo,
I have a problem with upgrading Neos from Version 3.3 to 4.0. I’ll get an error when executing ‘composer update’:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don’t install neos/flow 5.0.10
- Conclusion: don’t install neos/flow 5.0.9
- Conclusion: don’t install neos/flow 5.0.8
- Conclusion: don’t install neos/flow 5.0.7
- neos/site-kickstarter 4.0.10 requires neos/content-repository 4.0.10 -> satisfiable by neos/content-repository[4.0.10].
- Conclusion: don’t install neos/content-repository 4.0.10
- neos/site-kickstarter 4.0.9 requires neos/content-repository 4.0.9 -> satisfiable by neos/content-repository[4.0.9].
- Conclusion: don’t install neos/content-repository 4.0.9
- Conclusion: don’t install neos/flow 5.0.6
- Conclusion: don’t install neos/flow 5.0.5
- Installation request for neos/nodetypes ~4.0.0 -> satisfiable by neos/nodetypes[4.0.0, 4.0.10, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 4.0.8, 4.0.9].
- Conclusion: don’t install neos/flow 5.0.4
- neos/site-kickstarter 4.0.8 requires neos/content-repository 4.0.8 -> satisfiable by neos/content-repository[4.0.8].
- Conclusion: don’t install neos/content-repository 4.0.8
- Conclusion: don’t install neos/flow 5.0.3
- Conclusion: don’t install neos/flow 5.0.2
- Installation request for flowpack/simplesearch ^2.0 -> satisfiable by flowpack/simplesearch[2.0.0].
- Conclusion: don’t install neos/flow 5.0.1
- neos/site-kickstarter 4.0.0 requires neos/flow ~5.0.0 -> satisfiable by neos/flow[5.0.0, 5.0.1, 5.0.10, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9].
- neos/site-kickstarter 4.0.2 requires neos/flow ~5.0.0 -> satisfiable by neos/flow[5.0.0, 5.0.1, 5.0.10, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9].
- neos/site-kickstarter 4.0.3 requires neos/flow ~5.0.0 -> satisfiable by neos/flow[5.0.0, 5.0.1, 5.0.10, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9].
- neos/site-kickstarter 4.0.4 requires neos/flow ~5.0.0 -> satisfiable by neos/flow[5.0.0, 5.0.1, 5.0.10, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9].
- neos/site-kickstarter 4.0.5 requires neos/flow ~5.0.0 -> satisfiable by neos/flow[5.0.0, 5.0.1, 5.0.10, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9].
- neos/site-kickstarter 4.0.6 requires neos/flow ~5.0.0 -> satisfiable by neos/flow[5.0.0, 5.0.1, 5.0.10, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9].
- neos/site-kickstarter 4.0.7 requires neos/flow ~5.0.0 -> satisfiable by neos/flow[5.0.0, 5.0.1, 5.0.10, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9].
- Conclusion: don’t install neos/flow 5.0.0
- Installation request for neos/site-kickstarter ~4.0.0 -> satisfiable by neos/site-kickstarter[4.0.0, 4.0.10, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 4.0.8, 4.0.9].
I’m using the exact same steps as in the docu. Before this step I’ve updated Neos from 3.2 to 3.3 without problems. This is my update script.
# Flush the caches
./flow flow:cache:flush --force;
# Update the core package dependencies
composer require --no-update "neos/neos:~4.0.0";
composer require --no-update "neos/nodetypes:~4.0.0";
# Update optional package dependencies (if installed)
#composer require --no-update "neos/demo:~4.0.0";
composer require --no-update "neos/site-kickstarter:~4.0.0";
# Update development packages (if installed)
composer require --no-update --dev "neos/buildessentials:5.0.x-dev";
# Update new UI packages
composer require --no-update "neos/neos-ui:~1.3.0";
composer require --no-update "neos/neos-ui-compiled:~1.3.0";
# Update the packages
composer update;
# Set database charset and update to the new default given character set and collation (defaults to utf8mb4 and utf8mb4_unicode_ci).
./flow database:setcharset;
# Run database migrations
./flow doctrine:migrate;
# Publish resources
./flow resource:publish;
# Flush and warm up cache
./flow flow:cache:flush --force;
./flow cache:warmup;
And this is my composer.json after the update.
{
"name": "neos/neos-base-distribution",
"description": "Neos Base Distribution",
"license": "GPL-3.0+",
"support": {
"email": "hello@neos.io",
"slack": "http://slack.neos.io/",
"forum": "https://discuss.neos.io/",
"wiki": "https://discuss.neos.io/c/the-neos-project/project-documentation",
"issues": "https://github.com/neos/neos-development-collection/issues",
"docs": "http://neos.readthedocs.org/",
"source": "https://github.com/neos/neos-base-distribution"
},
"config": {
"vendor-dir": "Packages/Libraries",
"bin-dir": "bin"
},
"require": {
"neos/neos": "~4.0.0",
"neos/nodetypes": "~4.0.0",
"neos/site-kickstarter": "~4.0.0",
"neos/seo": "~2.0",
"neos/setup": "~4.0",
"flowpack/neos-frontendlogin": "~3.0",
"neos/redirecthandler-neosadapter": "~2.0",
"neos/redirecthandler-databasestorage": "~2.0",
"moc/notfound": "^3.0",
"neos/form-builder": "^1.0",
"neos/swiftmailer": "^6.0",
"flownative/neos-compressor": "^2.0",
"flowpack/simplesearch": "^2.0",
"flowpack/simplesearch-contentrepositoryadaptor": "^2.0",
"neos/neos-ui": "~1.3.0",
"neos/neos-ui-compiled": "~1.3.0"
},
"require-dev": {
"neos/buildessentials": "5.0.x-dev",
"mikey179/vfsstream": "~1.6",
"phpunit/phpunit": "~7",
"symfony/css-selector": "~2.0",
"neos/behat": "dev-master"
},
"suggest": {
"ext-pdo_sqlite": "For running functional tests out-of-the-box this is required"
},
"scripts": {
"post-update-cmd": "Neos\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
"post-install-cmd": "Neos\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
"post-package-update": "Neos\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall",
"post-package-install": "Neos\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall"
}
}