influxdata / influxdata/sandbox

Chronograf and Kapacitor not starting

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
490
Forks
252
PR merge metrics
No merged PRs in 30d

Description

Unfortunately I need do deploy a TICK stack with Influx in Version 1, because a client needs it.

After running ./sandbox up, the stack gets deployed but chronograf and kapacitor containers keep failing. This is what docker logs gives me:

`time="2025-02-20T15:30:25Z" level=error msg="Unable to create bolt clientUnable to open boltdb; is there a chronograf already running? open /var/lib/chronograf/chronograf-v1.db: permission denied"`

and

```
ts=2025-02-20T15:30:23.122Z lvl=info msg="kapacitor starting" service=run version=1.7.5 branch=HEAD commit=577ded2d9a65371b02bff0b6950ea147fa724b6c
ts=2025-02-20T15:30:23.122Z lvl=info msg="go version" service=run version=go1.21.10
ts=2025-02-20T15:30:23.137Z lvl=info msg="listing Kapacitor hostname" source=srv hostname=62702864291b
ts=2025-02-20T15:30:23.137Z lvl=error msg="encountered error" service=run err="create server: failed to save cluster ID: open /var/lib/kapacitor/cluster.id: permission denied"
run: create server: failed to save cluster ID: open /var/lib/kapacitor/cluster.id: permission denied
```

I've tried using different image versions of the two components, but I'm having the same issue.

Any help is appreciated.

Cheers

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.