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. [RESOLVED] Configure issue on Ubuntu 20.04

[RESOLVED] Configure issue on Ubuntu 20.04

Added by Alberto Piani about 4 years ago

I've a problem in postinstall: it seems a method is undefined and the configuration aborts.

You can find an extract from putty below.

Thanks to everyone!

Alberto

No repositories have been configured. Skipping configuration.
[smtp] ./bin/postinstall
[memcached] ./bin/postinstall
[openproject] ./bin/postinstall
Server prefix is set. Need to recompile rails assets. Setting RECOMPILE_RAILS_ASSETS=true
rake aborted!
NoMethodError: undefined method `patch_gem_version' for OpenProject::Patches:Module
/opt/openproject/lib/open_project/patches/declarative_option.rb:44:in `<top (required)>'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:in `block in require'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:299:in `load_dependency'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:in `require'
/opt/openproject/config/initializers/10-load_patches.rb:35:in `block in <top (required)>'
/opt/openproject/config/initializers/10-load_patches.rb:34:in `each'
/opt/openproject/config/initializers/10-load_patches.rb:34:in `<top (required)>'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:326:in `load'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:326:in `block in load'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:299:in `load_dependency'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:326:in `load'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:681:in `block in load_config_initializer'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/notifications.rb:205:in `instrument'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:680:in `load_config_initializer'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:634:in `block (2 levels) in <class:Engine>'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:633:in `each'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:633:in `block in <class:Engine>'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:32:in `instance_exec'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:32:in `run'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:50:in `each'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:50:in `tsort_each_child'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:60:in `run_initializers'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/application.rb:384:in `initialize!'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/railtie.rb:207:in `public_send'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/railtie.rb:207:in `method_missing'
/opt/openproject/config/environment.rb:34:in `<top (required)>'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:in `block in require'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:299:in `load_dependency'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:in `require'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/application.rb:360:in `require_environment!'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/application.rb:526:in `block in run_tasks_blocks'
/opt/openproject/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
bin/bundle:110:in `load'
bin/bundle:110:in `<main>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)


Replies (1)

RE: Configure issue on Ubuntu 20.04 - Added by Oliver Günther about 4 years ago

Hi, 

this was fixed with 11.2.2. Please see this ticket: #36717 

Best

Oliver

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