You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs specify that installing from .deb package installs in /var/lib/influxdb/.... However, on my server, things are in /var/lib/influxdb/.influxdbv2.
I installed by upgrading from InfluxDB v1. This might be due to me screwing something up while upgrading.
Steps to reproduce:
Install InfluxDB v1 .deb.
Run InfluxDB v1.
Install InfluxDB v2 .deb.
Migrate.
Expected behaviour:
Stuff in /var/lib/influxdb/... as shown in the docs.
Actual behaviour:
Stuff in /var/lib/influxdb/.influxdbv2... as if running standalone, sort of.
AFAIU, the systemd file points to the default config file location in /etc/influxdb/ but since that file is missing influxd defaults to standalone location.
It is not that bad, I mean it works, but it is kind of surprising. I had to search for my data. And since it is non-standard and works due to a default behaviour on a missing config file, I'm worried this might catch me some day in a later upgrade.
The text was updated successfully, but these errors were encountered:
The docs specify that installing from .deb package installs in
/var/lib/influxdb/...
. However, on my server, things are in/var/lib/influxdb/.influxdbv2
.I installed by upgrading from InfluxDB v1. This might be due to me screwing something up while upgrading.
Steps to reproduce:
Install InfluxDB v1 .deb.
Run InfluxDB v1.
Install InfluxDB v2 .deb.
Migrate.
Expected behaviour:
Stuff in
/var/lib/influxdb/...
as shown in the docs.Actual behaviour:
Stuff in
/var/lib/influxdb/.influxdbv2...
as if running standalone, sort of./etc/systemd/system/influxd.service
EnvironmentFile=-/etc/default/influxdb2
/etc/default/influxdb2
INFLUXD_CONFIG_PATH=/etc/influxdb/config.toml
/etc/influxdb/config.toml does not exist
/etc/influxdb/influxdb.conf still there
/var/lib/influxdb/.influxdbv2
configs
config.toml
engine/
influxd.bolt
influxd.sqlite
/var/lib/influxdb/.influxdbv2/config.toml
bolt-path = "/var/lib/influxdb/.influxdbv2/influxd.bolt"
engine-path = "/var/lib/influxdb/.influxdbv2/engine"
http-bind-address = "localhost:8086"
storage-series-id-set-cache-size = 100
Environment info:
Linux 5.10.0-26-cloud-amd64 x86_64
AFAIU, the systemd file points to the default config file location in /etc/influxdb/ but since that file is missing influxd defaults to standalone location.
It is not that bad, I mean it works, but it is kind of surprising. I had to search for my data. And since it is non-standard and works due to a default behaviour on a missing config file, I'm worried this might catch me some day in a later upgrade.
The text was updated successfully, but these errors were encountered: