Open link in a new tab

Content

Expand project menu

Problems installing documents plugin on openproject 4.1.0

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'

Message actions

Even I’m getting the same error, not only with documents plugin but also with other plugins too.

Message actions

Same errror here…. Nothing to do?

Message actions

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:

gem 'openproject-documents', :git => 'https://github.com/opf/openproject-documents.git', :branch => 'stable/4.1'

If you prefer to install a very specific version (e.g. OpenProject 4.1.1), please use the respective tag.

Example:

gem 'openproject-documents', :git => 'https://github.com/opf/openproject-documents.git', :commit => 'v4.1.1'

We’ll update the documentation.
Thanks for letting us know.

Best,
Robin

Message actions

Robin,

The documentation found on https://www.openproject.org/open-source/openproject-plugins/ should be updated as well.

Thanks,

Mike

Message actions

Hi Mike,

Thanks for pointing this out. You are right, we’ve adapted the documentation on OpenProject.org

Cheers,
Maya

Mike Lewis wrote:

Robin,

The documentation found on https://www.openproject.org/open-source/openproject-plugins/ should be updated as well.

Thanks,

Mike

Message actions

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 when bundle install is executed.