Issue installing/starting open project
-
I'm having an issue installing and starting Open project. It seems to install fine but when it goes to start it just seems stuck in a loop of "migrating database" Here are the logs where it just continues to loop
Is this broken?=> Migrate database
Mar 27 14:49:51 rake aborted!
Mar 27 14:49:51 NoMethodError: undefined methodpatch_gem_version' for OpenProject::Patches:Module Mar 27 14:49:51 /app/code/lib/open_project/patches/declarative_option.rb:44:in<top (required)>'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:inrequire' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:inrequire'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:inblock in require' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:299:inload_dependency'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:inrequire' Mar 27 14:49:51 /app/code/config/initializers/10-load_patches.rb:35:inblock in <top (required)>'
Mar 27 14:49:51 /app/code/config/initializers/10-load_patches.rb:34:ineach' Mar 27 14:49:51 /app/code/config/initializers/10-load_patches.rb:34:in<top (required)>'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:326:inload' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:326:inblock in load'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:299:inload_dependency' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:326:inload'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:681:inblock in load_config_initializer' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/notifications.rb:205:ininstrument'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:680:inload_config_initializer' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:634:inblock (2 levels) in class:Engine'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:633:ineach' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:633:inblock in class:Engine'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:32:ininstance_exec' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:32:inrun'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:61:inblock in run_initializers' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:50:ineach'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:50:intsort_each_child' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:60:inrun_initializers'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/application.rb:384:ininitialize!' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/railtie.rb:207:inpublic_send'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/railtie.rb:207:inmethod_missing' Mar 27 14:49:51 /app/code/config/environment.rb:34:in<top (required)>'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:inrequire' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:inrequire'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:inblock in require' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:299:inload_dependency'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:inrequire' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/application.rb:360:inrequire_environment!'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/application.rb:526:inblock in run_tasks_blocks' Mar 27 14:49:51 Tasks: TOP => db:migrate => db:load_config => environment Mar 27 14:49:51 (See full trace by running task with --trace) Mar 27 14:49:52 => Setup database configuration Mar 27 14:49:52 => Setup mail configuration Mar 27 14:49:52 => Setting cookie secret Mar 27 14:49:57 /app/code/vendor/bundle/ruby/2.7.0/gems/rubytree-1.0.0/lib/tree/utils/camel_case_method_handler.rb:61:inprotected': calling protected without arguments inside a method may not have the intended effect (StructuredWarnings::BuiltInWarning)
Mar 27 14:50:04 DEPRECATION WARNING: [] is deprecated and will be removed from Rails 6.2 (Use configs_for) (called from <top (required)> at /app/code/config/application.rb:64)
Mar 27 14:50:04 => Migrate database -
I'm having an issue installing and starting Open project. It seems to install fine but when it goes to start it just seems stuck in a loop of "migrating database" Here are the logs where it just continues to loop
Is this broken?=> Migrate database
Mar 27 14:49:51 rake aborted!
Mar 27 14:49:51 NoMethodError: undefined methodpatch_gem_version' for OpenProject::Patches:Module Mar 27 14:49:51 /app/code/lib/open_project/patches/declarative_option.rb:44:in<top (required)>'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:inrequire' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:inrequire'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:inblock in require' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:299:inload_dependency'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:inrequire' Mar 27 14:49:51 /app/code/config/initializers/10-load_patches.rb:35:inblock in <top (required)>'
Mar 27 14:49:51 /app/code/config/initializers/10-load_patches.rb:34:ineach' Mar 27 14:49:51 /app/code/config/initializers/10-load_patches.rb:34:in<top (required)>'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:326:inload' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:326:inblock in load'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:299:inload_dependency' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:326:inload'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:681:inblock in load_config_initializer' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/notifications.rb:205:ininstrument'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:680:inload_config_initializer' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:634:inblock (2 levels) in class:Engine'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:633:ineach' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:633:inblock in class:Engine'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:32:ininstance_exec' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:32:inrun'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:61:inblock in run_initializers' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:50:ineach'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:50:intsort_each_child' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:60:inrun_initializers'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/application.rb:384:ininitialize!' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/railtie.rb:207:inpublic_send'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/railtie.rb:207:inmethod_missing' Mar 27 14:49:51 /app/code/config/environment.rb:34:in<top (required)>'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:inrequire' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:inrequire'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:inblock in require' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:299:inload_dependency'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.2.1/lib/active_support/dependencies.rb:332:inrequire' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/application.rb:360:inrequire_environment!'
Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/application.rb:526:inblock in run_tasks_blocks' Mar 27 14:49:51 Tasks: TOP => db:migrate => db:load_config => environment Mar 27 14:49:51 (See full trace by running task with --trace) Mar 27 14:49:52 => Setup database configuration Mar 27 14:49:52 => Setup mail configuration Mar 27 14:49:52 => Setting cookie secret Mar 27 14:49:57 /app/code/vendor/bundle/ruby/2.7.0/gems/rubytree-1.0.0/lib/tree/utils/camel_case_method_handler.rb:61:inprotected': calling protected without arguments inside a method may not have the intended effect (StructuredWarnings::BuiltInWarning)
Mar 27 14:50:04 DEPRECATION WARNING: [] is deprecated and will be removed from Rails 6.2 (Use configs_for) (called from <top (required)> at /app/code/config/application.rb:64)
Mar 27 14:50:04 => Migrate database -
@mastadamus since it installs fine here, I wonder if there is some race during startup. Generally OpenProject needs quite some resources. Have you tried to simply reinstall the app and check if this issue can be reproduced?
@nebulon yeah I tried reinstalling. It could be a resource issue. I'll investigate further.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login