a-ono / redmine_ckeditor

Redmine plugin for integration CKEditor
304 stars 139 forks source link

Error config plugin with Docker redmine:4.2-passenger #336

Open theblackraven opened 3 years ago

theblackraven commented 3 years ago

I installed the plugin in the dockercontainer redmine:4.2-passenger

i run bundle install and rake redmine:plugins:migrate RAILS_ENV=production and restartet the container.

But when i try to configure the plugin i get this error in the log.

App 105 output: I, [2021-06-04T11:54:14.471784 #105]  INFO -- :   Rendering settings/plugin.html.erb within layouts/admin
App 105 output: I, [2021-06-04T11:54:14.503818 #105]  INFO -- :   Rendered plugins/redmine_ckeditor/app/views/settings/_ckeditor.html.erb (31.5ms)
App 105 output: I, [2021-06-04T11:54:14.503905 #105]  INFO -- :   Rendered settings/plugin.html.erb within layouts/admin (32.1ms)
App 105 output: I, [2021-06-04T11:54:14.504049 #105]  INFO -- : Completed 500 Internal Server Error in 42ms (ActiveRecord: 5.7ms)
App 105 output: F, [2021-06-04T11:54:14.504598 #105] FATAL -- :
App 105 output: F, [2021-06-04T11:54:14.504646 #105] FATAL -- : ActionView::Template::Error (undefined local variable or method `ckeditor_javascripts' for #<#<Class:0x0000564c55449740>:0x0000564c55d14a28>):
App 105 output: F, [2021-06-04T11:54:14.504744 #105] FATAL -- :     1: <%= ckeditor_javascripts %>
App 105 output:     2: <%= stylesheet_link_tag 'editor', :plugin => 'redmine_ckeditor'%>
App 105 output:     3: <%= stylesheet_link_tag 'selector', :plugin => 'redmine_ckeditor'%>
App 105 output:     4: <p>
App 105 output: F, [2021-06-04T11:54:14.504769 #105] FATAL -- :
App 105 output: F, [2021-06-04T11:54:14.504788 #105] FATAL -- : plugins/redmine_ckeditor/app/views/settings/_ckeditor.html.erb:1:in `_plugins_redmine_ckeditor_app_views_settings__ckeditor_html_erb___4166586610835012734_153220'
App 105 output: app/views/settings/plugin.html.erb:6:in `block in _app_views_settings_plugin_html_erb__2870601078504896353_153200'
App 105 output: app/views/settings/plugin.html.erb:4:in `_app_views_settings_plugin_html_erb__2870601078504896353_153200'
App 105 output: lib/redmine/sudo_mode.rb:61:in `sudo_mode'

Is this a problem with the docker container or with redmine-4.2?

Starbase12 commented 3 years ago

Is this plugin already updated to run on resmine 4.2.x? I'm planning to upgrade soon but want to be sure that this plugin will still work.