I've installed via the 2.0 branch (2.0.2) and I've also installed the sample data.
Steps -
Cloned 2.0 Branch
Ran composer install
Ran bin/magento sampledata:deploy
Went to url and ran web setup
Opened base url and got the usual error report generated.
Here's the error report:
a:4:{i:0;s:726:"Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated:
Magento_Catalog schema: current version - 2.0.4, required version - 2.0.3
Magento_Catalog data: current version - 2.0.4, required version - 2.0.3
Magento_Search schema: current version - 2.0.3, required version - 2.0.1
Magento_Search data: current version - 2.0.3, required version - 2.0.1
Magento_Quote schema: current version - 2.0.2, required version - 2.0.1
Magento_Quote data: current version - 2.0.2, required version - 2.0.1
Magento_CatalogRule schema: current version - 2.0.1, required version - 2.0.0
Magento_CatalogRule data: current version - 2.0.1, required version - 2.0.0";i:1;s:1030:"#0 [internal function]: Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
i suggest you should run bin/magento setup:upgrade as stated in the the manual
@Sniperumm running upgrade wont work, since you are trying to downgrade(from a previous installation probably via develop in which module versions have been updated in module.xml, which is newer than 2.0.2). But, downgrade is not supported. Please clean you database and start over. You can use bin/magento setup:uninstall to clean it too, it will also clean generated files and cache.
Created MAGETWO-48744 to improve messaging when attempting downgrade.
I'm running into the same issue, however I cannot afford to uninstall my magento2 as there're months work involved. Is there another solution at all? I run bin/magento upgrade all the time with no problem, now this issue has suddenly come up:
Exception #0 (Magento\Framework\Exception\LocalizedException): Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated:
Magento_Sales schema: current version - 2.0.3, required version - 2.0.2
Magento_Sales data: current version - 2.0.3, required version - 2.0.2
Removing the reference to the module from app/etc/config.php or set 'o' value for each module then run magento setup:upgrade
Removing the reference to the module from app/etc/config.php or set 'o' value for each module then run magento setup:upgrade
Doesn't work.
For example, if I disable Magento_Store, I get a message:
PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento\Store\Api\StoreRepositoryInterface in /../vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:73
@Sniperumm, thank you for your report.
We've created internal ticket(s) MAGETWO-48744 to track progress on the issue.
Hi guys
Please help me to fix my error, update from 2.1.3 to 2.2 by the following steps
upload the new magento version on root and the updated them too then run the following commands
rm -rf var
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
php bin/magento cache:clean
chmod -R 777 pub var generated
php bin/magento setup:upgrade
Running schema recurring...Invalid Document
Element 'resource': The attribute 'title' is required but missing.
Line: 6
, and I follow the rest of steps
Thanks
Hello @NerminPh are you still having this problem with your upgrade? if it so, please I highly recommend you to create a new Ticket with a proper title to have someone to help you, because this one is about to how to downgrade to another version (which is not at all recommended, and imply to modify manually some DB information).
I鈥檓 working on it #distributed-cd
@angelEbizmarts thank you for joining. Please accept team invitation here and self-assign the issue.
Most helpful comment
I'm running into the same issue, however I cannot afford to uninstall my magento2 as there're months work involved. Is there another solution at all? I run bin/magento upgrade all the time with no problem, now this issue has suddenly come up:
Exception #0 (Magento\Framework\Exception\LocalizedException): Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated:
Magento_Sales schema: current version - 2.0.3, required version - 2.0.2
Magento_Sales data: current version - 2.0.3, required version - 2.0.2