I have a small home monitoring setup using InfluxDB, Grafana, Telegraf and various little scripts etc. Despite running on a humble Raspberry Pi (3+), it works (or worked) really well…
Recently, I foolishly increased the retention period from 15 days to 365 days. Initially, everything was fine, but now (a few months later), InfluxDB won’t start properly.
Running influxd manually in order to see more info, it spends ~5-10 minutes attempting to start, then crashes with a fatal out-of-memory error.
I’d like some advice on how I can get up and running again please. I can’t amend the retention period back again and/or delete data using queries, of course (as influx won’t start)… so I suspect I’ll need to delete the DB at filesystem level and just start again from scratch?