dosubot[bot] commented on issue #34622: URL: https://github.com/apache/superset/issues/34622#issuecomment-3168358671
<!-- Greeting --> Hi @aklein-1s! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> Your error is a known migration issue in Superset 5.0.0: the database expects a migration revision (`74ad1125881c`) that was present in earlier release candidates but removed in the final release. This usually happens if there are leftover Docker volumes from a previous install or if the migration history changed. The most reliable fix is to remove your old Docker volumes and start fresh: ```sh docker compose down -v docker compose up ``` This will reset the metadata database and allow migrations to run cleanly. If you need to preserve your data, back up your metadata database before running these commands. If you still see the missing revision error, you can manually fix the migration state by running: ```sh docker compose run --rm superset superset db downgrade 74ad1125881c docker compose run --rm superset superset db upgrade docker compose run --rm superset superset init ``` The `SUPERSET_APP_ROOT` variable only affects URL generation (like OAuth login links) and is not related to migration failures, but make sure it is set correctly for your deployment path [details](https://github.com/apache/superset/issues/34552). If the problem persists, double-check that your Docker images and code are from the same version/tag and that all migration scripts are present in `superset/migrations/versions/` [reference](https://github.com/apache/superset/discussions/34579) [reference](https://github.com/apache/superset/issues/34284) [reference](https://github.com/apache/superset/discussions/34287). <!-- 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/9c3c6cfd-68d7-42f0-8ac7-d202352341c7?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/9c3c6cfd-68d7-42f0-8ac7-d202352341c7?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/9c3c6cfd-68d7-42f0-8ac7-d202352341c7?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/9c3c6cfd-68d7-42f0-8ac7-d202352341c7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/9c3c6cfd-68d7-42f0-8ac7-d202352341c7?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/9c3c6cfd-68d7-42f0-8ac7-d202352341c7?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/9c3c6cfd-68d7-42f0-8ac7-d202352341c7?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34622) -- 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]
