cancel
Showing results for 
Search instead for 
Did you mean: 

"Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory

"Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory

Привет! Сделал быструю установку темы и Magento 2. Импортировал базу данных разработчика темы. Выдаёт ошибку.

 

"Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.


The following modules are outdated:
Magento_Theme schema: current version - 2.0.1, required version - 2.0.0
Magento_Theme data: current version - 2.0.1, required version - 2.0.0
Magento_Customer schema: current version - 2.0.7, required version - 2.0.6
Magento_Customer data: current version - 2.0.7, required version - 2.0.6
Magento_Cms schema: current version - 2.0.1, required version - 2.0.0
Magento_Cms data: current version - 2.0.1, required version - 2.0.0
Magento_Catalog schema: current version - 2.0.7, required version - 2.0.3
Magento_Catalog data: current version - 2.0.7, required version - 2.0.3
Magento_Search schema: current version - 2.0.4, required version - 2.0.1
Magento_Search data: current version - 2.0.4, required version - 2.0.1
Magento_Bundle schema: current version - 2.0.2, required version - 2.0.1
Magento_Bundle data: current version - 2.0.2, required version - 2.0.1
Magento_Downloadable schema: current version - 2.0.1, required version - 2.0.0
Magento_Downloadable data: current version - 2.0.1, required version - 2.0.0
Magento_Sales schema: current version - 2.0.2, required version - 2.0.1
Magento_Sales data: current version - 2.0.2, required version - 2.0.1
Magento_GroupedProduct schema: current version - 2.0.1, required version - 2.0.0
Magento_GroupedProduct data: current version - 2.0.1, required version - 2.0.0
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
Magento_SalesRule schema: current version - 2.0.1, required version - 2.0.0
Magento_SalesRule data: current version - 2.0.1, required version - 2.0.0
Magento_Swatches schema: current version - 2.0.1, required version - 2.0.0
Magento_Swatches data: current version - 2.0.1, required version - 2.0.0
Magento_GiftMessage schema: current version - 2.0.1, required version - 2.0.0

 

Использовал следующие команды:

 

php bin/magento setup:upgrade
php -d set_time_limit=3600 -d memory_limit=1024M bin/magento setup:di:compile
rm -rf var/cache/* var/di/* var/generation/* var/page_cache/*
php bin/magento cache:clean
php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento setup:static-content:deploy

Не помогает.

2 REPLIES 2

Re: "Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento r

Hi @SpartakMagento

 

You need to degrade your module versions.

 

In your Database open the setup_module table and degrade schema_version and data_version to 2.0.0 for the Magento_Theme similarly for other modules.

 

As bin/magento setup:upgrade command can not degrade module versions.

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

Re: "Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento r

The developer of a subject solved a problem. I wrote them to support.

Thanks!

 

========

 

Разработчик темы решил проблему. Я писал им в поддержку.

Спасибо!