You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/12/09 00:13:45 UTC
[GitHub] [superset] nagarajmmu opened a new issue, #22375: ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
nagarajmmu opened a new issue, #22375:
URL: https://github.com/apache/superset/issues/22375
Hi Team
I have installed a superset latest version using Docker in Linux (Centos) machine.
When I tried to run superset by below docker command, it worked fine, and I am able to login to superset
--docker-compose -f docker-compose-non-dev.yml up
But when I tried to run the below docker command, it gave me ERROR: flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
--docker-compose -f docker-compose.yml up
#### How to reproduce the bug
1. download the superset from git URL: https://github.com/apache/superset.git
2. run commandto run superset: docker-compose -f docker-compose.yml up
3. in log, I am able to see error: DB Creation and initialization failed: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
4. also this keep repeating in log.
### Expected results
Superset should up and running and user should be able to login.
#### Screenshots

### Environment
superset version: 0.0.0-dev (Latest)
python version: 3.8
Please let me know, how to resolve this issue.
Thanks
Nagaraj M M
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] rusackas closed issue #22375: ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
Posted by GitBox <gi...@apache.org>.
rusackas closed issue #22375: ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
URL: https://github.com/apache/superset/issues/22375
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] nagarajmmu commented on issue #22375: ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
Posted by GitBox <gi...@apache.org>.
nagarajmmu commented on issue #22375:
URL: https://github.com/apache/superset/issues/22375#issuecomment-1347112904
Hi AIl
This issue resolved automatically, when I install Superset in Ubuntu machine and run Superset with below command.
_docker-compose -f docker-compose.yml up_
It will take long time to setup, around one hour or more, but work successfully.
Thanks
Nagaraj M M
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] rusackas commented on issue #22375: ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
Posted by GitBox <gi...@apache.org>.
rusackas commented on issue #22375:
URL: https://github.com/apache/superset/issues/22375#issuecomment-1347550316
Closing since this appears to be resolved! Thanks for following up with the explanation of _how_ you resolved it, as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org