Influxdb 2.1.1 Internal Server Error (Timestamp related)

Hello all
Finally managed to resolve the issue.

  • Created a new bucket

  • Ran the following query to copy the contents to the new bucket

    from(bucket: "original_bucket")
      |> range(start: 1970-08-28T22:00:00Z)
      |> to(bucket: "new_bucket", org: "myorg")
    
  • Renamed the old bucket (could have deleted it too)

  • Renamed the new one to match the old bucket name

  • Re-created authorisation keys for the bucket

  • Ran the curl command to post the data and voila it worked

2 Likes