Added by Dan Stover over 11 years ago
Hello. I have loaded a lot of plugins and they are not showing up in Openproject. I added in all the gem specifications but am not sure if I put the Gemfile.plugins in the right place. I put it in the root directory of Openproject (in my case /home/openproject/openproject) and ran “bundle install”, then “rake db:migrate”. It looked like everything ran fine. But I go into my installation of Openproject and look under “Plugins” and it is empty. I also am not seeing the functionality in there.
Am I correct that all the files will be downloaded from the git repository, therefore I do not need the folders that are online?
What am I missing? Thanks…Dan.
Replies (6)
The missing step is precompiling assets:
rake assets:precompile
See more detail here:
https://www.openproject.org/topics/675
However, even though I’ve done this myself, I’m now tackling an error that one of the assets has not been precompiled:
ActionView::Template::Error (meeting/meeting.css isn’t precompiled):
Will let you know if I find a fix to this problem.
Managed to fix my issue with meeting.css, through some unexpected steps. Work package logged here.
https://www.openproject.org/work_packages/7285
Thanks very much for your reply. I will give this a try and let you know the results.
Have a great day…Dan.
I have the same error and the meeting module isn’t running
Completed 500 Internal Server Error in 259.1ms
ActionView::Template::Error (meeting/meeting.css isn’t precompiled):
Switching to “dev” and back to “stable” doesn’t help …
Same with plugin for global roles
Started GET "/users/3/edit" for 192.168.44.94 at 2014-07-22 00:15:48 +0200 Processing by UsersController#edit as HTML Parameters: {"id"=>"3"} Rendered layouts/_action_menu_base.html.erb (0.1ms) Rendered layouts/_action_menu_specific.html.erb (0.4ms) Rendered users/_impaired_settings.html.erb (2.4ms) Rendered users/_mail_notifications.html.erb (7.9ms) Rendered users/_preferences.html.erb (6.9ms) Rendered users/_form.html.erb (33.0ms) Rendered users/_general.html.erb (37.2ms) Rendered users/_memberships.html.erb (13.4ms) Rendered /usr/local/lib/ruby/gems/2.1/bundler/gems/openproject-global_roles-2afc52cdc755/app/views/shared/_global_roles_header.html.erb (26.2ms) Rendered /usr/local/lib/ruby/gems/2.1/bundler/gems/openproject-global_roles-2afc52cdc755/app/views/users/_global_roles.html.erb (26.5ms) Rendered common/_tabs.html.erb (79.6ms) Rendered users/edit.html.erb within layouts/admin (93.3ms) Completed 500 Internal Server Error in 105.4ms ActionView::Template::Error (global_roles/global_roles.css isn't precompiled): 19: ++#%> 20: 21: <% content_for :header_tags do %> 22: <%= stylesheet_link_tag 'global_roles/global_roles.css' %> 23: <%= javascript_include_tag 'global_roles/global_roles.js' %> 24: <% end %> app/views/common/_tabs.html.erb:61:in `block in _app_views_common__tabs_html_erb__1018024196552026748_17319501080' app/views/common/_tabs.html.erb:60:in `each' app/views/common/_tabs.html.erb:60:in `_app_views_common__tabs_html_erb__1018024196552026748_17319501080' app/helpers/application_helper.rb:327:in `render_tabs' app/views/users/edit.html.erb:43:in `_app_views_users_edit_html_erb__561233729422719047_17372316600':Hello all,
if you add or update a plugin you should always run the database migrations and you have to precompile the assets again.
Than restart the server (Apache or nginx) and everything should work.
Best
Ratzi