Skip to content

Commit 165899b

Browse files
committed
style(explorer): improve upgrade warning clarity and formatting
Use semantic line feeds, replace bold text with heading in callouts, explain the root cause (root-owned volumes), and use standard callout syntax for the release notes upgrade notice.
1 parent a5a8401 commit 165899b

2 files changed

Lines changed: 28 additions & 15 deletions

File tree

content/influxdb3/explorer/install.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -214,23 +214,30 @@ docker-compose up -d
214214
> Without a mounted `./db` directory, application data is lost when the container is deleted.
215215
216216
> [!Warning]
217-
> **Upgrading from Explorer v1.6.x or earlier?**
217+
> #### Upgrade from Explorer v1.6.x or earlier
218218
>
219-
> Starting with v1.7.0, the Explorer container runs as a non-root user (`influxui`, uid 1500) for improved security. If you're upgrading from an older version with existing mounted volumes, you'll need to update file ownership.
219+
> Starting with v1.7.0, the Explorer container runs as a non-root user
220+
> (`influxui`, uid 1500) for improved security. Because earlier versions
221+
> ran as root, existing mounted volumes are owned by root — and the new
222+
> non-root process can't access them.
223+
>
224+
> If you start the upgraded container without updating file ownership,
225+
> it exits with the following error:
220226
>
221-
> When you start the upgraded container, you may see an error like:
222227
> ```
223228
> ERROR: Directory '/db' is owned by root and not accessible to the 'influxui' user.
224229
> ```
225230
>
226-
> To fix this, change ownership of your mounted directories to uid 1500:
231+
> To prevent or resolve this error, change ownership of your mounted
232+
> directories to uid 1500 before you start the container:
227233
>
228234
> ```bash
229235
> sudo chown -R 1500:1500 /path/to/your/db
230-
> sudo chown -R 1500:1500 /path/to/your/config # if using config volume
236+
> sudo chown -R 1500:1500 /path/to/your/config
231237
> ```
232238
>
233-
> After updating ownership, restart the container. Fresh installations are unaffected.
239+
> After you update ownership, restart the container.
240+
> Fresh installations are unaffected.
234241
235242
### Pre-configure InfluxDB connections
236243

content/influxdb3/explorer/release-notes/_index.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,24 @@ docker pull influxdata/influxdb3-ui
2222

2323
- **Container user change**: The Docker container now runs as non-root user `influxui` (uid 1500) instead of root for improved security.
2424

25-
**Action required for upgrades:** If you're upgrading from v1.6.x or earlier with mounted volumes (e.g., `/db`, `/app-root/config`), you must update file ownership before the container will start:
26-
27-
```bash
28-
sudo chown -R 1500:1500 /path/to/your/db
29-
sudo chown -R 1500:1500 /path/to/your/config
30-
```
31-
32-
The container will exit with a clear error message and instructions if it detects root-owned files. Fresh installations are unaffected.
25+
> [!Important]
26+
> #### Action required for upgrades
27+
>
28+
> If you're upgrading from v1.6.x or earlier with mounted volumes
29+
> (for example, `/db` or `/app-root/config`), update file ownership
30+
> before you start the container:
31+
>
32+
> ```bash
33+
> sudo chown -R 1500:1500 /path/to/your/db
34+
> sudo chown -R 1500:1500 /path/to/your/config
35+
> ```
36+
>
37+
> The container exits with an error message if it detects root-owned
38+
> files. Fresh installations are unaffected.
3339
3440
#### Features
3541
36-
- **Security**: Container now runs as non-root user (uid 1500) for improved security posture.
42+
- **Non-root container**: The container now runs as a non-root user (uid 1500) for improved security.
3743
3844
## v1.6.3 {date="2026-02-19"}
3945

0 commit comments

Comments
 (0)