Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • 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
    • Upgrade to Enterprise edition
    • 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?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. [Solved] Trouble installing Reporting plugin

[Solved] Trouble installing Reporting plugin

Added by Henry Fogwill over 10 years ago

Sorry to cross post. I posted a question in theProject #15402 and had no response yet. If I am posting in the wrong place for help please point me to the correct location.

I am trying to install openproject-reporting.

Added to Gemfile.plugins:
gem “openproject-reporting”, git: “https://github.com/finnlabs/openproject-reporting.git”, :branch => “stable”

Already running the costs plugin, and reporting_engine have been installed successfully.

When I run bundle install I get the following error:

Updating https://github.com/finnlabs/openproject-reporting.git
Fetching gem metadata from https://rubygems.org/……..
Resolving dependencies…
Bundler could not find compatible versions for gem “openproject-plugins”:
In Gemfile:
openproject-reporting (>= 0) ruby depends on
openproject-plugins (~> 3.0.8) ruby

openproject-plugins (1.0.8)

I am running OpenProject 3.1.0pre1

Have anyone else experienced this problem and can you provide any help to overcome this problem?


Replies (6)

RE: Trouble installing Reporting plugin - Added by Robin Wagner over 10 years ago

Hi Henry,

sorry for not responding before.
Could you list the content of your Gemfile.plugins?
Do you use the current version of the release branch (3.0.13)?

RE: Trouble installing Reporting plugin - Added by Henry Fogwill over 10 years ago

Hi Robin,
My Gemfile.plugin looks like this:

gem “openproject-plugins”, git: “https://github.com/opf/openproject-plugins.git”, :branch => “stable”
gem “openproject-pdf_export”, git: “https://github.com/finnlabs/openproject-pdf_export.git”, :branch => “stable”
gem “openproject-costs”, git: “https://github.com/finnlabs/openproject-costs.git”, :branch => “dev”
gem “openproject-documents”, git: “https://github.com/opf/openproject-documents.git”, :branch => “stable”
gem “reporting_engine”, git: “https://github.com/finnlabs/reporting_engine.git”, :branch => “stable”
gem “openproject-backlogs”, git: “https://github.com/finnlabs/openproject-backlogs.git”, :branch => “stable”
gem “pdf-inspector”, “~>1.0.0”, :group => :test

I do not have 3.0.13 mostly because I am a unsure about whats newer 3.0.13 or 3.1.xx. If I need to upgrade I would probably wait a little bit for 4.0.0. Being 100% new to OP and Rails etc the upgrade should be fun to do.

RE: Trouble installing Reporting plugin - Added by Robin Wagner over 10 years ago

Hi Henry,

thanks for listing your Gemfile.plugins.
Is there a reason you are using the dev branch for Costs while using the stable branch for all other plugins ?
Could you change the costs plugin to the “stable” branch as well, bundle install (and possible run migrations) and see if this fixes the error?:

gem "openproject-costs", git: "https://github.com/finnlabs/openproject-costs.git", :branch => "dev"

to

gem "openproject-costs", git: "https://github.com/finnlabs/openproject-costs.git", :branch => "stable"

FYI: 3.0.13 is the newest stable version of OpenProject. We do not use the pre-versions anymore (which admittedly can be quite confusing).

Best,
Robin

RE: Trouble installing Reporting plugin - Added by Henry Fogwill over 10 years ago

When I try to install the stable version I get this error:
Bundler could not find compatible versions for gem “openproject-plugins”:
In Gemfile:
openproject-costs (>= 0) ruby depends on
openproject-plugins (~> 3.0.8) ruby

openproject-plugins (1.0.8)

The DEV version went in fine.

If the Costs module is the issue I can upgrade to 3.0.13 to see if I can get the stable version of Costs working. Then do 4.0.0 a little later.

RE: Trouble installing Reporting plugin - Added by Henry Fogwill over 10 years ago

Thanks for your help again Robin. Problem is resolved.

I upgraded OP to 3.0.13 in a QA environment. Installed the stable version of COSTS and the reporting engine went is without a problem.

As a side not for anyone in the future running into this..
I installed OP using the install instructions found here:
https://www.openproject.org/projects/openproject/wiki/Installation_Ubuntu

Did an upgrade based on these instructions:
https://www.openproject.org/topics/1905

RE: Trouble installing Reporting plugin - Added by Robin Wagner over 10 years ago

Hi Henry,

great to hear it’s working now :)

The error was probably caused by incompatible versions of the core and the reporting plugin.

Best,
Robin

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