Error Deploying Offline Environment TiUP Components: Merging Server and Toolkit Results in Error: resource snapshot.json: not found

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

Original topic: 部署离线环境 TiUP 组件合并 server 和 toolkit 报错Error: resource snapshot.json: not found

| username: TiDBer_JFCTOksv

[TiDB Usage Environment] /Test/ Poc
[TiDB Version] 5.4.1
[Reproduction Path] Operations performed that led to the issue
cp -rp keys ~/.tiup/
tiup mirror merge …/tidb-community-toolkit-v5.4.1-linux-amd64
Error: resource snapshot.json: not found


snapshot.json exists, but it says not found when executed
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]

| username: xfworld | Original post link

The path is incorrect…

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

You didn’t unzip the file you merged, did you? Unzip it first.

| username: TiDBer_JFCTOksv | Original post link

After decompressing, there’s only one bin file in the toolkit, over 500MB.

| username: TiDBer_JFCTOksv | Original post link

The first error was due to an incorrect file path, but the second error shouldn’t be related to the path, right?

| username: xfworld | Original post link

Try adjusting the path and putting them together.

| username: TiDBer_JFCTOksv | Original post link

The image is not visible. Please provide the text you need translated.

| username: TiDBer_JFCTOksv | Original post link

I can’t view images directly. Please provide the text you need translated.

| username: WalterWj | Original post link

Version issue: 使用 TiUP 升级 TiDB | PingCAP 文档中心
使用 TiUP 升级 TiDB | PingCAP 文档中心

Take a look, in the offline package upgrade documentation for versions 6.1 and 5.4, version 6.1 has the merge tool feature, while version 5.4 does not.
I remember there was an official packaging note. If I remember correctly, there was a version split, and only the newer versions have merge tools.

| username: WalterWj | Original post link

It looks like this feature is available starting from version 6.1.

| username: 我是咖啡哥 | Original post link

It doesn’t seem to affect anything. I encountered this issue when I upgraded as well.

| username: h5n1 | Original post link

What is the current path for tiup mirror show?

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.