Skip to content

Commit a5a8401

Browse files
committed
chore: upgrade guidance for non-root container change
1 parent 5ab8234 commit a5a8401

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

content/influxdb3/explorer/install.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,25 @@ 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+
> **Upgrading from Explorer v1.6.x or earlier?**
218+
>
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.
220+
>
221+
> When you start the upgraded container, you may see an error like:
222+
> ```
223+
> ERROR: Directory '/db' is owned by root and not accessible to the 'influxui' user.
224+
> ```
225+
>
226+
> To fix this, change ownership of your mounted directories to uid 1500:
227+
>
228+
> ```bash
229+
> sudo chown -R 1500:1500 /path/to/your/db
230+
> sudo chown -R 1500:1500 /path/to/your/config # if using config volume
231+
> ```
232+
>
233+
> After updating ownership, restart the container. Fresh installations are unaffected.
234+
216235
### Pre-configure InfluxDB connections
217236
218237
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: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,25 @@ To upgrade, pull the latest Docker image:
1616
docker pull influxdata/influxdb3-ui
1717
```
1818

19+
## v1.7.0 {date="2026-04-02"}
20+
21+
#### Breaking changes
22+
23+
- **Container user change**: The Docker container now runs as non-root user `influxui` (uid 1500) instead of root for improved security.
24+
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.
33+
34+
#### Features
35+
36+
- **Security**: Container now runs as non-root user (uid 1500) for improved security posture.
37+
1938
## v1.6.3 {date="2026-02-19"}
2039

2140
#### Features

0 commit comments

Comments
 (0)