Having trouble with PostreSQL when starting my app?

Hey,
I’ve just added a database to my app and now it won’t start when I do encore run.
I realize I need to have Docker running, which I have, but I’m getting this:
Error: Creating PostgreSQL database cluster Failed

Any tips?

1 Like

Hey Ziggy,

This seems like a Docker related issue.
Try these steps and see if it helps – you can also read more in the Troubleshooting section in the Database documentation:

  • Check if you have permission to access Docker by running docker images.
  • Set the correct permissions with sudo usermod -aG docker $USER (Learn more in the Docker documentation)
  • Then log out and log back in so that your group membership is refreshed.

That did it – thanks for the super quick response!

Glad it worked, have fun building!