I ran the migration script and it worked fine, but it set all the influxdb version to -1.
I looked at the code and found: chirpstack-v3-to-v4/main.go at baa0e65aef491fc706a3fd2fff4b1be2450e7339 · chirpstack/chirpstack-v3-to-v4 · GitHub
out["InfluxDb"] = CSInfluxDBConfiguration{
Endpoint: as.Endpoint,
Version: as.Version - 1,
....
So I assume this is on purpose set to as.Version-1 is this correct? If so it might be helpful to mention this is the Readme or documentation. I had to change the InfluxDB Version to the Version I am using to get the integration to work again.