Failed to Create Offline Image

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 创建离线镜像失败

| username: Hacker_GfW2YGtK

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
7.1
[Reproduction Path] What operations were performed when the issue occurred
Following the official manual, I used tiup mirror clone to clone the 7.1 version package on a server that can connect to the public network. After packaging, I uploaded it to the offline environment. After executing sh local_install.sh, the tiup command can be used normally, but the tiup list tidb command does not show the tidb version information, and an error occurs during installation indicating that the component version cannot be found.

| username: jaybing926 | Original post link

The error is quite obvious: unknown version 未知版本

| username: Hacker_GfW2YGtK | Original post link

The files for each component of this version are included in the offline package, but following the official manual results in this error. Is there something that needs to be adjusted?

| username: zhanggame1 | Original post link

Post all the steps, something might be missing.

| username: tidb狂热爱好者 | Original post link

Post the steps, definitely missed some.

| username: xingzhenxiang | Original post link

Try executing it again, it seems like a pretty simple task.

| username: tidb狂热爱好者 | Original post link

It seems like a pretty simple matter, yet he still asks.

| username: xingzhenxiang | Original post link

The default value of tidb_gc_life_time is 10m, which means that data older than 10 minutes will be cleaned up. You can adjust this parameter according to your needs.

| username: Anna | Original post link

Change the CDC version. Download a new one, the versions do not match.

| username: redgame | Original post link

It’s better to follow the documentation.