From 4e53b0ab2fb3f3f704b0845178243d0c4275312e Mon Sep 17 00:00:00 2001 From: michaelbirnstiehl Date: Wed, 28 Apr 2021 14:09:51 -0500 Subject: [PATCH] DOCS remove references to 7.9 LTS --- .../src/pages/setup/install-server.md | 45 ------------------- .../sonar-docs/src/pages/setup/upgrading.md | 8 ++-- 2 files changed, 4 insertions(+), 49 deletions(-) diff --git a/server/sonar-docs/src/pages/setup/install-server.md b/server/sonar-docs/src/pages/setup/install-server.md index 73f0876a42a..9ea884d349a 100644 --- a/server/sonar-docs/src/pages/setup/install-server.md +++ b/server/sonar-docs/src/pages/setup/install-server.md @@ -173,10 +173,6 @@ wrapper.java.command=/path/to/my/jdk/bin/java ## Installing SonarQube from the Docker Image -See your SonarQube version below for instructions on installing the server from a Docker image. - -### SonarQube 8.2+ - Follow these steps for your first installation: 1. Creating the following volumes helps prevent the loss of information when updating to a new version or upgrading to a higher edition: @@ -271,47 +267,6 @@ If you're using [Docker Compose](https://docs.docker.com/compose/), use the foll | postgresql_data: | ``` -### SonarQube 7.9.x LTS - - Follow these steps for your first installation: - - 1. Create volumes `sonarqube_conf`, `sonarqube_data`, `sonarqube_logs`, and `sonarqube_extensions` and start the image with the following command. This will populate all the volumes (copying default plugins, create the Elasticsearch data folder, create the sonar.properties configuration file). Watch the logs, and, once the container is properly started, you can force-exit (ctrl+c) and proceed to the next step. - - ```console - $ docker run --rm \ - -p 9000:9000 \ - -v sonarqube_conf:/opt/sonarqube/conf \ - -v sonarqube_extensions:/opt/sonarqube/extensions \ - -v sonarqube_logs:/opt/sonarqube/logs \ - -v sonarqube_data:/opt/sonarqube/data \ - - ``` - -2. Configure sonar.properties if needed. Please note that due to [SONAR-12501](https://jira.sonarsource.com/browse/SONAR-12501), providing `sonar.jdbc.url`, `sonar.jdbc.username`, `sonar.jdbc.password` and `sonar.web.javaAdditionalOpts` in `sonar.properties` is not working, and you will need to explicitly define theses values in the docker run command with the `-e` flag. - - ```plain - #Example for PostgreSQL - -e sonar.jdbc.url=jdbc:postgresql://localhost/sonarqube - ``` - -[[info]] -| Drivers for supported databases (except Oracle) are already provided. Do not replace the provided drivers; they are the only ones supported. For Oracle, you need to copy the JDBC driver into `$SONARQUBE_HOME/extensions/jdbc-driver/oracle`. - -3. Run the image with your JDBC username and password : - - ```console - $ docker run -d --name sonarqube \ - -p 9000:9000 \ - -e sonar.jdbc.url=... \ - -e sonar.jdbc.username=... \ - -e sonar.jdbc.password=... \ - -v sonarqube_conf:/opt/sonarqube/conf \ - -v sonarqube_extensions:/opt/sonarqube/extensions \ - -v sonarqube_logs:/opt/sonarqube/logs \ - -v sonarqube_data:/opt/sonarqube/data \ - - ``` - ## Next Steps Once your server is installed and running, you may also want to [Install Plugins](/setup/install-plugin/). Then you're ready to begin [Analyzing Source Code](/analysis/overview/). diff --git a/server/sonar-docs/src/pages/setup/upgrading.md b/server/sonar-docs/src/pages/setup/upgrading.md index 622fd89d403..080b8045e64 100644 --- a/server/sonar-docs/src/pages/setup/upgrading.md +++ b/server/sonar-docs/src/pages/setup/upgrading.md @@ -25,9 +25,9 @@ Upgrading across multiple non-LTS versions is handled automatically. However, if **Migration Path Examples**: -**Example 1** – From 6.1 > 8.1, the migration path is 6.1 > the latest 6.7 LTS patch > the latest 7.9 LTS patch > 8.1 -**Example 2** – From 7.2 > 7.9 LTS, the migration path is 7.2 > the latest 7.9 LTS patch. -**Example 3** – From 5.6.3 LTS > 7.9 LTS, the migration path is 5.6.3 LTS > 6.7.7 LTS > the latest 7.9 LTS patch. +**Example 1** – From 7.1 > 8.1, the migration path is 7.1 > 7.9.6 LTS > 8.1 +**Example 2** – From 8.2 > 8.9 LTS, the migration path is 8.2 > the latest 8.9 LTS patch. +**Example 3** – From 6.7.7 LTS > 8.9 LTS, the migration path is 6.7.7 LTS > 7.9.6 LTS > the latest 8.9 LTS patch. ## Upgrade Guide @@ -79,7 +79,7 @@ To upgrade SonarQube using the Docker image: 4. Reanalyze your projects to get fresh data. -#### **From 7.9.x LTS to another 7.9.x LTS** +#### **From 8.9.x LTS to another 8.9.x LTS** No specific Docker operations are needed, just use the new tag. -- 2.39.5