puppetlabs / influxdb

2 stars 22 forks source link

Command "print-config" is deprecated in influxd-systemd-start.sh #38

Open trenta opened 2 years ago

trenta commented 2 years ago

Describe the Bug

IinfluxDB fails to start due to Command "print-config" is deprecated breaking the influxd-systemd-start.sh start script

Steps to Reproduce

Command is deprecated in InfluxDB 2.2 and removed in 2.3.

Running influxd --bolt-path=/var/lib/influxdb/influxd.bolt --engine-path=/var/lib/influxdb/engine works fine

Environment

m0dular commented 2 years ago

Thanks! This should be fixed for Ubuntu in #37 because we will install from the repository, but we'll still need a fix for this for installing from archive. I think we should also make the startup script configurable via a parameter in case people want to modify it or use their own.

trenta commented 2 years ago

The startup script configurable is a good idea. Less work than putting a bunch of variable in the script itself :)