Keywords: Redmine - Windows - Technical issue - Other
bnsupport ID: 45d990ce-2096-150c-3bf7-e3636c47d640
* Stack: Bitnami Redmine (4.0.4)
* OS: Windows 7
I installed the redmine_openid_connect plugin and configured the plugin to connect with keycloak openID server. Following the instructions given on the plugin's github page, I ran
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
and restarted the server. Since then I haven't been able to access redmine and I see the following in the production.log:
Started GET "/redmine/" for fe80::abcd:efgh:ijk:lmno at 2019-12-30 19:03:39 -0600
Processing by WelcomeController#index as HTML
Current user: myteam (id=1)
Rendering welcome/index.html.erb within layouts/base
Rendered collection of news/_news.html.erb [3 times] (33.3ms)
Rendered welcome/index.html.erb within layouts/base (201.1ms)
Completed 500 Internal Server Error in 844ms (ActiveRecord: 61.1ms)
ActionView::Template::Error (Mysql2::Error: Table 'bitnami_redmine.oic_sessions' doesn't exist: SHOW FULL FIELDS FROM `oic_sessions`):
121: <div class="bgl"><div class="bgr">
122: Powered by <%= link_to 'Bitnami Redmine Stack', 'https://bitnami.com/stack/redmine' %> © 2006-2019 Jean-Philippe Lang
127: <%= call_hook :view_layouts_base_body_bottom %>
lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in `block in call_hook'
I do not want to lose the database or any data. How can I recover my redmine stack?