Uninstalling plugins from Easy Redmine

How to correctly uninstall Easy plugin and prevent problems afterwards.

When you want to get rid of a plugin from Easy Redmine, you must uninstall it and unmigrate it from your database. The most common mistake is that a plugin is simply deleted from filesystem, but not removed from database. You may then come across internal errors on different pages.

The production log would contain something like:

The single-table inheritance mechanism failed to locate the subclass: 'EpmActivityFeed'...

These are the correct ways to uninstall Easy plugins

Uninstall all plugins with confirmation

rake easyproject:uninstall:all_plugins RAILS_ENV=production

redmine uninstall

Uninstall a single plugin

rake easyproject:uninstall:plugin RAILS_ENV=production NAME=easy_budgetsheet

redmine uninstall plugin

Don't forget to restart webserver afterwards.
(e.g. service nginx restart or service unicorn restart)

Already deleted plugins must be restored in the filesystem and then uninstalled.

Try Easy Redmine in 30 days free trial

Full features, SSL protected, daily backups, in your geolocation