Can't get InfluxDB Persistance on OH3

Well, got it working. Going thru the steps listed in: InfluxDB+Grafana persistence and graphing a couple things got me

  1. In editing the [http] section of /etc/influxdb/influxdb.conf, the heading [http] was commented out. This comment needed to be removed.
  2. influxdb.cfg needs to have a username and password setup (per the OH docs, this must be new in OH3, as I ran previously without it). This user needs to be setup in the Influx DB
  3. I enabled log:set DEBUG org.openhab.persistence.influxdb, and restarted OH. In the logs, I noticed user auth errors. Looks like dummy me forgot a pretty important step in granting the DB openhab user write privileges. Just needed to run this in the Influx CLI:
GRANT ALL ON openhab_db TO openhab

Restart OH, and was good to go. I sure made this a lot harder than it needed to be!