From 3d8709e8d39df372441bbe2d66818b08e88c5a6f Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Wed, 4 Dec 2024 16:22:05 -0600 Subject: [PATCH] fix: link syntax typos, skip tests --- .../cloud-dedicated/admin/databases/create.md | 4 +-- .../upgrade/v1-to-v2/automatic-upgrade.md | 28 +++++++++++++------ 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/content/influxdb/cloud-dedicated/admin/databases/create.md b/content/influxdb/cloud-dedicated/admin/databases/create.md index 7ca86519e..b0e2e9e5d 100644 --- a/content/influxdb/cloud-dedicated/admin/databases/create.md +++ b/content/influxdb/cloud-dedicated/admin/databases/create.md @@ -128,7 +128,7 @@ influxctl database create \ Replace the following in your command: - {{% code-placeholder-key %}}`DATABASE_NAME`{{% /code-placeholder-key %}}: your {{% product-name %}} [database](/influxdb/cloud-dedicated/admin/databases/) -- {{% code-placeholder-key %}}`TAG_KEY_1`, `TAG_KEY_2`, `TAG_KEY_3`, and `TAG_KEY_4`{{% /code-placeholder-key %}}: [tag]((/influxdb/cloud-dedicated/reference/glossary/#tag)) keys from your data +- {{% code-placeholder-key %}}`TAG_KEY_1`, `TAG_KEY_2`, `TAG_KEY_3`, and `TAG_KEY_4`{{% /code-placeholder-key %}}: [tag](/influxdb/cloud-dedicated/reference/glossary/#tag) keys from your data ## Database attributes @@ -294,7 +294,7 @@ Replace the following in your request: - {{% code-placeholder-key %}}`CLUSTER_ID`{{% /code-placeholder-key %}}: the ID of the {{% product-name %}} [cluster](/influxdb/cloud-dedicated/get-started/setup/#request-an-influxdb-cloud-dedicated-cluster) to create the database for - {{% code-placeholder-key %}}`MANAGEMENT TOKEN`{{% /code-placeholder-key %}}: a [management token](/influxdb/cloud-dedicated/admin/tokens/management/) for your {{% product-name %}} cluster - {{% code-placeholder-key %}}`DATABASE_NAME`{{% /code-placeholder-key %}}: your {{% product-name %}} [database](/influxdb/cloud-dedicated/admin/databases/) -- {{% code-placeholder-key %}}`TAG_KEY_1`, `TAG_KEY_2`, `TAG_KEY_3`, and `TAG_KEY_4`{{% /code-placeholder-key %}}: [tag]((/influxdb/cloud-dedicated/reference/glossary/#tag)) keys from your data +- {{% code-placeholder-key %}}`TAG_KEY_1`, `TAG_KEY_2`, `TAG_KEY_3`, and `TAG_KEY_4`{{% /code-placeholder-key %}}: [tag](/influxdb/cloud-dedicated/reference/glossary/#tag) keys from your data ## Database attributes diff --git a/content/influxdb/v2/install/upgrade/v1-to-v2/automatic-upgrade.md b/content/influxdb/v2/install/upgrade/v1-to-v2/automatic-upgrade.md index 14df1c5e0..6dc3fea9b 100644 --- a/content/influxdb/v2/install/upgrade/v1-to-v2/automatic-upgrade.md +++ b/content/influxdb/v2/install/upgrade/v1-to-v2/automatic-upgrade.md @@ -18,7 +18,7 @@ related: --- Use the `influxd upgrade` command to upgrade InfluxDB 1.x to InfluxDB {{< current-version >}}. -The [`influxd upgrade`]((/influxdb/v2/reference/cli/influxd/upgrade/)) command is +The [`influxd upgrade`](/influxdb/v2/reference/cli/influxd/upgrade/) command is part of the **v2 `influxd` service** and provides an in-place upgrade from InfluxDB 1.x to InfluxDB {{< current-version >}}. @@ -148,7 +148,9 @@ If using an admin user for visualization or Chronograf administrative functions, **create a new read-only user before upgrading**: ##### Create a read-only 1.x user -```sh + + +```bash > CREATE USER WITH PASSWORD '' > GRANT READ ON TO "" ``` @@ -230,7 +232,8 @@ and are ready to proceed, follow these steps to upgrade your InfluxDB 1.x to Inf 2. Stop your running InfluxDB 1.x instance. Make a backup copy of all 1.x data before upgrading: - ```sh + + ```bash cp -R .influxdb/ .influxdb_bak/ ``` @@ -239,7 +242,10 @@ and are ready to proceed, follow these steps to upgrade your InfluxDB 1.x to Inf 4. If your 1.x configuration file is at the [default location](/influxdb/v1/administration/config/#using-the-configuration-file), run: - ```sh + + + + ```bash influxd upgrade ``` @@ -251,7 +257,9 @@ When installed from a `.deb` package, InfluxDB 1.x and 2.x run under the `influx If you've installed both versions from `.deb` packages, run the upgrade command as the `influxdb` user: -```sh + + +```bash sudo -u influxdb influxd upgrade ``` @@ -259,18 +267,22 @@ sudo -u influxdb influxd upgrade If your 1.x configuration file is not at the default location, run: - ```sh + + + ```bash influxd upgrade --config-file ``` To store the upgraded {{< current-version >}} configuration file in a custom location, include the `--v2-config-path` flag: - ```sh + + + ```bash influxd upgrade --v2-config-path ``` -5. Follow the prompts to set up a new InfluxDB {{< current-version >}} instance. +1. Follow the prompts to set up a new InfluxDB {{< current-version >}} instance. ``` Welcome to InfluxDB {{< current-version >}} upgrade!