Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Issue installing/starting open project

    OpenProject
    2
    3
    166
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mastadamus last edited by

      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 method patch_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:in require' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34: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:332:in block 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:in load_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:in require' Mar 27 14:49:51 /app/code/config/initializers/10-load_patches.rb:35:in block in <top (required)>'
      Mar 27 14:49:51 /app/code/config/initializers/10-load_patches.rb:34:in each' 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: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:326:in block 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:in load_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:in load'
      Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:681:in block 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:in instrument'
      Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:680:in load_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:in block (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:in each' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/engine.rb:633:in block 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:in instance_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:in run'
      Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:61:in block 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:in each'
      Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/initializable.rb:50:in tsort_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:in run_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:in initialize!' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/railtie.rb:207:in public_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:in method_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:in require' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34: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:332:in block 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:in load_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:in require' Mar 27 14:49:51 /app/code/vendor/bundle/ruby/2.7.0/gems/railties-6.1.2.1/lib/rails/application.rb:360:in require_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:in block 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:in protected': 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

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @Mastadamus last edited by

        @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?

        M 1 Reply Last reply Reply Quote 0
        • M
          Mastadamus @nebulon last edited by Mastadamus

          @nebulon yeah I tried reinstalling. It could be a resource issue. I'll investigate further.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB