# Updating

To update your Data Center Edition to a newer version:

1. [Determining the update path](/sonarqube-server/2025.5/server-update-and-maintenance/update/determine-path.md).
2. Read the [Release notes](/sonarqube-server/2025.5/server-update-and-maintenance/release-notes.md) between the SonarQube Server versions.
3. Back up the SonarQube Server database.
4. [Starting and stopping cluster](/sonarqube-server/2025.5/server-installation/data-center-edition/starting-stopping-cluster.md).
5. Update each application and search node as follows (do not trigger the setup phase):
   * [Pre-update steps](/sonarqube-server/2025.5/server-update-and-maintenance/update/pre-update-steps.md).
   * [Performing the update](/sonarqube-server/2025.5/server-update-and-maintenance/update/update.md).
   * [Post-update steps](/sonarqube-server/2025.5/server-update-and-maintenance/update/post-update-steps.md).
6. Once all nodes have the same binaries, restart the cluster. See [Starting and stopping cluster](/sonarqube-server/2025.5/server-installation/data-center-edition/starting-stopping-cluster.md) for more information.
7. At this point, only one of the application nodes is up and waiting for the /setup endpoint to be accessed. Try to access `node_ip:port/setup` on each application node, and trigger the setup operation on the one that responds.

## Related pages <a href="#related-pages" id="related-pages"></a>

* [DCE topology](/sonarqube-server/2025.5/server-installation/data-center-edition/dce-topology.md)
* [Starting and stopping cluster](/sonarqube-server/2025.5/server-installation/data-center-edition/starting-stopping-cluster.md)
* [Monitoring](/sonarqube-server/2025.5/server-update-and-maintenance/data-center-edition/monitoring.md) your cluster
* [Improving performance](/sonarqube-server/2025.5/server-update-and-maintenance/data-center-edition/improving-performance.md) of your cluster
* [Scaling](/sonarqube-server/2025.5/server-update-and-maintenance/data-center-edition/scaling.md) your cluster


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/2025.5/server-update-and-maintenance/data-center-edition/updating.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
