influxdata / influxdata/influxdb

Can not change storage path

Open
#24,002 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

  1. I installed 2.6.0 in my centos 7.6

  2. move /var/lib/influxdb to my new path: /myNewPath

  3. change config file of /etc/influxdb/config.toml :
    bolt-path="/myNewPath/influxdb/influxd.bolt"
    engin-path="/myNewPath/influxdb/engine"
    sqlite-path="/myNewPath/influxdb/influxd.sqlite"

  4. start influxdb with:"systemctl start influxdb"

  5. system report error when start influxdb

Is there any wrong of my operation?
How to change storage path?

I really need your help, thank you

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the systemd startup error for the InfluxDB 2.6.0 installation and compare it with the paths in /etc/influxdb/config.toml. Verify the documented configuration keys and expected directory layout; the work is done when the service starts successfully using /myNewPath and the existing data is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
centos
Domain
databases, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.