From 169456b7eb437f77437701d2caf14856b60b49d1 Mon Sep 17 00:00:00 2001 From: Jeffrey Smith II Date: Thu, 9 Feb 2023 10:57:18 -0500 Subject: [PATCH 1/2] Update influxdb setup instructions --- influxdb/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/influxdb/README.md b/influxdb/README.md index f422092c98de..10262e76301b 100644 --- a/influxdb/README.md +++ b/influxdb/README.md @@ -158,7 +158,8 @@ $ docker exec influxdb2 influx setup \ --username $USERNAME \ --password $PASSWORD \ --org $ORGANIZATION \ - --bucket $BUCKET + --bucket $BUCKET \ + --setup ``` Running setup from within the container will cause CLI configs to be written to `/etc/influxdb2/influx-configs`. You can then use the `influx` CLI from within the container to extract the generated admin token: From 9549607bc27f7211f95ff7e4af57dc8bd5dc3947 Mon Sep 17 00:00:00 2001 From: Jeffrey Smith II Date: Fri, 10 Feb 2023 08:37:52 -0500 Subject: [PATCH 2/2] Update influxdb setup instructions --- influxdb/README.md | 3 +-- influxdb/content.md | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/influxdb/README.md b/influxdb/README.md index 10262e76301b..f422092c98de 100644 --- a/influxdb/README.md +++ b/influxdb/README.md @@ -158,8 +158,7 @@ $ docker exec influxdb2 influx setup \ --username $USERNAME \ --password $PASSWORD \ --org $ORGANIZATION \ - --bucket $BUCKET \ - --setup + --bucket $BUCKET ``` Running setup from within the container will cause CLI configs to be written to `/etc/influxdb2/influx-configs`. You can then use the `influx` CLI from within the container to extract the generated admin token: diff --git a/influxdb/content.md b/influxdb/content.md index 83ebe353d489..58e1917eb41c 100644 --- a/influxdb/content.md +++ b/influxdb/content.md @@ -92,7 +92,8 @@ $ docker exec influxdb2 influx setup \ --username $USERNAME \ --password $PASSWORD \ --org $ORGANIZATION \ - --bucket $BUCKET + --bucket $BUCKET \ + --force ``` Running setup from within the container will cause CLI configs to be written to `/etc/influxdb2/influx-configs`. You can then use the `influx` CLI from within the container to extract the generated admin token: