You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "sfirke (via GitHub)" <gi...@apache.org> on 2025/09/05 18:44:57 UTC
[I] Deploying 6.0.0rc1 fails with DB problems psycopg2.errors.UndefinedTable: relation "themes" does not exist [superset]
sfirke opened a new issue, #35035:
URL: https://github.com/apache/superset/issues/35035
### Bug description
I'm coming from 4.1.3. When I deployed 6.0.0rc1 to my test environment and try to visit the application I get:
```
superset_app | 172.31.13.11:61783 - - [05/Sep/2025:18:40:37 +0000] "GET /superset/welcome/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0"
superset_app | 2025-09-05 18:40:37,859:WARNING:superset.views.error_handling:Exception
superset_app | Traceback (most recent call last):
superset_app | File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1910, in _execute_context
superset_app | self.dialect.do_execute(
superset_app | File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 736, in do_execute
superset_app | cursor.execute(statement, parameters)
superset_app | psycopg2.errors.UndefinedTable: relation "themes" does not exist
superset_app | LINE 2: FROM themes
```
I notice there was a migration failure, I wonder if this is related:
```
superset_init | 2025-09-05 18:38:11,777:ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "pg_type_typname_nsp_index"
superset_init | DETAIL: Key (typname, typnamespace)=(ab_group_id_seq, 2200) already exists.
```
### Screenshots/recordings
_No response_
### Superset version
master / latest-dev
### Python version
3.9
### Node version
I don't know
### Browser
Firefox
### Additional context
_No response_
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [ ] 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: 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
Re: [I] Deploying 6.0.0rc1 fails with DB problems psycopg2.errors.UndefinedTable: relation "themes" does not exist [superset]
Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke closed issue #35035: Deploying 6.0.0rc1 fails with DB problems psycopg2.errors.UndefinedTable: relation "themes" does not exist
URL: https://github.com/apache/superset/issues/35035
--
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
Re: [I] Deploying 6.0.0rc1 fails with DB problems psycopg2.errors.UndefinedTable: relation "themes" does not exist [superset]
Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #35035:
URL: https://github.com/apache/superset/issues/35035#issuecomment-3259405411
Oops I see this is a duplicate of https://github.com/apache/superset/issues/34403. I'll test rc2 when it comes out without this bug!
--
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