error after deploing the refinerycms on heroku

26 views
Skip to first unread message

kore...@gmail.com

unread,
Apr 19, 2014, 10:27:17 AM4/19/14
to refine...@googlegroups.com
Hello
We tried to upload refinerycms application on heroku.
After following instructions provided within - "http://refinerycms.com/guides/heroku ". i received the error -
"We're sorry, but something went wrong."

We observed below error within heroku log

2014-04-19T12:24:45.054975+00:00 app[web.1]: Processing by Refinery::PagesController#home as HTML
2014-04-19T12:24:45.054977+00:00 app[web.1]:   Parameters: {"locale"=>:en}
2014-04-19T12:24:45.054978+00:00 app[web.1]: PG::UndefinedTable: ERROR:  relation "refinery_pages" does not exist
2014-04-19T12:24:45.054980+00:00 app[web.1]: LINE 5:              WHERE a.attrelid = '"refinery_pages"'::regclass
2014-04-19T12:24:45.054981+00:00 app[web.1]:                                         ^
2014-04-19T12:24:45.054983+00:00 app[web.1]: :             SELECT a.attname, format_type(a.atttypid, a.atttypmod),
2014-04-19T12:24:45.054984+00:00 app[web.1]:                      pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
2014-04-19T12:24:45.054985+00:00 app[web.1]:               FROM pg_attribute a LEFT JOIN pg_attrdef d
2014-04-19T12:24:45.054987+00:00 app[web.1]:                 ON a.attrelid = d.adrelid AND a.attnum = d.adnum
2014-04-19T12:24:45.054988+00:00 app[web.1]:              WHERE a.attrelid = '"refinery_pages"'::regclass
2014-04-19T12:24:45.054989+00:00 app[web.1]:                AND a.attnum > 0 AND NOT a.attisdropped
2014-04-19T12:24:45.054991+00:00 app[web.1]:              ORDER BY a.attnum
2014-04-19T12:24:45.054992+00:00 app[web.1]:
2014-04-19T12:24:45.054993+00:00 app[web.1]: Completed 500 Internal Server Error in 8ms
2014-04-19T12:24:49.147710+00:00 heroku[web.1]: Stopping all processes with SIGTERM

Also please find attached error logs from heroku
your help to rectify this problem will highly be appreciated.

Thank you

Nikhil



logs.txt

Philip Arndt

unread,
Apr 19, 2014, 11:08:56 AM4/19/14
to refine...@googlegroups.com
It doesn't look like you created a database.. Try:

heroku run rake db:{migrate,seed}
Reply all
Reply to author
Forward
0 new messages