influxdata / influxdata/influxdb
Unable to retrieve data from 1.7.8 when upgrading to 2.0.9
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Hi all. I have been trying to upgrade my current version of InfluxDB from 1.7.8 to 2.0.9. While trying to upgrade, I have been facing issues regarding retrieving data from the older version. The issue I have been facing is that after running influx upgrade, the upgrade gets completed successfully, prompting me to setup user, password and Org. After the setup, I am able to see the name of the databases from the previous version under the Buckets in Data tab, but on exploring the data, I am not generated any kind of results. The option to select filters and tag keys saws it couldnt find any tag keys.
I further tried to manually import data from the older version file, following the steps mentioned in the documentation, but again to no avail. It did create the bucket, but was unable to show the data.
__Expected behavior:__
Expected that after automatic upgrade (influxd upgrade), i will be able to visualize data from older version of Influx.
__Actual behavior:__
Databases from the previous version were created as buckets in InfluxDB 2.0.9, but on selecting to visualize the data, it shows as inaccessible, with no option to select tag filters.
__Environment info:__
* System info: Linux 4.14.35-1902.302.2.el7uek.x86_64 x86_64
* InfluxDB version: InfluxDB 2.0.9 (git: d1233b7951) build_date: 2021-10-01T21:09:53Z
__Logs:__

Contributor guide
Research direction
Start by reproducing the upgrade from InfluxDB 1.7.8 to 2.0.9 with the reported Linux environment, then compare automatic upgrade with the documented manual import. Confirm that databases become buckets but their data and tag keys cannot be queried; the issue is done when upgraded data is accessible and tag filters are available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100