influxdata / influxdata/influxdb
Influxdb 1.8.10 to 2.2.0 - database not upgraded
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.
1. I've installed Influxdb 1.8.10 using apt-get and imported the database (```influxd restore -portable...```)
2. I've upgraded to InfluxDB 2.2.0 using apt-get
3. I've run influxd upgrade and filled in the form
4. After entering web interface, I was forced to finish the onboarding and fill the basic information (username, organization name) one more time
5. After filling it in, the database that I've imported on InfluxDB 1.8.10 was not moved to InfluxDB 2.2.0
6. I've tried removing /root/.influxdbv2 and running influxd upgrade again, but it still does not show my database on InfluxDB 2.2.0
According to ```influxd upgrade``` logs, the database was upgraded successfuly:

Am I doing something wrong or is there a bug that makes it impossible to upgrade from 1.8.10 to 2.2.0?
Contributor guide
Research direction
Start with the reported `influxd upgrade` logs and the portable restore performed on InfluxDB 1.8.10, then trace what happens after the InfluxDB 2.2.0 onboarding form is completed. Verify whether the imported database is present but undiscoverable or was not migrated; done means identifying the cause and documenting or correcting the required upgrade path.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100