Skip to content
New issue

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

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

Already on GitHub? # to your account

Problems with database setup in template #538

Open
abhi18av opened this issue Jan 11, 2019 · 1 comment
Open

Problems with database setup in template #538

abhi18av opened this issue Jan 11, 2019 · 1 comment

Comments

@abhi18av
Copy link

Hello everyone,

There are still some problems that I face wrt running this template ( this issue is derived from #528 )

I am using macOS and have installed postgres via homebrew - I have confirmed that all the dependencies are installed using the mentioned opam depext ocsigen-start command.

But when I try to initiate the database, I run across the following error

Abhinavs-MacBook-Pro:myproject eklavya$ make db-status
/usr/local/bin/pg_ctl -D local_db -l local_db/log status
pg_ctl: no server running
make: *** [db-status] Error 3

I have tried restarting the postgresql service

Abhinavs-MacBook-Pro:myproject eklavya$ brew services restart postgresql
Stopping `postgresql`... (might take a while)
==> Successfully stopped `postgresql` (label: homebrew.mxcl.postgresql)
==> Successfully started `postgresql` (label: homebrew.mxcl.postgresql)

But so far the problem persists.

@jrochel
Copy link

jrochel commented Jan 25, 2019

Did you run make db-start?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants