Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Following the "Build" Instructions #1

Closed
jabowery opened this issue May 10, 2015 · 2 comments
Closed

Following the "Build" Instructions #1

jabowery opened this issue May 10, 2015 · 2 comments

Comments

@jabowery
Copy link

@jabowery jabowery commented May 10, 2015

Following the "Build" Instructions:

  • Starting PostgreSQL 9.4 database server >[ OK ]
    root@jabowery-H61M-S2-B3:# exit
    jabowery@jabowery-H61M-S2-B3:
    /dev/aquameta$ ./build.sh
    Creating database ...
    createdb: could not connect to database template1: FATAL: role "jabowery" does not exist

OK, so now I'm in the weeds. I won't even bother trying to explain what happened when I tried to get out of the weeds.

PS: Yes I know the Markdown for blockquote didn't work above and I couldn't figure out why not.

@erichanson

This comment has been minimized.

Copy link
Member

@erichanson erichanson commented May 10, 2015

Aha. You have to run the build script as a user who has superuser access
to the database. Try this:

sudo -iu postgres
psql
CREATE ROLE jabowery SUPERUSER LOGIN;

Then run build.sh again as your user jabowery.

I'll update the build instructions.

Thanks,
Eric

On Sun, May 10, 2015 at 3:39 PM, James Bowery notifications@github.com
wrote:

  • Starting PostgreSQL 9.4 database server > [ OK ]
    root@jabowery-H61M-S2-B3:# exit jabowery@jabowery-H61M-S2-B3:/dev/aquameta$
    ./build.sh Creating database ... createdb: could not connect to database
    template1: FATAL: role "jabowery" does not exist

    OK, so now I'm in the weeds. I won't even bother trying to explain what
    happened when I tried to get out of the weeds.


Reply to this email directly or view it on GitHub
#1.

@erichanson

This comment has been minimized.

Copy link
Member

@erichanson erichanson commented May 10, 2015

@erichanson erichanson closed this May 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.