User Tools

Site Tools


udropship:umarketplace:disable_unirgy_modules

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
udropship:umarketplace:disable_unirgy_modules [2023/06/06 10:20]
wtsergo
udropship:umarketplace:disable_unirgy_modules [2023/06/06 10:41] (current)
wtsergo [Disable]
Line 1: Line 1:
 ===== M2: Instructions to enable/disable unirgy module ===== ===== M2: Instructions to enable/disable unirgy module =====
  
-  - Truncate these tables (or remove rows with udropship_vendor!=0): catalog_product_index_price, catalog_product_index_price_replica, cataloginventory_stock_status, cataloginventory_stock_status_replica \\ ''truncate catalog_product_index_price;'' \\ ''truncate catalog_product_index_price_replica;'' \\ ''truncate cataloginventory_stock_status;'' \\ ''truncate cataloginventory_stock_status_replica;''  +==== Notes ==== 
-  - Collect modules to disable using this command \\ + 
-''bin/magento module:status| grep Unirgy_'' \\ +As state in magento documentation [[https://devdocs.magento.com/guides/v2.3/extension-dev-guide/declarative-schema/db-schema.html#disable-a-module]] modules disable will drop those modules' db tables, i.e. data will be lost. If you plan to restore it later don't forget to use ''--safe-mode=1'' option of ''setup:upgrade'' command or create db dump. 
-  - Disable unirgy modules using this command (<modules to uninstall> with actual module names returned by prev command) + 
-''bin/magento module:disable --clear-static-content <modules to uninstall>'' \\ +==== Disable ==== 
-  - Run setup:upgrade command \\ + 
-''bin/magento setup:upgrade''\\ +  - Truncate these tables (or remove rows with udropship_vendor!=0): catalog_product_index_price, catalog_product_index_price_replica, cataloginventory_stock_status, cataloginventory_stock_status_replica <code>truncate catalog_product_index_price;  
-  - Run reindex commands \\ +truncate catalog_product_index_price_replica;  
-''bin/magento indexer:reset cataloginventory_stock catalog_product_price'' \\ +truncate cataloginventory_stock_status;  
-''bin/magento indexer:reindex cataloginventory_stock catalog_product_price'' \\+truncate cataloginventory_stock_status_replica;</code> 
 +  - Collect modules to disable using this command <code>bin/magento module:status| grep Unirgy_</code> 
 +  - Disable unirgy modules using this command (replace <modules to uninstall> with actual module names returned by prev command) <code>bin/magento module:disable --clear-static-content <modules to uninstall></code>  
 +  - Run setup:upgrade command <code>bin/magento setup:upgrade</code> 
 +  - Run module:uninstall command (replace <modules to uninstall> with actual module names returned in step 2 command) <code>bin/magento module:uninstall --non-composer <modules to uninstall></code> 
 +  - Run reindex commands <code>bin/magento indexer:reset cataloginventory_stock catalog_product_price  
 +bin/magento indexer:reindex cataloginventory_stock catalog_product_price </code>
udropship/umarketplace/disable_unirgy_modules.1686046820.txt.gz · by wtsergo