why FATAL: permission denied for database "postgres"

732 views
Skip to first unread message

hunter

unread,
Dec 8, 2013, 3:05:28 AM12/8/13
to fulcru...@googlegroups.com
Hi 

I cloned https://github.com/malclocke/fulcrum.git, and did the jobs to heroku setup
but it came with  "FATAL:  permission denied for database "postgres" when i did heroku run rake db:setup. command
  
what problem did it hanppen?
i will appreciate your help.

  

Malcolm Locke

unread,
Dec 8, 2013, 4:27:44 AM12/8/13
to fulcru...@googlegroups.com
Hi Hunter,

I've just tried a fresh install onto Heroku and there seem to be
multiple problems since we updated to Rails 4 recently. I'll look into
these tomorrow and hopefully have some fixes shortly.

Apologies for the problems, I guess you are the first person to try a
fresh install since the upgrade. Thanks for letting us know.

Malc

Dom Stockdale

unread,
Dec 30, 2013, 2:49:52 AM12/30/13
to fulcru...@googlegroups.com
Hi Hunter,

That rake command won't work on Heroku anymore. rake db:setup and rake db:reset won't work they don't have permissions to drop and create databases.

You can just run "heroku rake db:migrate" and "heroku rake db:seed" if you want to seed it.

There's other issues with deploying to heroku though. I've just done a pull request that will hopefully fix them 

https://github.com/malclocke/fulcrum/pull/205 (have to wait and see if Malc likes it or not).

In the mean time you could check out my fork which I've just tested deploying.


You'll need to check out the updated instruction for deploying to Heroku in the readme doc. You have to uncomment a couple of things that's all.

- d
Reply all
Reply to author
Forward
0 new messages