Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninstall #21

Open
khpet opened this issue Jul 17, 2015 · 8 comments
Open

Uninstall #21

khpet opened this issue Jul 17, 2015 · 8 comments
Labels

Comments

@khpet
Copy link

khpet commented Jul 17, 2015

When I remove this extension, it breaks the site and shows the following error on the frontend. Is there a database entry I need to remove as well?

Invalid backend model specified: smile_virtualcategories/category_attributes_backend_virtual

@devromans
Copy link

DELETE FROM eav_attribute WHERE attribute_code = "virtual_category";

@nicosomb
Copy link
Contributor

Hello @khpet,
Do you still have a problem by uninstalling the module?

@afoucret
Copy link
Contributor

👍 for the query.

Two point here :

  • Magento does not handle module uninstall but only setup
  • There is no way we can handle this on attributes

Maybe we should add an uninstall script that will clean the DB and update the README with an uninstall entry.

Any volonteers ?

@sylvainraye
Copy link

@afoucret for uninstall script take a look here: https://github.com/magento-hackathon/MageTrashApp

@simbus82
Copy link

So, how we have to do if we want to remove the smile extension?

@WinstonN
Copy link

DELETE FROM eav_attribute where attribute_code = 'search_weight';
DELETE FROM eav_attribute where attribute_code = 'virtual_category';

@RDXSportsCom
Copy link

After disable and removing all the files I am getting following error in Magento System, Index

There has been an error processing your request
Indexer model is not defined.

@JulienDotDev
Copy link

JulienDotDev commented Nov 6, 2017

For EE users :

  • ⚠️ don't delete the 'search_weight' attribute !
  • revert modifications on 'is_anchor' attribute
  • delete attribute 'virtual_category'
  • delete elastic suite indexers from tables :
UPDATE `eav_attribute` SET `frontend_input` = 'select', `default_value` = NULL WHERE `eav_attribute`.`attribute_code` = 'is_anchor' LIMIT 1 ;


DELETE FROM `enterprise_mview_metadata` WHERE `enterprise_mview_metadata`.`table_name` = 'smile_elasticsearch_search_position' LIMIT 1 ;
DELETE FROM `enterprise_mview_metadata` WHERE `enterprise_mview_metadata`.`table_name` = 'smile_virtualcategories_product_position' LIMIT 1 ;
DELETE FROM `enterprise_mview_metadata` WHERE `enterprise_mview_metadata`.`table_name` = 'popularity' LIMIT 1 ;

DELETE FROM `enterprise_mview_metadata_group` WHERE `enterprise_mview_metadata_group`.`group_code` = 'search_term_product_position' LIMIT 1 ;
DELETE FROM `enterprise_mview_metadata_group` WHERE `enterprise_mview_metadata_group`.`group_id` = 'virtual_categories_product_pos' LIMIT 1 ;
DELETE FROM `enterprise_mview_metadata_group` WHERE `enterprise_mview_metadata_group`.`group_id` = 'popularity' LIMIT 1 ;

Don't forget to update the config 'catalogsearch/fulltext_engine'.

Fulltext engine should be working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants