Note that there are some explanatory texts on larger screens.

plurals
  1. POheroku pushing for deployment, something went wrong with my database, relation "users" doesn't exist
    primarykey
    data
    text
    <p>I'm trying to open heroku with my application but I"m looking at the logs and I see this error regarding my users database? I've tried to run <code>heroku run rake db:migrate</code> and restarting heroku and stuff but it doesn't seem to work. I don't know what these lines mean. Hopefully someone can help me out here?</p> <pre><code> =&gt; Booting WEBrick =&gt; Rails 3.2.13 application starting in production on http://0.0.0.0:56009 at=info method=GET path=/ host=upkeepin.herokuapp.com fwd="76.89.238.178" dyno=web.1 connect=20ms service=1539ms status=500 bytes=643 ActiveRecord::StatementInvalid (PG::Error: ERROR: relation "users" does not exist ): LINE 5: WHERE a.attrelid = '"users"'::regclass pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod WHERE a.attrelid = '"users"'::regclass ^ vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:659:in `exec_query' AND a.attnum &gt; 0 AND NOT a.attisdropped vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/model_schema.rb:228:in `columns' : SELECT a.attname, format_type(a.atttypid, a.atttypmod), vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:1161:in `exec_no_cache' FROM pg_attribute a LEFT JOIN pg_attrdef d vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_re </code></pre> <p>Thanks</p> <p>EDIT:</p> <p>FOllowing the instructions below, I'm getting this now, after running <code>heroku logs</code>:</p> <pre><code> 10: &lt;%= csrf_meta_tags %&gt; app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__3270629977905203478_70215431754220' Rendered devise/shared/_links.erb (44.9ms) 11: 12: &lt;%= stylesheet_link_tag 'gmaps4rails' %&gt; 13: &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt; 15: &lt;body&gt; Rendered devise/sessions/new.html.erb within layouts/application (58.1ms) Completed 500 Internal Server Error in 179ms ActionView::Template::Error (gmaps4rails.css isn't precompiled): 9: &lt;%= javascript_include_tag "application" %&gt; 14: &lt;/head&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload