Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
154 views
in Technique[技术] by (71.8m points)

ruby - (pre-receive hook declined) error when deploying a rails app to Scalingo

I'm trying to deploy a rails app to Scalingo and even though the build is successful, my app gets rejected with the following output:


 Build complete, shipping your container...  Waiting for your application to boot...   !   Error deploying the application  !   → Your application has stopped unexpectedly with the following output:
======== BEGIN OUTPUT ======== 2021-01-06 15:26:05.319456258 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 2021-01-06 15:26:05.319458118 +0000 UTC [web-1]    from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 2021-01-06 15:26:05.319489979 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require' 2021-01-06 15:26:05.319491655 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency' 2021-01-06 15:26:05.319492735 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require' 2021-01-06 15:26:05.319493704 +0000 UTC [web-1]   from bin/rails:4:in `<main>' 2021-01-06 15:26:05.319518829 +0000 UTC [web-1] /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/message_encryptor.rb:201:in `final': OpenSSL::Cipher::CipherError 2021-01-06 15:26:05.319519802
+0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/message_encryptor.rb:201:in `_decrypt' 2021-01-06 15:26:05.319528775 +0000 UTC [web-1]     from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/message_encryptor.rb:157:in `decrypt_and_verify' 2021-01-06 15:26:05.319529759 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/messages/rotator.rb:21:in `decrypt_and_verify' 2021-01-06 15:26:05.319550926 +0000 UTC [web-1]     from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/encrypted_file.rb:80:in `decrypt' 2021-01-06 15:26:05.319554303 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/encrypted_file.rb:43:in `read' 2021-01-06 15:26:05.319580154 +0000 UTC [web-1]     from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/encrypted_configuration.rb:21:in `read' 2021-01-06 15:26:05.319581383 +0000 UTC [web-1]    from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/encrypted_configuration.rb:33:in `config' 2021-01-06 15:26:05.319582426 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/encrypted_configuration.rb:38:in `options' 2021-01-06 15:26:05.319583501 +0000 UTC [web-1]     from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/core_ext/module/delegation.rb:303:in `method_missing' 2021-01-06 15:26:05.319601864 +0000 UTC [web-1]  from (erb):12:in `<main>' 2021-01-06 15:26:05.319603616 +0000 UTC [web-1]   from /app/vendor/ruby-2.7.1/lib/ruby/2.7.0/erb.rb:905:in `eval' 2021-01-06 15:26:05.319671104 +0000 UTC [web-1]     from /app/vendor/ruby-2.7.1/lib/ruby/2.7.0/erb.rb:905:in `result' 2021-01-06 15:26:05.319679613 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/activestorage-6.0.3.2/lib/active_storage/engine.rb:111:in `block (2 levels) in <class:Engine>' 2021-01-06 15:26:05.319680836
+0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/lazy_load_hooks.rb:71:in `class_eval' 2021-01-06 15:26:05.319681824 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook' 2021-01-06 15:26:05.319682805 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control' 2021-01-06 15:26:05.319683781 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook' 2021-01-06 15:26:05.319717299 +0000 UTC [web-1]    from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks' 2021-01-06 15:26:05.319718504 +0000 UTC [web-1]     from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/lazy_load_hooks.rb:51:in `each' 2021-01-06 15:26:05.319719442 +0000 UTC [web-1]    from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks' 2021-01-06 15:26:05.319738614 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/activestorage-6.0.3.2/app/models/active_storage/blob.rb:291:in `<main>' 2021-01-06 15:26:05.319739521 +0000 UTC [web-1]     from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 2021-01-06 15:26:05.319740474 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 2021-01-06 15:26:05.319761460
+0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 2021-01-06 15:26:05.319762195 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 2021-01-06 15:26:05.319826867 +0000 UTC [web-1]    from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 2021-01-06 15:26:05.319827530 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/kernel.rb:27:in `require' 2021-01-06 15:26:05.319828044 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/loader.rb:388:in `const_get' 2021-01-06 15:26:05.319828390 +0000 UTC [web-1]    from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/loader.rb:388:in `block (2 levels) in eager_load' 2021-01-06 15:26:05.319828812 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/loader.rb:731:in `block in ls' 2021-01-06 15:26:05.319829237 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/loader.rb:723:in `foreach' 2021-01-06 15:26:05.319829667 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/loader.rb:723:in `ls' 2021-01-06 15:26:05.319830015 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/loader.rb:376:in `block in eager_load' 2021-01-06 15:26:05.319896802 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/loader.rb:368:in `synchronize' 2021-01-06 15:26:05.319897476 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/loader.rb:368:in `eager_load' 2021-01-06 15:26:05.319897841 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/loader.rb:483:in `each' 2021-01-06 15:26:05.319898190 +0000 UTC [web-1]     from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/loader.rb:483:in `eager_load_all' 2021-01-06 15:26:05.319898610 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.2/lib/rails/application/finisher.rb:122:in `block in <module:Finisher>' 2021-01-06 15:26:05.319899080 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:32:in `instance_exec' 2021-01-06 15:26:05.319915362 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:32:in `run' 2021-01-06 15:26:05.319915922 +0000 UTC [web-1]     from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:61:in `block in run_initializers' 2021-01-06 15:26:05.319970652 +0000 UTC [web-1]   from /app/vendor/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each' 2021-01-06 15:26:05.319973256 +0000 UTC [web-1]    from /app/vendor/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' 2021-01-06 15:26:05.319974932 +0000 UTC [web-1]  from /app/vendor/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from' 2021-01-06 15:26:05.319976471
+0000 UTC [web-1]   from /app/vendor/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component' 2021-01-06 15:26:05.320002165 +0000 UTC [web-1]     from /app/vendor/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:347:in `each' 2021-01-06 15:26:05.320004050 +0000 UTC [web-1]   from /app/vendor/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:347:in `call' 2021-01-06 15:26:05.320005174 +0000 UTC [web-1]   from /app/vendor/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component' 2021-01-06 15:26:05.320006003
+0000 UTC [web-1]   from /app/vendor/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each' 2021-01-06 15:26:05.320006883 +0000 UTC [web-1]     from /app/vendor/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each' 2021-01-06 15:26:05.320057544 +0000 UTC [web-1]     from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:60:in `run_initializers' 2021-01-06 15:26:05.320058549 +0000 UTC [web-1]    from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.2/lib/rails/application.rb:363:in `initialize!' 2021-01-06 15:26:05.320059002 +0000 UTC [web-1]  from /app/config/environment.rb:5:in `<main>' 2021-01-06 15:26:05.320059402
+0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 2021-01-06 15:26:05.320059870 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 2021-01-06 15:26:05.320060490
+0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 2021-01-06 15:26:05.320083591 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 2021-01-06 15:26:05.320085046 +0000 UTC [web-1]    from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 2021-01-06 15:26:05.320132032 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.1/lib/zeitwerk/kernel.rb:34:in `require' 2021-01-06 15:26:05.320134340 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require' 2021-01-06 15:26:05.320135882 +0000 UTC [web-1]  from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency' 2021-01-06 15:26:05.320137322 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require' 2021-01-06 15:26:05.320141400 +0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative' 2021-01-06 15:26:05.320142604 +0000 UTC [web-1]     from config.ru:3:in `block in <main>' 2021-01-06 15:26:05.320156265
+0000 UTC [web-1]   from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval' 2021-01-06 15:26:05.320156841 +0000 UTC [web-1]    from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/bu

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...