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

Postgres Socket "Bad Address" #126

Open
Retr0astic opened this issue Oct 20, 2024 · 3 comments
Open

Postgres Socket "Bad Address" #126

Retr0astic opened this issue Oct 20, 2024 · 3 comments

Comments

@Retr0astic
Copy link

Hi,
The latest version, version 1.4.2 gives me "nc: bad address '/var/run/postgresql'" on container start, only this version has this error on the stable branch.

I connect to postgres through socket.

@cioraneanu
Copy link
Owner

Hi :)

/var/run/postgres sounds like a path inside the postgres container and not firefly-pico.
Can you share more logs about the error?

@Retr0astic
Copy link
Author

/var/run/postgres is the path I've mounted my postgres socket file into the pico container so pico can access it, it has worked on all other versions so far.

I can show the logs but all they contain is

"nc: bad address '/var/run/postgresql'
trying again in 10s"

@Retr0astic
Copy link
Author

Also, downgrading to 1.4.1 lets pico connect to my db

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

No branches or pull requests

2 participants