Skip to content

Instantly share code, notes, and snippets.

@danrademacher
Created May 17, 2022 01:04
Show Gist options
  • Save danrademacher/f6917444eebe2a51fde72d37f0624fb1 to your computer and use it in GitHub Desktop.
Save danrademacher/f6917444eebe2a51fde72d37f0624fb1 to your computer and use it in GitHub Desktop.
% docker-compose up
WARNING: Found orphan containers (ohm-website_memcached_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Recreating ohm-website_db_1 ... done
Recreating ohm-website_web_1 ... done
Attaching to ohm-website_db_1, ohm-website_web_1
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2022-05-17 01:02:44.682 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db_1 | 2022-05-17 01:02:44.683 UTC [1] LOG: listening on IPv6 address "::", port 5432
db_1 | 2022-05-17 01:02:44.689 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1 | 2022-05-17 01:02:44.723 UTC [27] LOG: database system was shut down at 2022-05-17 00:50:48 UTC
db_1 | 2022-05-17 01:02:44.758 UTC [1] LOG: database system is ready to accept connections
web_1 | /usr/lib/ruby/2.7.0/net/protocol.rb:66: warning: already initialized constant Net::ProtocRetryError
web_1 | /var/lib/gems/2.7.0/gems/net-protocol-0.1.3/lib/net/protocol.rb:68: warning: previous definition of ProtocRetryError was here
web_1 | /usr/lib/ruby/2.7.0/net/protocol.rb:206: warning: already initialized constant Net::BufferedIO::BUFSIZE
web_1 | /var/lib/gems/2.7.0/gems/net-protocol-0.1.3/lib/net/protocol.rb:208: warning: previous definition of BUFSIZE was here
web_1 | /usr/lib/ruby/2.7.0/net/protocol.rb:503: warning: already initialized constant Net::NetPrivate::Socket
web_1 | /var/lib/gems/2.7.0/gems/net-protocol-0.1.3/lib/net/protocol.rb:504: warning: previous definition of Socket was here
web_1 | => Booting Puma
web_1 | => Rails 7.0.3 application starting in development
web_1 | => Run `bin/rails server --help` for more startup options
web_1 | Exiting
web_1 | /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/application/configuration.rb:347:in `database_configuration': Cannot load database configuration: (RuntimeError)
web_1 | Could not load database configuration. No such file - ["config/database.yml"]
web_1 | from /var/lib/gems/2.7.0/gems/activerecord-7.0.3/lib/active_record/railtie.rb:276:in `block (2 levels) in <class:Railtie>'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:82:in `class_eval'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:82:in `block in execute_hook'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:72:in `with_execution_control'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:77:in `execute_hook'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:47:in `block in on_load'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:46:in `each'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:46:in `on_load'
web_1 | from /var/lib/gems/2.7.0/gems/activerecord-7.0.3/lib/active_record/railtie.rb:272:in `block in <class:Railtie>'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/initializable.rb:32:in `instance_exec'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/initializable.rb:32:in `run'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/initializable.rb:61:in `block in run_initializers'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:347:in `each'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:347:in `call'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/initializable.rb:60:in `run_initializers'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/application.rb:372:in `initialize!'
web_1 | from /app/config/environment.rb:5:in `<main>'
web_1 | from config.ru:3:in `require_relative'
web_1 | from config.ru:3:in `block in <main>'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:76:in `log_to_stdout'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:36:in `start'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:143:in `block in perform'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:134:in `tap'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:134:in `perform'
web_1 | from /var/lib/gems/2.7.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
web_1 | from /var/lib/gems/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
web_1 | from /var/lib/gems/2.7.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/command/base.rb:87:in `perform'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/command.rb:48:in `invoke'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands.rb:18:in `<main>'
web_1 | from /var/lib/gems/2.7.0/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web_1 | from /var/lib/gems/2.7.0/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web_1 | from bin/rails:4:in `<main>'
web_1 | /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/application/configuration.rb:347:in `database_configuration': Could not load database configuration. No such file - ["config/database.yml"] (RuntimeError)
web_1 | from /var/lib/gems/2.7.0/gems/activerecord-7.0.3/lib/active_record/railtie.rb:276:in `block (2 levels) in <class:Railtie>'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:82:in `class_eval'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:82:in `block in execute_hook'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:72:in `with_execution_control'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:77:in `execute_hook'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:47:in `block in on_load'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:46:in `each'
web_1 | from /var/lib/gems/2.7.0/gems/activesupport-7.0.3/lib/active_support/lazy_load_hooks.rb:46:in `on_load'
web_1 | from /var/lib/gems/2.7.0/gems/activerecord-7.0.3/lib/active_record/railtie.rb:272:in `block in <class:Railtie>'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/initializable.rb:32:in `instance_exec'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/initializable.rb:32:in `run'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/initializable.rb:61:in `block in run_initializers'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:347:in `each'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:347:in `call'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
web_1 | from /usr/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/initializable.rb:60:in `run_initializers'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/application.rb:372:in `initialize!'
web_1 | from /app/config/environment.rb:5:in `<main>'
web_1 | from config.ru:3:in `require_relative'
web_1 | from config.ru:3:in `block in <main>'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
web_1 | from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:76:in `log_to_stdout'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:36:in `start'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:143:in `block in perform'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:134:in `tap'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:134:in `perform'
web_1 | from /var/lib/gems/2.7.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
web_1 | from /var/lib/gems/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
web_1 | from /var/lib/gems/2.7.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/command/base.rb:87:in `perform'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/command.rb:48:in `invoke'
web_1 | from /var/lib/gems/2.7.0/gems/railties-7.0.3/lib/rails/commands.rb:18:in `<main>'
web_1 | from /var/lib/gems/2.7.0/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web_1 | from /var/lib/gems/2.7.0/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web_1 | from bin/rails:4:in `<main>'
ohm-website_web_1 exited with code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment