martin-denizet / redmine_login_audit

Redmine plugin to log successful login attempts in Redmine
44 stars 30 forks source link

Internal Error 500 #28

Closed yatkha closed 8 years ago

yatkha commented 8 years ago

Hi, Martin

  Redmine version                3.2.0.stable
  Ruby version                   2.1.8-p440 (2015-12-16) [x86_64-linux]
  Rails version                  4.2.5
  Database adapter               Mysql2
  redmine_login_audit            0.2.4

Still the same situation, migration OK, but:

Completed 500 Internal Server Error in 27ms (ActiveRecord: 8.0ms)
NoMethodError (undefined method `initialize_grid' for #<LoginAuditController:0x007f59661748e8>):
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

/opt/bitnami/apps/redmine/htdocs$ bundle list lack of wice_grid, therubyracer gems

/opt/bitnami/apps/redmine/htdocs/plugins/redmine_login_audit$ bundle list

    therubyracer (0.12.2)
    wice_grid (3.5.0)

How to fix it?

yatkha commented 8 years ago

Solution: /home/bitnami/apps/redmine/htdocs/bundle install --no-deployment

martin-denizet commented 8 years ago

Thank you for the bitnami command. I added it to the README. Cheers,