Since a couple of days i try to upgrade my "native" Magento 2.0.7 I use composer as suggested by documentation :
composer require magento/product-community-edition 2.1.0 --no-update;
composer update;
php bin/magento setup:upgrade;
But when Magento try to update "Magento_Cms" native extension, I got a :
The page URL key contains capital letters or disallowed symbols.
Any help ?
EDIT : Here the solution I use to by pass the problem :
- Edit file vendor/magento/module-cms/Setup/UpgradeData.php
- Search for method public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context){}
And just comment the content of the :
if (version_compare($context->getVersion(), '2.0.1', '<')) { /* [...] */ }
I don't know why setup is entering in this condition, because my current version is 2.0.7 ! Maybe this post will help someone... (you can reset the updated file after installation).