Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfluxDB Config Error and Fix #86

Open
sembeeuk opened this issue Feb 23, 2023 · 0 comments
Open

InfluxDB Config Error and Fix #86

sembeeuk opened this issue Feb 23, 2023 · 0 comments
Assignees

Comments

@sembeeuk
Copy link

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?

@mikenye mikenye self-assigned this Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants