generalopenproject

Install plugins

NOTE: Before installing a plugin, make sure that the plugin is compatible with your OpenProject version.

  • Navigate to the OpenProject installation directory:

      $ cd /opt/bitnami/openproject
    
  • OpenProject plug-ins are separated in Ruby gems. You can install them by including the gems in a custom Gemfile.plugins file, for example:

      gem "openproject-pdf_export", git: "https://github.com/finnlabs/openproject-pdf_export.git", :branch => "stable"
    
  • Then, to install the plugin, run the following commands:

      $ bundle install --no-deployment --without development test development
      $ RAILS_ENV="production" bundle exec rake db:migrate
      $ RAILS_ENV="production" bundle exec rake db:seed
      $ RAILS_ENV="production" bundle exec rake assets:precompile
      $ touch tmp/restart.txt
    

The next Web request to the server will take longer (as the application is restarted). All subsequent requests should be as fast as always.

Troubleshooting

If you run the previous commands as the root user, change permissions of the tmp folder, located under the OpenProject installation directory:

$ chown -R daemon:daemon tmp
Last modification February 9, 2023