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

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Problems installing openproject-plugins

Problems installing openproject-plugins

Added by Christian Hofmeister almost 11 years ago

Hi guys.
First of all I have to thank you for a great product!

I try to install some plugins as described in the Step by Step how to on Debian (https://www.openproject.org/projects/openproject/wiki/Debian_Stable_with_MySQL_in_production) in section 5.

But somehow I cannot finnish the installation because of the following error:
openprojectlamp /openproject$ bundle install@
Updating https://github.com/opf/openproject-plugins.git
Updating https://github.com/finnlabs/openproject-pdf_export.git
Updating https://github.com/finnlabs/openproject-meeting.git
Updating https://github.com/finnlabs/openproject-backlogs.git
Updating https://github.com/opf/openproject-documents.git
Updating https://github.com/opf/openproject-translations.git
Fetching source index from https://rubygems.org/
Resolving dependencies....
Bundler could not find compatible versions for gem "openproject-plugins":
@ In Gemfile:@
@ openproject-translations (>= 0) ruby depends on@
@ openproject-plugins (
> 1.0.6) ruby@

openproject-plugins (3.0.8)
openprojectlamp ~/openproject$@

Does anyone have a solution for this problem?

Greetings!
Chris


Replies (4)

RE: Problems installing openproject-plugins - Added by Christian Hofmeister almost 11 years ago

I found out, that only translation and document plugin produce errors, all other plugins are working like described in this thread: https://www.openproject.org/topics/684

Now my Gemfile.plugins look like this:

#Required for each plug-in
gem "openproject-plugins", git: "https://github.com/opf/openproject-plugins.git", :branch => "dev"

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

#PDF Export
gem "pdf-inspector", "~>1.0.0", :group => :test
gem "openproject-pdf_export", git: "https://github.com/finnlabs/openproject-pdf_export.git", :branch => "dev"

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

#Translations
#gem 'openproject-translations', :git => 'https://github.com/opf/openproject-translations.git', :branch => 'stable'

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

Just those two plugins I really would like to use are not working.

About my configuration:

  • Debian 7.2 Wheezy (64Bit)
  • mySQL 14.14
  • Apache 2.2.22
  • Rails 3.2.18
  • git version 1.7.10.4
  • Bundler version 1.5.3
  • gem version 2.2.2

Can someone please help me?

Thanks,
Chris

RE: Problems installing openproject-plugins - Added by Christian Hofmeister almost 11 years ago

Forget about OP, it doesn’t work! Cost me more than a week and it still doesn’t work!!!

I went to Redmine, easy to install (works perfect!), easy to use.
And the best… there are much more Plugins and all I tried work wunderful!

RE: Problems installing openproject-plugins - Added by Denis Lamotte almost 11 years ago

you can fix this easily

you change
gem ‘openproject-translations’, :git => ‘https://github.com/opf/openproject-translations.git’, :branch => ‘dev’
to
gem ‘openproject-translations’, :path => ‘./vendor/openproject-translations’

and you clone https://github.com/opf/openproject-translations.git into the /vendor/openproject-translations folder

and you edit the gemspec file to
s.add_dependency “openproject-plugins”, “~> 3.0 ”

then the bundle install will work like a charm

in the setting , select the language you want to allow for your users then, each user cam modify it in its profile

hope this can help

RE: Problems installing openproject-plugins - Added by Johannes Keppler almost 11 years ago

Hi Denis,

I had the same Problem and followed your description. Thanks a lot for that.

But after starting the Server an login as admin there is an Error-Page that shows:
_NameError

undefined method `all_languages’ for module `Redmine::I18n’

Rails.root: C:/Sites/openproject_

How can I fix this?!

Thanks for help.
Joh.

Ps:
The Full Trace shows:

activesupport (3.2.18) lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method’
activesupport (3.2.18) lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method_chain’
vendor/openproject-translations/lib/open_project/translations/patches/redmine_i18n_patch.rb:23:in `module:I18n’
vendor/openproject-translations/lib/open_project/translations/patches/redmine_i18n_patch.rb:16:in `module:Redmine’
vendor/openproject-translations/lib/open_project/translations/patches/redmine_i18n_patch.rb:15:in `<top (required)>’
activesupport (3.2.18) lib/active_support/dependencies.rb:469:in `load’
activesupport (3.2.18) lib/active_support/dependencies.rb:469:in `block in load_file’
activesupport (3.2.18) lib/active_support/dependencies.rb:639:in `new_constants_in’
activesupport (3.2.18) lib/active_support/dependencies.rb:468:in `load_file’
activesupport (3.2.18) lib/active_support/dependencies.rb:353:in `require_or_load’
activesupport (3.2.18) lib/active_support/dependencies.rb:313:in `depend_on’
activesupport (3.2.18) lib/active_support/dependencies.rb:225:in `require_dependency’
vendor/openproject-translations/lib/open_project/translations/engine.rb:31:in `block in class:Engine’
activesupport (3.2.18) lib/active_support/callbacks.rb:440:in `_run_433656064prepare389348295_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:405:in `__run_callback’
activesupport (3.2.18) lib/active_support/callbacks.rb:385:in `_run_prepare_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:81:in `run_callbacks’
actionpack (3.2.18) lib/action_dispatch/middleware/reloader.rb:74:in `prepare!’
actionpack (3.2.18) lib/action_dispatch/middleware/reloader.rb:48:in `prepare!’
rails-dev-tweaks (0.6.1) lib/rails_dev_tweaks/granular_autoload/middleware.rb:26:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/remote_ip.rb:31:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call’
railties (3.2.18) lib/rails/rack/logger.rb:32:in `call_app’
railties (3.2.18) lib/rails/rack/logger.rb:16:in `block in call’
activesupport (3.2.18) lib/active_support/tagged_logging.rb:22:in `tagged’
railties (3.2.18) lib/rails/rack/logger.rb:16:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/request_id.rb:22:in `call’
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call’
rack (1.4.5) lib/rack/runtime.rb:17:in `call’
activesupport (3.2.18) lib/active_support/cache/strategy/local_cache.rb:72:in `call’
rack (1.4.5) lib/rack/lock.rb:15:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/static.rb:63:in `call’
railties (3.2.18) lib/rails/engine.rb:484:in `call’
railties (3.2.18) lib/rails/application.rb:231:in `call’
railties (3.2.18) lib/rails/railtie/configurable.rb:30:in `method_missing’
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/bundler/gems/rack-protection-5a7d1bd2f05c/lib/rack/protection/frame_options.rb:31:in `call’
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/bundler/gems/rack-protection-5a7d1bd2f05c/lib/rack/protection/json_csrf.rb:18:in `call’
rack (1.4.5) lib/rack/builder.rb:134:in `call’
rack (1.4.5) lib/rack/urlmap.rb:64:in `block in call’
rack (1.4.5) lib/rack/urlmap.rb:49:in `each’
rack (1.4.5) lib/rack/urlmap.rb:49:in `call’
rack (1.4.5) lib/rack/content_length.rb:14:in `call’
railties (3.2.18) lib/rails/rack/log_tailer.rb:17:in `call’
thin (1.5.1) lib/thin/connection.rb:81:in `block in pre_process’
thin (1.5.1) lib/thin/connection.rb:79:in `catch’
thin (1.5.1) lib/thin/connection.rb:79:in `pre_process’
thin (1.5.1) lib/thin/connection.rb:54:in `process’
thin (1.5.1) lib/thin/connection.rb:39:in `receive_data’
eventmachine-1.0.3-x86 (mingw32) lib/eventmachine.rb:187:in `run_machine’
eventmachine-1.0.3-x86 (mingw32) lib/eventmachine.rb:187:in `run’
thin (1.5.1) lib/thin/backends/base.rb:63:in `start’
thin (1.5.1) lib/thin/server.rb:159:in `start’
rack (1.4.5) lib/rack/handler/thin.rb:13:in `run’
rack (1.4.5) lib/rack/server.rb:268:in `start’
railties (3.2.18) lib/rails/commands/server.rb:70:in `start’
railties (3.2.18) lib/rails/commands.rb:55:in `block in <top (required)>’
railties (3.2.18) lib/rails/commands.rb:50:in `tap’
railties (3.2.18) lib/rails/commands.rb:50:in `<top (required)>’
script/rails:6:in `require’
script/rails:6:in `

’

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