bschreder opened a new issue, #38491: URL: https://github.com/apache/superset/issues/38491
### Bug description Execute `docker compose -f docker-compose-light.yml up --build` First issue: During the "Init Step 4/4 [Starting] -- Loading examples" superset-init-light-1 | 2026-03-07 19:39:39,685:WARNING:superset.commands.database.utils:Error processing catalog 'examples' superset-init-light-1 | return dialect.connect(*cargs, **cparams) superset-init-light-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ superset-init-light-1 | File "/app/.venv/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 598, in connect superset-init-light-1 | return self.dbapi.connect(*cargs, **cparams) superset-init-light-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ superset-init-light-1 | File "/app/.venv/lib/python3.11/site-packages/psycopg2/__init__.py", line 122, in connect superset-init-light-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync) superset-init-light-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ superset-init-light-1 | psycopg2.OperationalError: could not translate host name "db" to address: Name or service not known fails to load the example database. the issue is the compose file labels the db service as `db-light` and the environment variable for EXAMPLES_HOST and EXAMPLES_DB isn't set. The second issue: the examples user isn't created in the meta database. When trying to login as examples user, the login fails The fix is to provide the database on the psql command that creates the example user. ### Screenshots/recordings _No response_ ### Superset version master / latest-dev ### Python version 3.11 ### Node version 18 or greater ### Browser Chrome ### Additional context _No response_ ### Checklist - [x] I have searched Superset docs and Slack and didn't find a solution to my problem. - [x] I have searched the GitHub issue tracker and didn't find a similar bug report. - [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
