Skip to content

Instantly share code, notes, and snippets.

@snoblenet
Created June 21, 2015 06:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snoblenet/e9320c4d61fbd26db1a4 to your computer and use it in GitHub Desktop.
Save snoblenet/e9320c4d61fbd26db1a4 to your computer and use it in GitHub Desktop.
error
Stevens-MacBook-Air-2:testivate steven$ heroku logs --app testivate
2015-06-21T06:14:36+00:00 app[heroku-postgres]: source=HEROKU_POSTGRESQL_SILVER sample#current_transaction=35588211 sample#db_size=307467384bytes sample#tables=21 sample#active-connections=5 sample#waiting-connections=0 sample#index-cache-hit-rate=0.95747 sample#table-cache-hit-rate=0.84423 sample#load-avg-1m=0.07 sample#load-avg-5m=0.105 sample#load-avg-15m=0.135 sample#read-iops=0 sample#write-iops=0.20825 sample#memory-total=7629452kB sample#memory-free=567436kB sample#memory-cached=6285748kB sample#memory-postgres=261260kB
2015-06-21T06:14:46.971712+00:00 heroku[router]: at=info method=GET path="/" host=testivate.com request_id=f2784ec8-d110-4799-8657-4d631e724d28 fwd="180.76.15.7" dyno=web.1 connect=0ms service=9ms status=301 bytes=180
2015-06-21T06:14:51.016279+00:00 app[web.1]: Started GET "/" for 101.176.176.218 at 2015-06-21 06:14:51 +0000
2015-06-21T06:14:51.482251+00:00 app[web.1]: Processing by HighVoltage::PagesController#show as HTML
2015-06-21T06:14:51.482285+00:00 app[web.1]: Parameters: {"id"=>"home"}
2015-06-21T06:14:51.594934+00:00 app[web.1]: Rendered shared/_notice.html.haml (5.2ms)
2015-06-21T06:14:51.726293+00:00 app[web.1]: Completed 200 OK in 244ms (Views: 123.4ms | ActiveRecord: 67.7ms)
2015-06-21T06:14:51.596407+00:00 app[web.1]: Rendered pages/home.html.haml within layouts/application (19.5ms)
2015-06-21T06:14:51.736908+00:00 app[web.1]: PG::SyntaxError: ERROR: zero-length delimited identifier at or near """"
2015-06-21T06:14:51.736912+00:00 app[web.1]: LINE 1: ...T "data" = $1, "updated_at" = $2 WHERE "sessions"."" = 15941...
2015-06-21T06:14:51.736913+00:00 app[web.1]: ^
2015-06-21T06:14:51.736915+00:00 app[web.1]: : UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."" = 159410
2015-06-21T06:14:51.747034+00:00 app[web.1]: ActiveRecord::StatementInvalid (PG::SyntaxError: ERROR: zero-length delimited identifier at or near """"
2015-06-21T06:14:51.747030+00:00 app[web.1]:
2015-06-21T06:14:51.747036+00:00 app[web.1]: LINE 1: ...T "data" = $1, "updated_at" = $2 WHERE "sessions"."" = 15941...
2015-06-21T06:14:51.747037+00:00 app[web.1]: ^
2015-06-21T06:14:51.747040+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:817:in `prepare'
2015-06-21T06:14:51.747039+00:00 app[web.1]: : UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."" = 159410):
2015-06-21T06:14:51.747042+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:817:in `prepare_statement'
2015-06-21T06:14:51.747043+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:778:in `exec_cache'
2015-06-21T06:14:51.747045+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:161:in `block in exec_delete'
2015-06-21T06:14:51.747047+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract_adapter.rb:435:in `block in log'
2015-06-21T06:14:51.747048+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2015-06-21T06:14:51.747050+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract_adapter.rb:430:in `log'
2015-06-21T06:14:51.747051+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:159:in `exec_delete'
2015-06-21T06:14:51.747053+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:102:in `update'
2015-06-21T06:14:51.747055+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
2015-06-21T06:14:51.747057+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/persistence.rb:500:in `update_record'
2015-06-21T06:14:51.747059+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/locking/optimistic.rb:70:in `update_record'
2015-06-21T06:14:51.747061+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/attribute_methods/dirty.rb:74:in `update_record'
2015-06-21T06:14:51.747063+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/callbacks.rb:310:in `block in update_record'
2015-06-21T06:14:51.747065+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:373:in `_run__3323950509214658948__update__callbacks'
2015-06-21T06:14:51.747067+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
2015-06-21T06:14:51.747069+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/callbacks.rb:310:in `update_record'
2015-06-21T06:14:51.747071+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/timestamp.rb:70:in `update_record'
2015-06-21T06:14:51.747075+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/callbacks.rb:302:in `block in create_or_update'
2015-06-21T06:14:51.747073+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/persistence.rb:477:in `create_or_update'
2015-06-21T06:14:51.747079+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:393:in `_run__3323950509214658948__save__callbacks'
2015-06-21T06:14:51.747081+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
2015-06-21T06:14:51.747083+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/callbacks.rb:302:in `create_or_update'
2015-06-21T06:14:51.747084+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/persistence.rb:106:in `save'
2015-06-21T06:14:51.747086+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/validations.rb:51:in `save'
2015-06-21T06:14:51.747088+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/attribute_methods/dirty.rb:32:in `save'
2015-06-21T06:14:51.747090+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/transactions.rb:270:in `block (2 levels) in save'
2015-06-21T06:14:51.747092+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/transactions.rb:326:in `block in with_transaction_returning_status'
2015-06-21T06:14:51.747094+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `block in transaction'
2015-06-21T06:14:51.747096+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:210:in `within_new_transaction'
2015-06-21T06:14:51.747105+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `transaction'
2015-06-21T06:14:51.747108+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/transactions.rb:209:in `transaction'
2015-06-21T06:14:51.747109+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/transactions.rb:323:in `with_transaction_returning_status'
2015-06-21T06:14:51.747112+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/transactions.rb:270:in `block in save'
2015-06-21T06:14:51.747113+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/transactions.rb:281:in `rollback_active_record_state!'
2015-06-21T06:14:51.747114+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/transactions.rb:269:in `save'
2015-06-21T06:14:51.747116+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/bundler/gems/activerecord-session_store-a30ec3117d18/lib/action_dispatch/session/active_record_store.rb:77:in `set_session'
2015-06-21T06:14:51.747117+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:342:in `commit_session'
2015-06-21T06:14:51.747119+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:226:in `context'
2015-06-21T06:14:51.747120+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'
2015-06-21T06:14:51.747122+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/cookies.rb:486:in `call'
2015-06-21T06:14:51.747123+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/query_cache.rb:36:in `call'
2015-06-21T06:14:51.747125+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2015-06-21T06:14:51.747126+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2015-06-21T06:14:51.747127+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:373:in `_run__3005444231554342749__call__callbacks'
2015-06-21T06:14:51.747129+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
2015-06-21T06:14:51.747130+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2015-06-21T06:14:51.747131+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2015-06-21T06:14:51.747133+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2015-06-21T06:14:51.747134+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2015-06-21T06:14:51.747135+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:38:in `call_app'
2015-06-21T06:14:51.747155+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:25:in `tagged'
2015-06-21T06:14:51.747151+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `block in call'
2015-06-21T06:14:51.747154+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2015-06-21T06:14:51.747156+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `tagged'
2015-06-21T06:14:51.747157+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `call'
2015-06-21T06:14:51.747159+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/request_store-1.1.0/lib/request_store/middleware.rb:8:in `call'
2015-06-21T06:14:51.747161+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'
2015-06-21T06:14:51.747160+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2015-06-21T06:14:51.747164+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2015-06-21T06:14:51.747165+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/static.rb:64:in `call'
2015-06-21T06:14:51.747163+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'
2015-06-21T06:14:51.747167+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'
2015-06-21T06:14:51.747168+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/ssl.rb:24:in `call'
2015-06-21T06:14:51.747169+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.2/lib/rails/engine.rb:511:in `call'
2015-06-21T06:14:51.747171+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.2/lib/rails/application.rb:97:in `call'
2015-06-21T06:14:51.747172+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.2/lib/rails/railtie/configurable.rb:30:in `method_missing'
2015-06-21T06:14:51.747181+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
2015-06-21T06:14:51.747173+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
2015-06-21T06:14:51.747175+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
2015-06-21T06:14:51.747184+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
2015-06-21T06:14:51.747182+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
2015-06-21T06:14:51.747186+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'
2015-06-21T06:14:51.747185+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
2015-06-21T06:14:51.747187+00:00 app[web.1]:
2015-06-21T06:14:51.747189+00:00 app[web.1]:
2015-06-21T06:14:51.756663+00:00 heroku[router]: at=info method=GET path="/" host=testivate.com request_id=17358fdf-195f-4c09-9bb6-379a04b61cdf fwd="101.176.176.218" dyno=web.1 connect=0ms service=744ms status=500 bytes=1036
2015-06-21T06:15:01.236336+00:00 app[web.1]: Started HEAD "/" for 74.86.158.106 at 2015-06-21 06:15:01 +0000
2015-06-21T06:15:01.596744+00:00 app[web.1]: Processing by HighVoltage::PagesController#show as HTML
2015-06-21T06:15:01.776102+00:00 app[web.1]: Completed 200 OK in 179ms (Views: 98.3ms | ActiveRecord: 16.0ms)
2015-06-21T06:15:01.676770+00:00 app[web.1]: Rendered shared/_notice.html.haml (1.4ms)
2015-06-21T06:15:01.597210+00:00 app[web.1]: Parameters: {"id"=>"home"}
2015-06-21T06:15:01.679503+00:00 app[web.1]: Rendered pages/home.html.haml within layouts/application (14.9ms)
2015-06-21T06:15:01.812618+00:00 heroku[router]: at=info method=HEAD path="/" host=testivate.com request_id=06c9e581-da94-4c54-85d1-a596d5543f69 fwd="74.86.158.106" dyno=web.1 connect=0ms service=582ms status=200 bytes=549
Stevens-MacBook-Air-2:testivate steven$
@jonnysamps
Copy link

Did you find a fix for this issue? @snoblenet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment