Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

I. Disable Magestore modules

  1. Take a full backup of your site

  2. Turn on maintenance mode

    php bin/magento maintenance:enable

  3. Switch to developer mode

    php bin/magento deploy:mode:set developer

  4. Disable all Magestore modules

    php bin/magento module:status | grep -i 'Magestore' | xargs php bin/magento module:disable

II. Remove data

  1. Login to your database

  2. Turn off foreign key checks

    SET FOREIGN_KEY_CHECKS=0;

  3. Drop tables created by Magestore modules
    (blue star) You can ignore tables that do not exist

    DROP TABLE os_warehouse;
    DROP TABLE webpos_cash_denomination;
    DROP TABLE webpos_cash_transaction;
    DROP TABLE webpos_category_deleted;
    DROP TABLE webpos_customer_deleted;
    DROP TABLE webpos_location;
    DROP TABLE webpos_order_deleted;
    DROP TABLE webpos_order_payment;
    DROP TABLE webpos_pos;
    DROP TABLE webpos_order;
    DROP TABLE webpos_action_log;
    DROP TABLE webpos_order_payment_error;
    DROP TABLE webpos_product_deleted;
    DROP TABLE webpos_search_product;
    DROP TABLE webpos_session;
    DROP TABLE webpos_shift;
    DROP TABLE webpos_staff;
    DROP TABLE webpos_authorization_role;
    DROP TABLE webpos_authorization_rule;

  4. Turn on foreign key checks

    SET FOREIGN_KEY_CHECKS=1;

  5. Delete attributes created by Magestore modules

    DELETE FROM `eav_attribute` WHERE `attribute_code` IN ('created_location_id', 'webpos_visible', 'customer_telephone', 'sub_id', 'tmp_customer_id');

  6. Remove registered module

    DELETE FROM `setup_module` WHERE `module` LIKE 'Magestore%'

III. Remove module code

  1. Remove code

    rm -rf app/code/Magestore

  2. Remove 3rd module dependencies
    ⚠ If you have any modules that depend on the Magestore modules, you need to disable or removed them in this step too.

  3. Run compilation

    php bin/magento setup:di:compile

  4. Turn on production

    php bin/magento deploy:mode:set production

  • No labels