Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in logs on deploy #21

Open
jaromil opened this issue Jul 12, 2014 · 0 comments
Open

Errors in logs on deploy #21

jaromil opened this issue Jul 12, 2014 · 0 comments

Comments

@jaromil
Copy link
Member

jaromil commented Jul 12, 2014

Trying a deploy on heroku right after git push and before rake run this error appears in the logs:

2014-07-12T10:13:50.495828+00:00 app[web.1]: LINE 5:                WHERE a.attrelid = '"polls"'::regclass
2014-07-12T10:13:50.428955+00:00 app[web.1]: Processing by PollsController#new as */*
2014-07-12T10:13:50.495827+00:00 app[web.1]: ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR:  relation "polls" does not exist
2014-07-12T10:13:50.495821+00:00 app[web.1]: F, [2014-07-12T10:13:50.495702 #11] FATAL -- : 
2014-07-12T10:13:50.495834+00:00 app[web.1]:                 FROM pg_attribute a LEFT JOIN pg_attrdef d
2014-07-12T10:13:50.495829+00:00 app[web.1]:                                           ^
2014-07-12T10:13:50.495832+00:00 app[web.1]:                      pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
2014-07-12T10:13:50.495831+00:00 app[web.1]: :               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
2014-07-12T10:13:50.495843+00:00 app[web.1]: 
2014-07-12T10:13:50.495835+00:00 app[web.1]:                   ON a.attrelid = d.adrelid AND a.attnum = d.adnum
2014-07-12T10:13:50.495838+00:00 app[web.1]:                ORDER BY a.attnum
2014-07-12T10:13:50.495841+00:00 app[web.1]:   app/controllers/polls_controller.rb:15:in `new'
2014-07-12T10:13:50.495837+00:00 app[web.1]:                  AND a.attnum > 0 AND NOT a.attisdropped
2014-07-12T10:13:50.495840+00:00 app[web.1]: ):
2014-07-12T10:13:50.495836+00:00 app[web.1]:                WHERE a.attrelid = '"polls"'::regclass
2014-07-12T10:13:50.495842+00:00 app[web.1]: 
2014-07-12T10:13:50.489129+00:00 app[web.1]:                 FROM pg_attribute a LEFT JOIN pg_attrdef d
2014-07-12T10:13:50.489130+00:00 app[web.1]:                   ON a.attrelid = d.adrelid AND a.attnum = d.adnum
2014-07-12T10:13:50.489135+00:00 app[web.1]: 
2014-07-12T10:13:50.489117+00:00 app[web.1]: PG::UndefinedTable: ERROR:  relation "polls" does not exist
2014-07-12T10:13:50.489123+00:00 app[web.1]: LINE 5:                WHERE a.attrelid = '"polls"'::regclass
2014-07-12T10:13:50.489124+00:00 app[web.1]:                                           ^
2014-07-12T10:13:50.489126+00:00 app[web.1]: :               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
2014-07-12T10:13:50.489127+00:00 app[web.1]:                      pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
2014-07-12T10:13:50.489132+00:00 app[web.1]:                  AND a.attnum > 0 AND NOT a.attisdropped
2014-07-12T10:13:50.489134+00:00 app[web.1]:                ORDER BY a.attnum
2014-07-12T10:13:50.489723+00:00 app[web.1]: Completed 500 Internal Server Error in 59ms
2014-07-12T10:13:50.489131+00:00 app[web.1]:                WHERE a.attrelid = '"polls"'::regclass

This is not blocking, going on it all works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant