[openstreetmap/openstreetmap-website] openstreetmap-website official install instruction DB issue (#2045)

Andy Allan notifications at github.com
Tue Nov 6 13:25:05 UTC 2018

You are trying to configure the database as "root", which is definitely not recommended. 

The instructions say "We need to create a PostgreSQL role (i.e. user account) for your current user" so please try again, but with a normal user account, and use that username when creating the postgresql superuser. So for example, if you are logged in as a user called "bob", e.g.

bob at debian:~/openstreetmap-website$

Then you would run

sudo -u postgres -i
createuser -s bob

and you would change the `config/database.yml` to have `username: bob`. Of course, you can use any user account to do this, "bob" is just an example.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181106/6f835955/attachment.html>

More information about the rails-dev mailing list