sdr-enthusiasts / gitbook-adsb-guide

Guide to aircraft tracking using ADS-B reception with SDR & docker containers. Published on GitBook.
https://sdr-enthusiasts.gitbook.io/ads-b/
Other
129 stars 54 forks source link

InfluxDB Config Error and Fix #86

Open sembeeuk opened 1 year ago

sembeeuk commented 1 year ago

After setting up the InfluxDB container, it wasn't starting. The error was:

"Error: failed to parse "1y": duration must be week(w), day(d), hour(h), min(m), sec(s), millisec(ms), microsec(us), or nanosec(ns)"

Changing the docker-compose.yml file in the environment section to

DOCKER_INFLUXDB_INIT_RETENTION=52w

Then doing

docker rm influx, then docker volume rm adsb_influxdb_data and docker volume rm adsb_influxdb_config

Resolved the problem.

Perhaps someone can replicate and confirm?