OH3.2 + Influxdb + Historic State No Longer Working

I upgraded from OH3 3.0.x to the latest snapshot (3.2.0-SNAPSHOT (#2458)) and now my historicState rules no longer work for all Items:

rule "vTest historic data"
when
	Item vTest changed
then
	logInfo("vTest", "Value:"+vTest.historicState(now.minusSeconds(5)).state)
end

Returns the following error:

2021-07-28 07:48:09.342 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘Development_and_Testing-1’ failed: error parsing query: found :, expected FROM at line 1, char 15 in Development_and_Testing

If i change the item from vTest (testing Item) to any other item i continue to get the same error. This only started happening when upgrading from 3.0 to 3.2.x (and i just did an upgrade to the latest snapshot today).

Any ideas on why this is happening and/or how to fix it?

I upgraded my InfluxDB to the latest version 2.0 and that fixed it. Just leaving this up incase other people run into the same problem

Which influxdb version were you running? If it was 1.8.7 then there is a known, easy to fix bug which prevents influxdb to run on Debian-based systems (e.g. openHABian):

It was quite old. Version 0.12