influxdata / influxdata/influxdb
Can not change storage path
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
-
I installed 2.6.0 in my centos 7.6
-
move /var/lib/influxdb to my new path: /myNewPath
-
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" -
start influxdb with:"systemctl start influxdb"
-
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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