GitHub user dosubot[bot] added a comment to the discussion: docker compose 
failed

<!-- Greeting -->
Hi @Kkkassini! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the 
superset team.

<!-- Answer -->
The error `Can't locate revision identified by '363a9b1e8992'` usually means 
your database expects a migration that isn't present in your current codebase. 
This often happens if you have leftover Docker volumes from a previous Superset 
or PostgreSQL version, or if the migration history changed recently in the 
master branch (which is common in active development).

To fix this, remove your old Docker volumes so a fresh, compatible database is 
initialized:

```sh
docker compose -f docker-compose-image-tag.yml down -v
docker compose -f docker-compose-image-tag.yml up
```

This approach has resolved similar issues for others using the latest Superset 
with Docker Compose, especially after recent migration changes or PostgreSQL 
upgrades. For more details, see [this 
discussion](https://github.com/apache/superset/issues/33823).

If you cloned the repo with `--depth=1`, make sure to fetch all tags with `git 
fetch --tags` before checking out a specific tag, though this is less likely to 
be the cause here.

If you continue to see the error, double-check that your codebase and Docker 
image are both up to date and from the same branch/tag, and that all migration 
scripts are present in `superset/migrations/versions/`.


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/20e174f0-9dc5-49d3-ae66-b4d1dfb442f5?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/20e174f0-9dc5-49d3-ae66-b4d1dfb442f5?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/20e174f0-9dc5-49d3-ae66-b4d1dfb442f5?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/20e174f0-9dc5-49d3-ae66-b4d1dfb442f5?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/20e174f0-9dc5-49d3-ae66-b4d1dfb442f5?feedback_type=hallucination)
 | [Report 
šŸ›](https://app.dosu.dev/response-feedback/20e174f0-9dc5-49d3-ae66-b4d1dfb442f5?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/20e174f0-9dc5-49d3-ae66-b4d1dfb442f5?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Sh
 are on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34284)

GitHub link: 
https://github.com/apache/superset/discussions/34287#discussioncomment-13866596

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to