GitHub user dosubot[bot] added a comment to the discussion: Version upgrade
<!-- Greeting --> Hello @Hack-chethan-hack! I'm [Dosu](https://dosu.dev), your friendly bot here to help you solve bugs, answer questions, and become a contributor. While you're waiting for a human maintainer, feel free to ask me anything! <!-- Answer --> To upgrade your cloned Apache Superset repository to match the latest release while minimizing conflicts, follow these steps: 1. **Docker Compose Method:** - Shut down the running containers: ```bash docker compose down ``` - Update your cloned repository to match the latest release: ```bash git pull origin master ``` - Restart the containers, which will automatically pull down any changed Docker images: ```bash docker compose up ``` 2. **Manual Update Method:** - Upgrade Superset in a native installation: ```bash pip install apache_superset --upgrade ``` 3. **Upgrade the Metadata Database:** - Migrate the metadata database: ```bash superset db upgrade superset init ``` 4. **Pod-based Infrastructure:** - If you are using a pod-based infrastructure, deploy the new Superset image. - Run the following commands inside the Superset pod: ```bash superset db upgrade superset init ``` For future upgrades, ensure you backup your metadata database before proceeding and consider testing the upgrade in a staging environment before applying it to production during off-peak hours <sup>[[1]](https://github.com/apache/superset/blob/master/docs/docs/installation/upgrading-superset.mdx)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/44df34c5-021c-4df7-b627-91cd54fa1347?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/44df34c5-021c-4df7-b627-91cd54fa1347?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/44df34c5-021c-4df7-b627-91cd54fa1347?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/44df34c5-021c-4df7-b627-91cd54fa1347?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/44df34c5-021c-4df7-b627-91cd54fa1347?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/44df34c5-021c-4df7-b627-91cd54fa1347?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/44df34c5-021c-4df7-b627-91cd54fa1347?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/33461#discussioncomment-13166755 ---- 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]
