Skip to content

Instantly share code, notes, and snippets.

@adelevie
Created December 21, 2015 12:04
Show Gist options
  • Save adelevie/bb47d04da6fca6fe967e to your computer and use it in GitHub Desktop.
Save adelevie/bb47d04da6fca6fe967e to your computer and use it in GitHub Desktop.
2015-12-21T07:03:47.18-0500 [App/0] ERR PG::InsufficientPrivilege: ERROR: permission denied to create database
2015-12-21T07:03:47.18-0500 [App/0] ERR : CREATE DATABASE "dbugpg2lso460wyhn" ENCODING = 'unicode'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `async_exec'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/schema_statements.rb:78:in `create_database'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/tasks/postgresql_database_tasks.rb:17:in `create'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:93:in `create'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:107:in `block in create_current'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:275:in `block in each_current_configuration'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:274:in `each'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:274:in `each_current_configuration'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:106:in `create_current'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/railties/databases.rake:17:in `block (2 levels) in <top (required)>'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:240:in `call'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:240:in `block in execute'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:235:in `each'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:235:in `execute'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:179:in `block in invoke_with_call_chain'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:201:in `block in invoke_prerequisites'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:199:in `each'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:199:in `invoke_prerequisites'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:178:in `block in invoke_with_call_chain'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:201:in `block in invoke_prerequisites'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:199:in `each'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:199:in `invoke_prerequisites'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:178:in `block in invoke_with_call_chain'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:165:in `invoke'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:150:in `invoke_task'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:106:in `block (2 levels) in top_level'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:106:in `each'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:106:in `block in top_level'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:115:in `run_with_threads'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:100:in `top_level'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:78:in `block in run'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:75:in `run'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/bin/rake:4:in `<main>'
2015-12-21T07:03:47.18-0500 [App/0] ERR Couldn't create database for {"adapter"=>"postgresql", "encoding"=>"unicode", "pool"=>5, "host"=>"rpbcav5osz8b4q.ch0moygcdwsl.us-east-1.rds.amazonaws.com", "port"=>5432, "database"=>"dbugpg2lso460wyhn", "username"=>"uacc5aj7zfhsudo9", "password"=>"1ya3lvexrq70nh9xk1u48y2y9"}
2015-12-21T07:03:47.86-0500 [App/0] OUT -- enable_extension("plpgsql")
2015-12-21T07:03:47.92-0500 [App/0] OUT SQL (0.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
2015-12-21T07:03:47.92-0500 [App/0] OUT -> 0.0611s
2015-12-21T07:03:47.92-0500 [App/0] OUT -- create_table("auctions", {:force=>:cascade})
2015-12-21T07:03:47.93-0500 [App/0] OUT (7.5ms) DROP TABLE "auctions" CASCADE
2015-12-21T07:03:47.99-0500 [App/0] OUT (49.5ms) CREATE TABLE "auctions" ("id" serial primary key, "issue_url" character varying, "start_price" float DEFAULT 3500.0, "start_datetime" timestamp, "end_datetime" timestamp, "title" character varying, "description" text, "github_repo" character varying, "published" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2015-12-21T07:03:47.99-0500 [App/0] OUT -> 0.0637s
2015-12-21T07:03:47.99-0500 [App/0] OUT -- create_table("bids", {:force=>:cascade})
2015-12-21T07:03:47.99-0500 [App/0] OUT (5.2ms) DROP TABLE "bids" CASCADE
2015-12-21T07:03:48.01-0500 [App/0] OUT (19.8ms) CREATE TABLE "bids" ("id" serial primary key, "bidder_id" integer, "auction_id" integer, "amount" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2015-12-21T07:03:48.01-0500 [App/0] OUT -> 0.0270s
2015-12-21T07:03:48.01-0500 [App/0] OUT -- create_table("users", {:force=>:cascade})
2015-12-21T07:03:48.02-0500 [App/0] OUT (5.5ms) DROP TABLE "users" CASCADE
2015-12-21T07:03:48.05-0500 [App/0] OUT (31.2ms) CREATE TABLE "users" ("id" serial primary key, "github_id" character varying, "duns_number" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying)
2015-12-21T07:03:48.05-0500 [App/0] OUT -> 0.0382s
2015-12-21T07:03:48.05-0500 [App/0] OUT -- initialize_schema_migrations_table()
2015-12-21T07:03:48.08-0500 [App/0] OUT -> 0.0319s
2015-12-21T07:03:48.09-0500 [App/0] OUT (0.8ms) SELECT version FROM "schema_migrations"
2015-12-21T07:03:48.13-0500 [App/0] OUT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
2015-12-21T07:03:48.17-0500 [App/0] OUT (0.5ms) BEGIN
2015-12-21T07:03:48.18-0500 [App/0] OUT SQL (0.9ms) INSERT INTO "auctions" ("issue_url", "start_datetime", "end_datetime", "title", "description", "github_repo", "published", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["issue_url", "https://github.com/18F/mpt3500/issues/10"], ["start_datetime", "2015-10-13 18:15:00.000000"], ["end_datetime", "2015-10-14 19:00:00.000000"], ["title", "Build a Placeholder for MPT 3500"], ["description", "This auction is a placeholder for MPT 3500. The MPT 3500 team needs to build the following ..."], ["github_repo", "https://github.com/18F/mpt3500"], ["published", 0], ["created_at", "2015-12-21 12:03:48.176552"], ["updated_at", "2015-12-21 12:03:48.176552"]]
2015-12-21T07:03:48.18-0500 [App/0] OUT (3.9ms) COMMIT
2015-12-21T07:03:48.25-0500 [DEA/2] ERR Instance (index 0) failed to start accepting connections
2015-12-21T07:03:48.26-0500 [API/1] OUT App instance exited with guid 45fc6f36-b66c-4b61-958f-04d5086081f1 payload: {"cc_partition"=>"default", "droplet"=>"45fc6f36-b66c-4b61-958f-04d5086081f1", "version"=>"065c2870-66f2-487d-9c54-b63e5cfa81b6", "instance"=>"c7a2e037718b4aa2b0c08cedd856bf02", "index"=>0, "reason"=>"CRASHED", "exit_status"=>0, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1450699428}
2015-12-21T07:03:48.27-0500 [API/1] OUT App instance exited with guid 45fc6f36-b66c-4b61-958f-04d5086081f1 payload: {"cc_partition"=>"default", "droplet"=>"45fc6f36-b66c-4b61-958f-04d5086081f1", "version"=>"065c2870-66f2-487d-9c54-b63e5cfa81b6", "instance"=>"c7a2e037718b4aa2b0c08cedd856bf02", "index"=>0, "reason"=>"CRASHED", "exit_status"=>0, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1450699428}
2015-12-21T07:03:51.10-0500 [DEA/2] OUT Removing crash for app with id 45fc6f36-b66c-4b61-958f-04d5086081f1
2015-12-21T07:03:51.10-0500 [DEA/2] OUT Stopping app instance (index 0) with guid 45fc6f36-b66c-4b61-958f-04d5086081f1
2015-12-21T07:03:51.10-0500 [DEA/2] OUT Stopped app instance (index 0) with guid 45fc6f36-b66c-4b61-958f-04d5086081f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment