Skip to content

Attempted installation results in redmine all fucked up.... #95

@liar666

Description

@liar666

Hi,

I tried to install your ekanban plugin in Redmine 2.5.2.devel

The migration gave the following error:

# rake redmine:plugins:migrate RAILS_ENV=production
An error occurred while loading the routes definition of ekanban plugin (/usr/share/redmine/plugins/ekanban/config/routes.rb): You should not use the `match` method in your router without specifying an HTTP method.
If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.
If you want to expose your action to GET, use `get` in the router:
  Instead of: match "controller#action"
  Do: get "controller#action".

So I replaced lines like:
match 'kanban_apis/kanban_card_journals', :controller => 'kanban_apis', :action => 'kanban_card_journals', :via => :get
by:
get 'kanban_apis/kanban_card_journals', :controller => 'kanban_apis', :action => 'kanban_card_journals'

in /usr/share/redmine/plugins/ekanban/config/routes.rb
(NOTE: I know nothing about ruby/rails/...!)

Then, the migration worked flowlessly.

However, when I restarted apache/redmine I discovered that attempting to create a "New Issue" now results in an "Internal error"... And since I have no log at all in redmine, my installation is just all fckd up...

Could you please give me a work around or at least a procedure to remove/uninstall your plugin, so that I can use my redmine again?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions