influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

Version reported by 1.12.2-1 from deb packages incorrect

Open reedacus25 opened this issue 3 months ago • 1 comments

Version number reported in deb/apt installed influxdb v1.12.2-1 is reported incorrectly.

Steps to reproduce: List the minimal actions needed to reproduce the behaviour.

  1. Install v1.11.8-2
    1. sudo apt-get install influxdb=1.11.8-2
  2. Access influx shell from host
    1. $ influx
    2. Connected to http://localhost:8086 version v1.11.8
    3. InfluxDB shell version: v1.11.8
  3. Upgrade influxdb to v1.12.2-1
    1. sudo apt-get install influxdb=1.12.2-1
    2. lvl=info msg="InfluxDB starting" log_id=0zCKPfkG000 version=1.x-c9a9af2d63 branch=1.12 commit=95e86be3f4a18bf9b4a2a63b660109bc291b0775
  4. Access influx shell from host
    1. $ influx
    2. Connected to http://localhost:8086 version 1.x-c9a9af2d63
    3. InfluxDB shell version: 1.x-c9a9af2d63

Expected behaviour: Version number to display accurately.

$ influx
Connected to http://localhost:8086 version v1.12.2
InfluxDB shell version: v1.12.2

Actual behaviour: Version number shows a build or commit identifier.

$ influx
Connected to http://localhost:8086 version 1.x-c9a9af2d63
InfluxDB shell version: 1.x-c9a9af2d63

Environment info:

  • Ubuntu 22.04, both amd64 and arm64.
  • Assume consistent across other Ubuntu LTS/Debian releases

Config: Default values

Logs:

lvl=info msg="InfluxDB starting" log_id=0zCOISd0000 version=v1.11.8 branch=unknown commit=199a607e1c7a5a687f96a636bb3bab9a61e4ae31
lvl=info msg="InfluxDB starting" log_id=0zCKPfkG000 version=1.x-c9a9af2d63 branch=1.12 commit=95e86be3f4a18bf9b4a2a63b660109bc291b0775

reedacus25 avatar Sep 25 '25 15:09 reedacus25

This does appear to be the correct version https://github.com/influxdata/influxdb/commit/95e86be3f4a18bf9b4a2a63b660109bc291b0775 per the commit on the v1.12.2 tag. See: https://github.com/influxdata/influxdb/commit/95e86be3f4a18bf9b4a2a63b660109bc291b0775 (this is our tagged commit for v1.12.2) So the version is correct, just the version= log was not updated correctly during CI. I'll take a look at this and see what happened.

Thanks for the report.

devanbenz avatar Sep 25 '25 17:09 devanbenz