How to uninstall redmine plugins?

2019-08-10 12:01发布

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.

4条回答
乱世女痞
2楼-- · 2019-08-10 12:24

Try this one:

rake db:migrate:plugin NAME=plugin_name VERSION=0 RAILS_ENV=production
查看更多
趁早两清
3楼-- · 2019-08-10 12:30

try this one ..

rake redmine:plugins:migrate NAME=plugin_name VERSION=0
查看更多
爷、活的狠高调
4楼-- · 2019-08-10 12:41

It's worth noting this:

Note: The rake task db:migrate:plugin has been deprecated, please use the replacement version redmine:plugins:migrate
查看更多
手持菜刀,她持情操
5楼-- · 2019-08-10 12:42

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.

查看更多
登录 后发表回答