Top Menu

Jump to content
Home
    • Projects
    • Activity
    • Work packages
    • Calendars
    • Team planners
    • Boards
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • Forums
  • Feature tour
    Feature tour
You are here:
  • Forums
  • Plugins

Content

How to install plugins with packaged installation?

Added by Eu Doxos over 8 years ago

I installed openproject-ce from provided package (4.0.4-1418737451.686d3f9.trusty). I would like to add some more plugins, so I modified /opt/openprojecty-ce/Gemfile.plugins as described at https://www.openproject.org/download/install-plugins/ . However now I need help as to how to proceed, since the installation instructions are tailored for hand-installs and do not consider specifics of packaged installations.

Firstly, the packaged version installs into /opt/openproject-ce and not /home/openproject (which is still the $HOME of the openproject user); but that is something easy to deal with.

What is the real issue is that I cannot run bundle/bower normally (as described) as the package has its own versions, so the environment must be updated to use them. I could do export PATH=/opt/openproject-ce/vendor/ruby-2.1.4/bin:/opt/openproject-ce/vendor/bundle/ruby/2.1.0/bin:$PATH (add all binaries needed), but I think that I am missing something obvious, like a shell file which must be sourced, and sets the environment as needed.

Thanks!


Replies (3)

RE: How to install plugins with packaged installation? - Added by andrea olivotto over 8 years ago

I had the same problem, and I found something useful here:
https://gist.github.com/crohr/10111721

Andrea

RE: How to install plugins with packaged installation? - Added by Eu Doxos over 8 years ago

Thanks, that helped a bit, though I am getting the error someone reported at the gist page as well…:

fatal: Not a git repository (or any of the parent directories): .git

RE: How to install plugins with packaged installation? - Added by andrea olivotto over 8 years ago

Did you double-check the Gemfile.plugin file?

I copy-and-paste the lines directly from these pages.

  • (1 - 3/3)
Loading...