Jump to:

22983 Posts in 11709 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » Uninstalling modules

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 515 Views
  • petebd
    Avatar
    Community Member
    15 Posts

    Uninstalling modules Link to this post

    Hi,
    I have been playing around with SilverStripe for a few days now and I am completely sold on it.
    My major gripe from a management point of view is the rather messy module uninstallation procedure.
    As I understand it, you delete the files of the module, run dev/build/?flush=1 and then go and delete the relevant tables manually.

    There is a post - http://ssorg.bigbird.silverstripe.com/archive/show/39160 - that suggests that the build task renames obselete tables with obselete_class_name but this does not occur and I guess that it would be rather dangerous, in case you have legacy tables in your database.

    Moreover when I deleted a module of my own recently I got the [UserError] message saying that I had an invalid Singleton class - i.e. one that I had deleted - and I finally worked out that if I found the cache files (Manifest files) I could delete them and it would start working again.

    I also understand that there is some kind of module manager coming in 2.4. In the meantime it would be helpful if the correct module uninstallation procedure were documented so that people like me could search for it more easily.

    Cheers,
    Pete

    515 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.