How to uninstall redmine plugins?

浪子不回头ぞ 提交于 2019-12-24 16:05:32

问题


I cannot uninstall the redmine plugin. I typed below as this redmine page describes.

rake redmine:plugins:migrate NAME=plugin_name VERSION=0 RAILS_ENV=production

And remove the plugin from plugin directory. When redmine restarted, it shows error screen. If I put Redmine Bitbucket back to plugin directory, it works again...

I used Redmine Bitbucket. The plugin is good. But I wanted to try uninstall it.

Some new redmine plugins have problem like this?

My redmine version is Redmine 2.1.4.stable.

I solved myself.

The problem is not on this plugin. I just set my Gemfile.lock's owner as root. I changed the ownership. I can remove this plugin. I will try to use this plugin again.


回答1:


It's worth noting this:

Note: The rake task db:migrate:plugin has been deprecated, please use the replacement version redmine:plugins:migrate



回答2:


Try this one:

rake db:migrate:plugin NAME=plugin_name VERSION=0 RAILS_ENV=production



回答3:


try this one ..

rake redmine:plugins:migrate NAME=plugin_name VERSION=0



回答4:


You can always see a list of rake tasks that come with your Redmine version.

To see them, just navigate to your redmine root and type:

bundle exec rake -T

And there when you scroll you will find list of rake tasks associated with plugins, that way you will always use proper uninstall command.



来源:https://stackoverflow.com/questions/14124776/how-to-uninstall-redmine-plugins

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!