influxdata / influxdata/influx-cli

Error: read /etc/influxdb2: is a directory

Open
#560 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
75
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Thank you for this project
I have influxdb running in a container on a synology nas.
I would like to backup its data.
But if I run the influx- command inside the container, I get a response
`Error: read /etc/influxdb2: is a directory`
Which is true. Inside /etc/influxdb2 there is a file config.json.

Even running 'influx server-config' gives the same error.

What am I missing?
Thank you.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the error inside the container with the `influx` command and `influx server-config`, then inspect how `/etc/influxdb2` and its `config.json` are handled. Clarify the intended configuration path and backup-related behavior before changing anything; done should include a command that no longer fails because the directory is read as a file.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.