I'm deploying an app to Heroku for the first time and keep receiving an 
error when trying to migrate my database. I've looked at all the relevant 
Heroku docs and asked around at Stack Overflow, but still no luck.

After pushing the code up (which is successful), I run the heroku run rake 
db:migrate command and see the following:

rake aborted! FATAL: role "xxxxxxxx" is not permitted to log in, followed 
by the trace which I've posted here. <http://pastebin.com/U5PVUqxc>

According to the guide on postgres 
errors<https://devcenter.heroku.com/articles/postgres-logs-errors#fatal-role-rolename>,
 
this error means I don't have a database provisioned. But I know that I do, 
because running heroku addons | grep POSTGRES returns the database/plan the 
app is using. I also made sure to store it in the DATABASE_URL config var 
per Heroku's instructions.

I haven't a clue what is going on, can anyone offer suggestions? Thank you.


-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

Reply via email to