Content
You are here:
Error during update 7.1 to 7.3 CE
Added by Krzysztof Cieślak over 7 years ago
Hi,
I’m not hard user of ruby (practicly I’m not a developer with any skills of Rails). Just installed OpenProject for our projects because I love the interface and budgeting. We are using it for a while (about 4 months) and I wanted to update it.
When trying to update from 7.1 (development environment) to 7.3 by using:
sudo openproject configure
I got following error:
[openproject] ./bin/configure [legacy-installer] ./bin/preinstall [mysql] ./bin/preinstall [apache2] ./bin/preinstall [repositories] ./bin/preinstall [smtp] ./bin/preinstall [memcached] ./bin/preinstall No memcached server to install. Skipping. [openproject] ./bin/preinstall [legacy-installer] ./bin/postinstall [mysql] ./bin/postinstall [apache2] ./bin/postinstall [repositories] ./bin/postinstall [smtp] ./bin/postinstall [memcached] ./bin/postinstall [openproject] ./bin/postinstall DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4) rake aborted! KeyError: Cannot load `Rails.application.database_configuration`: key not found: "DATABASE_URL" (erb):1:in `fetch' (erb):1:in `<main>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/application/configuration.rb:137:in `database_configuration' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.4/lib/active_record/railtie.rb:122:in `block (2 levels) in <class:Railtie>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/lazy_load_hooks.rb:43:in `instance_eval' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/lazy_load_hooks.rb:43:in `execute_hook' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/lazy_load_hooks.rb:33:in `block in on_load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/lazy_load_hooks.rb:32:in `each' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/lazy_load_hooks.rb:32:in `on_load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.4/lib/active_record/railtie.rb:121:in `block in <class:Railtie>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:30:in `instance_exec' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:30:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:55:in `block in run_initializers' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:54:in `run_initializers' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/application.rb:352:in `initialize!' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/railtie.rb:193:in `public_send' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/railtie.rb:193:in `method_missing' /opt/openproject/config/environment.rb:34:in `<top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in `require' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in `block in require' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:259:in `load_dependency' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in `require' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/application.rb:328:in `require_environment!' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/application.rb:448:in `block in run_tasks_blocks' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:74:in `load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:74:in `kernel_load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:27:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:360:in `exec' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:20:in `dispatch' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:10:in `start' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/exe/bundle:35:in `block in <top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/exe/bundle:27:in `<top (required)>' /opt/openproject/bin/bundle:3:in `load' /opt/openproject/bin/bundle:3:in `<main>' KeyError: key not found: "DATABASE_URL" (erb):1:in `fetch' (erb):1:in `<main>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/application/configuration.rb:137:in `database_configuration' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.4/lib/active_record/railtie.rb:122:in `block (2 levels) in <class:Railtie>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/lazy_load_hooks.rb:43:in `instance_eval' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/lazy_load_hooks.rb:43:in `execute_hook' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/lazy_load_hooks.rb:33:in `block in on_load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/lazy_load_hooks.rb:32:in `each' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/lazy_load_hooks.rb:32:in `on_load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.4/lib/active_record/railtie.rb:121:in `block in <class:Railtie>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:30:in `instance_exec' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:30:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:55:in `block in run_initializers' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:54:in `run_initializers' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/application.rb:352:in `initialize!' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/railtie.rb:193:in `public_send' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/railtie.rb:193:in `method_missing' /opt/openproject/config/environment.rb:34:in `<top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in `require' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in `block in require' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:259:in `load_dependency' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in `require' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/application.rb:328:in `require_environment!' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/application.rb:448:in `block in run_tasks_blocks' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:74:in `load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:74:in `kernel_load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:27:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:360:in `exec' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:20:in `dispatch' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:10:in `start' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/exe/bundle:35:in `block in <top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/exe/bundle:27:in `<top (required)>' /opt/openproject/bin/bundle:3:in `load' /opt/openproject/bin/bundle:3:in `<main>' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace) The latest bundler is 1.16.0.pre.2, but you are currently running 1.15.1. To update, run `gem install bundler --pre`
Can you please help to point out what am I doing wrong?
Thanks!
Replies (5)
Hi,
I am having exactly the same problem after installing anew v7.3.1 in Ubuntu 16.04
Exact same issue here.
Now I can’t log into my self hosted OpenProject application. When I log in I get the following error:
Invalid user or password or the account is blocked due to multiple failed login attempts. If so, it will be unblocked automatically in a short time.
If I try to update my password OpenProject recognized my login name, accepts my email address, sends me a password update link but won’t accept the password.
Any help would be appreciated…
Same problem with the user-password validation.
I installed 7.3.2 in Centos 7.
When I try to log with admin user, the application says “Invalid user or password or the account is blocked due to multiple failed login attempts”.
I looked into the data base (MariaDB) and the admin user really exists. I realized that the “crated_at” and “updated_at” fields have diferent time that my server (6 hours). I dont know if that is the reason the password does not work.
In the database I changed some values for the AnonymousUser and I can navigate into the “Demo project”. So the application works but not the user-password validation.
Problem solved!
When I created the daba base, I selected utf16_general_ci collation.
I deleted the database and created the new one with utf8_unicode_ci collation.
Problem solved!
When I created the database, I selected utf16_general_ci collation.
I deleted the database and created the new one with utf8_unicode_ci collation.