Content
Problems installing documents plugin on openproject 4.1.0
Added by Florian Liefers over 9 years ago
I followed the guide at [[https://www.openproject.org/open-source/install-plugins/]] to install the documents plugin on openproject 4.1.0 by adding
gem 'openproject-documents', :git => 'https://github.com/opf/openproject-documents.git', :branch => 'stable'
to my Gemfile.plugins (which only contains this line). When i call bundle install
, i get following error message:
Fetching https://github.com/opf/openproject-documents.git fatal: ambiguous argument 'stable': unknown revision or path not in the working tree. Use '--' to separate paths from revisions Git error: command `git rev-parse stable` in directory /home/openproject/.rvm/gems/ruby-2.1.5/cache/bundler/git/openproject-documents-92d34b9d26a2d5fef5c7fb940ea052637a15cfc7 has failed. If this error persists you could try removing the cache directory '/home/openproject/.rvm/gems/ruby-2.1.5/cache/bundler/git/openproject-documents-92d34b9d26a2d5fef5c7fb940ea052637a15cfc7'
Replies (6)
Even I’m getting the same error, not only with documents plugin but also with other plugins too.
Same errror here…. Nothing to do?
Hi everyone,
we replaced the “stable” branch with more specific references to the minor version.
Depending on your OpenProject version, please use “stable/4.0” (for OpenProject 4.0.x) or “stable/4.1” (for OpenProject 4.1.x) to install the latest version of the plugin you want to install.
Example:
If you prefer to install a very specific version (e.g. OpenProject 4.1.1), please use the respective tag.
Example:
We’ll update the documentation.
Thanks for letting us know.
Best,
Robin
Robin,
The documentation found on https://www.openproject.org/open-source/openproject-plugins/ should be updated as well.
Thanks,
Mike
Hi Mike,
Thanks for pointing this out. You are right, we’ve adapted the documentation on OpenProject.org
Cheers,
Maya
Mike Lewis wrote:
Thanks Maya… One other note: The plugin information for the Emoji plugin by Philipp Tessenow seems to require
:branch => 'master'
for OP >= 4.0. The “stable” branch of his repository still has a dependency on the “openproject-plugins” plugin which was true for earlier versions of OP.(Although, in my installation, the plugin still does not work as expected. I posted about this in another thread (https://community.openproject.org/topics/4462) with no response as of yet, but I would not doubt Philipp has more pressing things to be working on besides cute Emojis for OP. It appears the repository has not seen any updates for 9 months to a year now.)
In any case, using
:branch => 'stable'
for the Emoji plugin for OP 4.0 and above will throw a dependency error whenbundle install
is executed.