-
Notifications
You must be signed in to change notification settings - Fork 3k
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
The setup fails #335
Comments
Don't know if this is helpful, but I fixed this by starting the PostgreSQL service with brew: brew services start postgresql |
Thanks @SiboVG, but I don't want to have Postgres install on my machine, this is why ww use Devcontainers. |
@ItsRyanWu this isn't really related to maybe. Here the issue seems to be that there is no postgres user in your postgresql installed by brew. You will have to fix the connection string from rails to use existing users that your setup has. host: <%= ENV.fetch("DB_HOST") { "127.0.0.1" } %>
password: <%= ENV.fetch("POSTGRES_PASSWORD") { nil } %>
user: <%= ENV.fetch("POSTGRES_USER") { nil } %> defining the correct values in the .env file for Is this still an issue for you @pmareke because I started it with devcontainers about 10 hours ago and had no issue with postgresql connection issues. |
The problem is fixed now with the PR, thanks! |
Something has changed in the last commits (this morning it workings as expected) and right now the setup fails (the devcontainers are up and running):
Related with this another PR
The text was updated successfully, but these errors were encountered: