obfuscurity / descartes

Introspective dashboard for Graphite
MIT License
504 stars 65 forks source link

'ERROR: relation "graphs" does not exist' #66

Closed Dieterbe closed 12 years ago

Dieterbe commented 12 years ago

i setup the latest git version on heroku as per readme. on this page http://fierce-sands-3941.herokuapp.com/graphs I see in my network tab that a request for "graphs" is happening, the response for which is:

PG::Error: ERROR:  relation "graphs" does not exist
LINE 1: SELECT COUNT(*) AS "count" FROM "graphs" WHERE ("enabled" IS...
                                        ^
obfuscurity commented 12 years ago

This is not an issue with Descartes. You haven't run your database migrations properly.

Dieterbe commented 12 years ago

well i just followed the instructions in the readme, i.e. heroku addons:add heroku-postgresql:dev -r $DEPLOY which didn't give any error, so what did i do wrong?

obfuscurity commented 12 years ago

That just deploys the database, it doesn't run the migration. Here you go.

$ heroku run bundle exec rake db:migrate:up