bharath0208 opened a new issue #9113: The environment variable POSTGRES_HOST was missing !!! URL: https://github.com/apache/incubator-superset/issues/9113 Unable to get login web page when using docker-compose up. <img width="718" alt="Screen Shot 2020-02-10 at 5 44 04 PM" src="https://user-images.githubusercontent.com/44377322/74197260-20750280-4c2d-11ea-9b60-505333fa273d.png"> OSError: [The environment variable POSTGRES_HOST was missing,]([url](url)) abort... superset_1 | ERROR:root:Found but failed to import local superset_config superset_1 | Traceback (most recent call last): superset_1 | File "/app/pythonpath/superset_config.py", line 48, in get_env_variable superset_1 | return os.environ[var_name] superset_1 | File "/usr/local/lib/python3.6/os.py", line 669, in __getitem__ superset_1 | raise KeyError(key) from None superset_1 | KeyError: 'POSTGRES_HOST' superset_1 | superset_1 | During handling of the above exception, another exception occurred: superset_1 | superset_1 | Traceback (most recent call last): superset_1 | File "/app/superset/config.py", line 758, in <module> superset_1 | from superset_config import * # pylint: disable=import-error,wildcard-import,unused-wildcard-import superset_1 | File "/app/pythonpath/superset_config.py", line 61, in <module> superset_1 | POSTGRES_HOST = get_env_variable("POSTGRES_HOST") superset_1 | File "/app/pythonpath/superset_config.py", line 56, in get_env_variable superset_1 | raise EnvironmentError(error_msg) superset_1 | OSError: The environment variable POSTGRES_HOST was missing, abort... superset_1 | ERROR:superset.app:Failed to create app superset_1 | Traceback (most recent call last): superset_1 | File "/app/pythonpath/superset_config.py", line 48, in get_env_variable superset_1 | return os.environ[var_name] superset_1 | File "/usr/local/lib/python3.6/os.py", line 669, in __getitem__ superset_1 | raise KeyError(key) from None superset-worker_1 | ERROR:root:Found but failed to import local superset_config superset-worker_1 | Traceback (most recent call last): superset-worker_1 | File "/app/pythonpath/superset_config.py", line 48, in get_env_variable superset-worker_1 | return os.environ[var_name] superset-worker_1 | File "/usr/local/lib/python3.6/os.py", line 669, in __getitem__ superset-worker_1 | raise KeyError(key) from None superset-worker_1 | KeyError: 'POSTGRES_HOST' superset-worker_1 | superset-worker_1 | During handling of the above exception, another exception occurred: superset-worker_1 | superset-worker_1 | Traceback (most recent call last): superset-worker_1 | File "/app/superset/config.py", line 758, in <module> superset-worker_1 | from superset_config import * # pylint: disable=import-error,wildcard-import,unused-wildcard-import superset-worker_1 | File "/app/pythonpath/superset_config.py", line 61, in <module> superset-worker_1 | POSTGRES_HOST = get_env_variable("POSTGRES_HOST") superset-worker_1 | File "/app/pythonpath/superset_config.py", line 56, in get_env_variable superset-worker_1 | raise EnvironmentError(error_msg)
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
