Open jstirnaman opened 7 months ago
The error occurs from specifying -e INFLUXD_CONFIG_PATH="/etc/influxdb2-custom" \
I've also encountered this error, but at least in my case, after checking the entrypoint.sh script, I realized that I was providing a path to a directory containing the configuration file in the INFLUXD_CONFIG_PATH environment variable (/etc/influxdb2), where what is actually expected there is the full path to the config file (e.g. /etc/influxdb2/config.yaml).
The docs do say set it to a directory https://docs.influxdata.com/influxdb/v2/reference/config-options/#influxdb-configuration-file
To customize the directory path of the configuration file, set the INFLUXD_CONFIG_PATH environment variable to your custom path.
export INFLUXD_CONFIG_PATH=/path/to/custom/config/directory
A user reported the problem below in Community and I can consistently reproduce it.
Note: While trying to troubleshoot, I removed all config files and was then able to run a container that didn't throw the
dasel
errors, and did throw the expected "missing TLS cert file" error. But, then after breaking it again, I wasn't able to repeat my "fix" by making the same changes.Reproduced on my system.
OS: Mac OS X
In the following example,
$HOME/apps/influxdb-docker-files/data
and$HOME/apps/influxdb-docker-files/config
are empty directories: