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. OpenProject Configure fails

OpenProject Configure fails

Added by Tobias Braun 8 months ago

Version: 13.0.8

Suse Enterprise Server 12 SP5 . Was patched last week.

We did not update or change our OpenProject installation recently. This banner was displayed:

 Hence we executed a openproject configure and restarted the service. Since then OpenProject is not reachable any more.

Web log

Exiting
/opt/openproject/packaging/scripts/web: line 6:  2581 Terminated              bundle exec rails server -u puma -b $HOST -p $PORT
/opt/openproject/config/constants/settings/definition.rb:1330:in `find_env_var_override': Using unprefixed environment variables is deprecated. Please use OPENPROJECT_RAILS_RELATIVE_URL_ROOT instead of RAILS_RELATIVE_URL_ROOT (StructuredWarnings::StandardWarning)
=> Booting Puma
=> Rails 7.0.7 application starting in production 
=> Run `bin/rails server --help` for more startup options
Exiting
/opt/openproject/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:627:in `check_pending!':  (ActiveRecord::PendingMigrationError)

Migrations are pending. To resolve this issue, run:

        bin/rails db:migrate RAILS_ENV=production

You have 1 pending migration:

20231002141527_fix_default_language_value_for_chinese_simplified.rb



	from /opt/openproject/config/initializers/06-pending_migrations_check.rb:34:in `<top (required)>'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/engine.rb:667:in `load'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/engine.rb:667:in `block in load_config_initializer'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/lib/active_support/notifications.rb:208:in `instrument'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/engine.rb:666:in `load_config_initializer'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/engine.rb:619:in `each'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/engine.rb:619:in `block in <class:Engine>'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/initializable.rb:32:in `instance_exec'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/initializable.rb:32:in `run'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/initializable.rb:61:in `block in run_initializers'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:228:in `block in tsort_each'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:431:in `each_strongly_connected_component_from'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/initializable.rb:50:in `each'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/initializable.rb:50:in `tsort_each_child'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:415:in `call'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:415:in `each_strongly_connected_component_from'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:349:in `block in each_strongly_connected_component'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:347:in `each'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:347:in `call'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:347:in `each_strongly_connected_component'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:226:in `tsort_each'
	from /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/tsort.rb:205:in `tsort_each'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/initializable.rb:60:in `run_initializers'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/application.rb:372:in `initialize!'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/railtie.rb:226:in `public_send'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/railtie.rb:226:in `method_missing'
	from /opt/openproject/config/environment.rb:32:in `<top (required)>'
	from <internal:/opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from <internal:/opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.11/lib/zeitwerk/kernel.rb:38:in `require'
	from config.ru:31:in `block in <main>'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:116:in `eval'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:116:in `new_from_string'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:105:in `load_file'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:66:in `parse_file'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:349:in `build_app_and_options_from_config'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:249:in `app'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:422:in `wrapped_app'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:312:in `block in start'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:379:in `handle_profiling'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:311:in `start'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/commands/server/server_command.rb:38:in `start'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/commands/server/server_command.rb:143:in `block in perform'
	from <internal:kernel>:90:in `tap'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/commands/server/server_command.rb:134:in `perform'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/thor-1.2.2/lib/thor/command.rb:27:in `run'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/command/base.rb:87:in `perform'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/command.rb:48:in `invoke'
	from /opt/openproject/vendor/bundle/ruby/3.2.0/gems/railties-7.0.7/lib/rails/commands.rb:18:in `<top (required)>'
	from <internal:/opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from <internal:/opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from bin/rails:9:in `<main>'
/opt/openproject/config/constants/settings/definition.rb:1330:in `find_env_var_override': Using unprefixed environment variables is deprecated. Please use OPENPROJECT_RAILS_RELATIVE_URL_ROOT instead of RAILS_RELATIVE_URL_ROOT (StructuredWarnings::StandardWarning)
=> Booting Puma
=> Rails 7.0.7 application starting in production 
=> Run `bin/rails server --help` for more startup options
Exiting
/opt/openproject/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:627:in `check_pending!':  (ActiveRecord::PendingMigrationError)

Migrations are pending. To resolve this issue, run:

        bin/rails db:migrate RAILS_ENV=production

You have 1 pending migration:

20231002141527_fix_default_language_value_for_chinese_simplified.rb

What should we do to solve the issue?


Loading...