-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Docker installation error due to existing local Postgres instance on Port 5432 #7800
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
You changed the port that Postgres maps to outside of the container in the postgres container block, but in your superset container block, you are still referencing the old port when setting EDIT: I actually ran into a similar problem and tried this but still ran into problems. I manually went into the |
Just confirmed. If I were to redo this, I would:
|
You shoud find the PID of the process with the local address that you are looking for.
Then, it remains to kill the process.
It's possible to not work without an administrative command prompt. |
Hi - I'm running into this issue as well, not sure if I'm doing something totally insane. I'm trying to follow the instructions for setting up superset with some sample data using the steps provided in the tutorial. I locally installed postgres and have gotten all the weather data loaded per this. When I try running docker-compose up I get errors from superset saying the port is in use. I tried running @raman325 's steps, but still seem to have an issue. To confirm that I'm running the steps correctly:
What I'm seeing now is new errors from docker saying that it can't connect at the docker IP address for the new port. Is that something else that needs to be configured? |
For step 2, you need to use 5344 for the second number/port too. The second port is the container port, and by changing postgresql.conf, you've changed the port that postgres is listening to within the container. The POSTGRES PORT in the superset block should be the same port as the first number, as that is the one exposed to the world (e.g. outside the container) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
Trying to do what @jnthnvctr is doing:
The only change I made:
I am running superset version 0.38.0, and btw there is no more |
A clear and concise description of what the bug is.
Expected results
I followed directions to install via
docker
here: https://superset.incubator.apache.org/installation.html#start-with-dockerActual results
I got the following error:
I have a local instance of
postgres
running that supports aairflow
deployment. Thus, when I runsudo lsof -i :5432
, I get the following output:I updated my
docker-compose.yml
file to this (per these instructions: https://stackoverflow.com/questions/55115080/how-to-specify-different-port-for-a-docker-postgres-instance):But I am still getting an error when I run
docker-compose run --rm superset ./docker-init.sh
What am I doing wrong?
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug
See above.
Environment
(please complete the following information): N/A for installation
superset version
python --version
node -v
npm -v
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: