Deploying to DigitalOcean App won't pickup Production ENV
Brandon•
Has anyone deployed to DigitalOcean's new Apps area? (I'll attach a screenshot to show which area I'm talking about)Screen Shot 2021-04-21 at 7.23.54 AM.png22.8 KB
I created a fresh jumpstart pro app and tried pushing it up to DigitalOcean but it keeps building and deploying in development and not production. So it's constantly trying to rebuild webpacker.. Below is a screenshot of logs from DigitalOcean, you can see it's starting in development. Screen Shot 2021-04-21 at 7.25.23 AM.png28 KB - I added the RAILS_MASTER_KEY env var with my production.key
Screen Shot 2021-04-21 at 7.24.14 AM.png17.1 KB
- here is the stack trace on the failed deploy
/gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/message_encryptor.rb:203:in `rescue in _decrypt': ActiveSupport::MessageEncryptor::InvalidMessage (ActiveSupport::MessageEncryptor::InvalidMessage)
[2021-04-18T15:01:02.413421771Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/message_encryptor.rb:180:in `_decrypt'
[2021-04-18T15:01:02.413522806Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/message_encryptor.rb:154:in `decrypt_and_verify'
[2021-04-18T15:01:02.413623642Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/messages/rotator.rb:22:in `decrypt_and_verify'
[2021-04-18T15:01:02.413724946Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/encrypted_file.rb:92:in `decrypt'
[2021-04-18T15:01:02.414005150Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/encrypted_file.rb:54:in `read'
[2021-04-18T15:01:02.414100624Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/encrypted_configuration.rb:21:in `read'
[2021-04-18T15:01:02.414208661Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/encrypted_configuration.rb:33:in `config'
[2021-04-18T15:01:02.414323436Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/encrypted_configuration.rb:38:in `options'
[2021-04-18T15:01:02.414422289Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/core_ext/module/delegation.rb:309:in `method_missing'
[2021-04-18T15:01:02.414466206Z] from /app/lib/jumpstart/lib/jumpstart/omniauth.rb:75:in `credentials_for'
[2021-04-18T15:01:02.414538489Z] from /app/lib/jumpstart/lib/jumpstart/omniauth.rb:65:in `has_credentials?'
[2021-04-18T15:01:02.414609730Z] from /app/lib/jumpstart/lib/jumpstart/omniauth.rb:41:in `block in enabled_providers'
[2021-04-18T15:01:02.414678975Z] from /app/lib/jumpstart/lib/jumpstart/omniauth.rb:40:in `each'
[2021-04-18T15:01:02.414751028Z] from /app/lib/jumpstart/lib/jumpstart/omniauth.rb:40:in `enabled_providers'
[2021-04-18T15:01:02.414825485Z] from /app/config/initializers/devise.rb:326:in `block in <main>'
[2021-04-18T15:01:02.414915876Z] from /gems/ruby/3.0.0/gems/devise-4.7.3/lib/devise.rb:307:in `setup'
[2021-04-18T15:01:02.414988481Z] from /app/config/initializers/devise.rb:19:in `<main>'
[2021-04-18T15:01:02.415059211Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
[2021-04-18T15:01:02.415133373Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
[2021-04-18T15:01:02.415214473Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:326:in `block in load'
[2021-04-18T15:01:02.415273061Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:299:in `load_dependency'
[2021-04-18T15:01:02.415366339Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:326:in `load'
[2021-04-18T15:01:02.415438544Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/engine.rb:681:in `block in load_config_initializer'
[2021-04-18T15:01:02.415509728Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/notifications.rb:205:in `instrument'
[2021-04-18T15:01:02.415582698Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/engine.rb:680:in `load_config_initializer'
[2021-04-18T15:01:02.415652130Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/engine.rb:634:in `block (2 levels) in <class:Engine>'
[2021-04-18T15:01:02.415723136Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/engine.rb:633:in `each'
[2021-04-18T15:01:02.415795752Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/engine.rb:633:in `block in <class:Engine>'
[2021-04-18T15:01:02.415892042Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:32:in `instance_exec'
[2021-04-18T15:01:02.415959770Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:32:in `run'
[2021-04-18T15:01:02.416034844Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:61:in `block in run_initializers'
[2021-04-18T15:01:02.416103607Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:228:in `block in tsort_each'
[2021-04-18T15:01:02.416179656Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
[2021-04-18T15:01:02.416246541Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
[2021-04-18T15:01:02.416329888Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:431:in `each_strongly_connected_component_from'
[2021-04-18T15:01:02.416387812Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
[2021-04-18T15:01:02.416467375Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:50:in `each'
[2021-04-18T15:01:02.416650472Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:50:in `tsort_each_child'
[2021-04-18T15:01:02.416740715Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:415:in `call'
[2021-04-18T15:01:02.416848999Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:415:in `each_strongly_connected_component_from'
[2021-04-18T15:01:02.416952948Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:349:in `block in each_strongly_connected_component'
[2021-04-18T15:01:02.417020671Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `each'
[2021-04-18T15:01:02.417094511Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `call'
[2021-04-18T15:01:02.417161886Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `each_strongly_connected_component'
[2021-04-18T15:01:02.417237487Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:226:in `tsort_each'
[2021-04-18T15:01:02.417342113Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:205:in `tsort_each'
[2021-04-18T15:01:02.417469201Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:60:in `run_initializers'
[2021-04-18T15:01:02.417521411Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/application.rb:384:in `initialize!'
[2021-04-18T15:01:02.417584068Z] from /app/config/environment.rb:5:in `<main>'
[2021-04-18T15:01:02.417640350Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
[2021-04-18T15:01:02.417702410Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
[2021-04-18T15:01:02.417762824Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
[2021-04-18T15:01:02.417836530Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
[2021-04-18T15:01:02.417903007Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
[2021-04-18T15:01:02.417990546Z] from /gems/ruby/3.0.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
[2021-04-18T15:01:02.418054046Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:332:in `block in require'
[2021-04-18T15:01:02.418119230Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:299:in `load_dependency'
[2021-04-18T15:01:02.418182884Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:332:in `require'
[2021-04-18T15:01:02.418263012Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
[2021-04-18T15:01:02.418352679Z] from config.ru:3:in `block in <main>'
[2021-04-18T15:01:02.418442971Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
[2021-04-18T15:01:02.418534144Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
[2021-04-18T15:01:02.418623990Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
[2021-04-18T15:01:02.418699834Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
[2021-04-18T15:01:02.418777011Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
[2021-04-18T15:01:02.418874999Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
[2021-04-18T15:01:02.418950462Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
[2021-04-18T15:01:02.419031370Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
[2021-04-18T15:01:02.419124043Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/commands/server/server_command.rb:37:in `start'
[2021-04-18T15:01:02.419198324Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/commands/server/server_command.rb:144:in `block in perform'
[2021-04-18T15:01:02.419268971Z] from <internal:kernel>:90:in `tap'
[2021-04-18T15:01:02.419297423Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/commands/server/server_command.rb:135:in `perform'
[2021-04-18T15:01:02.419337296Z] from /gems/ruby/3.0.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
[2021-04-18T15:01:02.419372984Z] from /gems/ruby/3.0.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
[2021-04-18T15:01:02.419414107Z] from /gems/ruby/3.0.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
[2021-04-18T15:01:02.419446085Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/command/base.rb:69:in `perform'
[2021-04-18T15:01:02.419481428Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/command.rb:50:in `invoke'
[2021-04-18T15:01:02.419514791Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/commands.rb:18:in `<main>'
[2021-04-18T15:01:02.419551908Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
[2021-04-18T15:01:02.419584445Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
[2021-04-18T15:01:02.419615499Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
[2021-04-18T15:01:02.419778337Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
[2021-04-18T15:01:02.419804552Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
[2021-04-18T15:01:02.419837779Z] from /app/bin/rails:9:in `<top (required)>'
[2021-04-18T15:01:02.419891285Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `load'
[2021-04-18T15:01:02.419913197Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `call'
[2021-04-18T15:01:02.419948311Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/client/command.rb:7:in `call'
[2021-04-18T15:01:02.419985644Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/client.rb:30:in `run'
[2021-04-18T15:01:02.420016119Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/bin/spring:49:in `<top (required)>'
[2021-04-18T15:01:02.420050446Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `load'
[2021-04-18T15:01:02.420103891Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `<top (required)>'
[2021-04-18T15:01:02.420128927Z] from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
[2021-04-18T15:01:02.420156136Z] from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
[2021-04-18T15:01:02.420204435Z] from /app/bin/spring:15:in `<top (required)>'
[2021-04-18T15:01:02.420229773Z] from /app/bin/rails:3:in `load'
[2021-04-18T15:01:02.420269652Z] from /app/bin/rails:3:in `<main>'
[2021-04-18T15:01:02.420818294Z] /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/message_encryptor.rb:198:in `final': OpenSSL::Cipher::CipherError
[2021-04-18T15:01:02.420938128Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/message_encryptor.rb:198:in `_decrypt'
[2021-04-18T15:01:02.420952231Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/message_encryptor.rb:154:in `decrypt_and_verify'
[2021-04-18T15:01:02.421051504Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/messages/rotator.rb:22:in `decrypt_and_verify'
[2021-04-18T15:01:02.421080331Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/encrypted_file.rb:92:in `decrypt'
[2021-04-18T15:01:02.421133354Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/encrypted_file.rb:54:in `read'
[2021-04-18T15:01:02.421159832Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/encrypted_configuration.rb:21:in `read'
[2021-04-18T15:01:02.421236203Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/encrypted_configuration.rb:33:in `config'
[2021-04-18T15:01:02.421346980Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/encrypted_configuration.rb:38:in `options'
[2021-04-18T15:01:02.421556189Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/core_ext/module/delegation.rb:309:in `method_missing'
[2021-04-18T15:01:02.421651108Z] from /app/lib/jumpstart/lib/jumpstart/omniauth.rb:75:in `credentials_for'
[2021-04-18T15:01:02.421738608Z] from /app/lib/jumpstart/lib/jumpstart/omniauth.rb:65:in `has_credentials?'
[2021-04-18T15:01:02.421814101Z] from /app/lib/jumpstart/lib/jumpstart/omniauth.rb:41:in `block in enabled_providers'
[2021-04-18T15:01:02.421891365Z] from /app/lib/jumpstart/lib/jumpstart/omniauth.rb:40:in `each'
[2021-04-18T15:01:02.421989668Z] from /app/lib/jumpstart/lib/jumpstart/omniauth.rb:40:in `enabled_providers'
[2021-04-18T15:01:02.422081908Z] from /app/config/initializers/devise.rb:326:in `block in <main>'
[2021-04-18T15:01:02.422174718Z] from /gems/ruby/3.0.0/gems/devise-4.7.3/lib/devise.rb:307:in `setup'
[2021-04-18T15:01:02.422260742Z] from /app/config/initializers/devise.rb:19:in `<main>'
[2021-04-18T15:01:02.422338687Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
[2021-04-18T15:01:02.422472142Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
[2021-04-18T15:01:02.422562006Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:326:in `block in load'
[2021-04-18T15:01:02.422653657Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:299:in `load_dependency'
[2021-04-18T15:01:02.422732645Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:326:in `load'
[2021-04-18T15:01:02.422807502Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/engine.rb:681:in `block in load_config_initializer'
[2021-04-18T15:01:02.422884042Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/notifications.rb:205:in `instrument'
[2021-04-18T15:01:02.423078561Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/engine.rb:680:in `load_config_initializer'
[2021-04-18T15:01:02.423123582Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/engine.rb:634:in `block (2 levels) in <class:Engine>'
[2021-04-18T15:01:02.423202649Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/engine.rb:633:in `each'
[2021-04-18T15:01:02.423245991Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/engine.rb:633:in `block in <class:Engine>'
[2021-04-18T15:01:02.423322212Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:32:in `instance_exec'
[2021-04-18T15:01:02.423380809Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:32:in `run'
[2021-04-18T15:01:02.423450385Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:61:in `block in run_initializers'
[2021-04-18T15:01:02.423503926Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:228:in `block in tsort_each'
[2021-04-18T15:01:02.423561430Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
[2021-04-18T15:01:02.423624595Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
[2021-04-18T15:01:02.423686085Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:431:in `each_strongly_connected_component_from'
[2021-04-18T15:01:02.423748943Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
[2021-04-18T15:01:02.423809954Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:50:in `each'
[2021-04-18T15:01:02.423872294Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:50:in `tsort_each_child'
[2021-04-18T15:01:02.423936902Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:415:in `call'
[2021-04-18T15:01:02.423988171Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:415:in `each_strongly_connected_component_from'
[2021-04-18T15:01:02.424052017Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:349:in `block in each_strongly_connected_component'
[2021-04-18T15:01:02.424115773Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `each'
[2021-04-18T15:01:02.424177918Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `call'
[2021-04-18T15:01:02.424239715Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `each_strongly_connected_component'
[2021-04-18T15:01:02.424305635Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:226:in `tsort_each'
[2021-04-18T15:01:02.424358650Z] from /usr/local/lib/ruby/3.0.0/tsort.rb:205:in `tsort_each'
[2021-04-18T15:01:02.424425267Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/initializable.rb:60:in `run_initializers'
[2021-04-18T15:01:02.424477511Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/application.rb:384:in `initialize!'
[2021-04-18T15:01:02.424543846Z] from /app/config/environment.rb:5:in `<main>'
[2021-04-18T15:01:02.424601862Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
[2021-04-18T15:01:02.424667330Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
[2021-04-18T15:01:02.424725149Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
[2021-04-18T15:01:02.424790499Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
[2021-04-18T15:01:02.424841050Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
[2021-04-18T15:01:02.424904861Z] from /gems/ruby/3.0.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
[2021-04-18T15:01:02.424970076Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:332:in `block in require'
[2021-04-18T15:01:02.425030080Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:299:in `load_dependency'
[2021-04-18T15:01:02.425092972Z] from /gems/ruby/3.0.0/gems/activesupport-6.1.3.1/lib/active_support/dependencies.rb:332:in `require'
[2021-04-18T15:01:02.425153792Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
[2021-04-18T15:01:02.425217415Z] from config.ru:3:in `block in <main>'
[2021-04-18T15:01:02.425277815Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
[2021-04-18T15:01:02.425371957Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
[2021-04-18T15:01:02.425434900Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
[2021-04-18T15:01:02.425499618Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
[2021-04-18T15:01:02.425672305Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
[2021-04-18T15:01:02.425720647Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
[2021-04-18T15:01:02.425784758Z] from /gems/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
[2021-04-18T15:01:02.425854340Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
[2021-04-18T15:01:02.425924672Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/commands/server/server_command.rb:37:in `start'
[2021-04-18T15:01:02.425954775Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/commands/server/server_command.rb:144:in `block in perform'
[2021-04-18T15:01:02.426000583Z] from <internal:kernel>:90:in `tap'
[2021-04-18T15:01:02.426008926Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/commands/server/server_command.rb:135:in `perform'
[2021-04-18T15:01:02.426054687Z] from /gems/ruby/3.0.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
[2021-04-18T15:01:02.426079621Z] from /gems/ruby/3.0.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
[2021-04-18T15:01:02.426125491Z] from /gems/ruby/3.0.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
[2021-04-18T15:01:02.426164351Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/command/base.rb:69:in `perform'
[2021-04-18T15:01:02.426186353Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/command.rb:50:in `invoke'
[2021-04-18T15:01:02.426223056Z] from /gems/ruby/3.0.0/gems/railties-6.1.3.1/lib/rails/commands.rb:18:in `<main>'
[2021-04-18T15:01:02.426270407Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
[2021-04-18T15:01:02.426348712Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
[2021-04-18T15:01:02.426393929Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
[2021-04-18T15:01:02.426459369Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
[2021-04-18T15:01:02.426519079Z] from /gems/ruby/3.0.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
[2021-04-18T15:01:02.426583177Z] from /app/bin/rails:9:in `<top (required)>'
[2021-04-18T15:01:02.426635558Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `load'
[2021-04-18T15:01:02.426701701Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `call'
[2021-04-18T15:01:02.426761150Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/client/command.rb:7:in `call'
[2021-04-18T15:01:02.426825933Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/client.rb:30:in `run'
[2021-04-18T15:01:02.426884183Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/bin/spring:49:in `<top (required)>'
[2021-04-18T15:01:02.426949374Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `load'
[2021-04-18T15:01:02.427006862Z] from /gems/ruby/3.0.0/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `<top (required)>'
[2021-04-18T15:01:02.427065107Z] from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
[2021-04-18T15:01:02.427129975Z] from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
[2021-04-18T15:01:02.427192506Z] from /app/bin/spring:15:in `<top (required)>'
[2021-04-18T15:01:02.427253168Z] from /app/bin/rails:3:in `load'
[2021-04-18T15:01:02.427319560Z] from /app/bin/rails:3:in `<main>'
[]
thanks! Brandon
Brandon•
I should mention too that I found this: https://gorails.com/deploy/ubuntu/20.04
However I'm trying to avoid all the extra steps of setting up Capistrano, the db and all that's involved with that. The DigitalOcean app seems to pick everything and make all the configurations straight from the docker file, it's just not getting that ENV var or building in production.
Jim Jones•
Did you set RAILS_ENV to production?
Brandon•
Jim Jones
that got the build and deploy to pass thank you!
not I'm running into some weird webpacker issues.
I tried a few things here: https://github.com/rails/webpacker/issues/2071
one suggestion was deleting but that breaks all styles
I added the following to the production section of the webpacker.yml
extract_css: true
but that didn't seem to fix the issue either.
also per the suggestion in the stack trace, I set the following in the webpacker.yml
compile: true
Stack Trace
Error during failsafe response: Webpacker can't find application.js in /app/public/packs/manifest.json. Possible causes:
yakinspace | 2021-04-22 08:13:17 1. You want to set webpacker.yml value of compile to true for your environment
yakinspace | 2021-04-22 08:13:17 unless you are using the `webpack -w` or the webpack-dev-server.
yakinspace | 2021-04-22 08:13:17 2. webpack has not yet re-run to reflect updates.
yakinspace | 2021-04-22 08:13:17 3. You have misconfigured Webpacker's config/webpacker.yml file.
yakinspace | 2021-04-22 08:13:17 4. Your webpack configuration is not creating a manifest.
yakinspace | 2021-04-22 08:13:17 Your manifest contains:
yakinspace | 2021-04-22 08:13:17 {}