Skip to content

Commit b0cdfd0

Browse files
jstirnamanblegesse-w
authored andcommitted
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 3bfa7f7 commit b0cdfd0

2 files changed

Lines changed: 41 additions & 9 deletions

File tree

content/influxdb3/explorer/install.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,32 @@ docker-compose up -d
213213
> [!Important]
214214
> Without a mounted `./db` directory, application data is lost when the container is deleted.
215215
216+
> [!Warning]
217+
> #### Upgrade from Explorer v1.6.x or earlier
218+
>
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:
226+
>
227+
> ```
228+
> ERROR: Directory '/db' is owned by root and not accessible to the 'influxui' user.
229+
> ```
230+
>
231+
> To prevent or resolve this error, change ownership of your mounted
232+
> directories to uid 1500 before you start the container:
233+
>
234+
> ```bash
235+
> sudo chown -R 1500:1500 /path/to/your/db
236+
> sudo chown -R 1500:1500 /path/to/your/config
237+
> ```
238+
>
239+
> After you update ownership, restart the container.
240+
> Fresh installations are unaffected.
241+
216242
### Pre-configure InfluxDB connections
217243
218244
Instead of configuring connections through the UI, you can pre-define connection settings using a `config.json` file. This is useful for:

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

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,20 @@ 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
@@ -41,7 +47,7 @@ docker pull influxdata/influxdb3-ui
4147
- **Line protocol validation**: Get clearer, inline validation when writing data with line protocol.
4248
- **TLS certificate management**: Generate and renew short-lived TLS certificates for IP-based deployments.
4349
- **Storage type display**: View the configured storage type for your InfluxDB instance in the metrics UI.
44-
- **Security**: Container now runs as non-root user (uid 1500) for improved security posture.
50+
- **Non-root container**: The container now runs as a non-root user (uid 1500) for improved security.
4551
4652
#### Bug fixes
4753

0 commit comments

Comments
 (0)