Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Uninstalling modules

Go to End



Community Member, 16 Posts

24 March 2009 at 10:07am

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 - - 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.