dosubot[bot] commented on issue #34284: URL: https://github.com/apache/superset/issues/34284#issuecomment-3109272818
<!-- 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> [](https://go.dosu.dev/discord-bot) [! [Share 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) -- 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]
