Langchain-Chatchat icon indicating copy to clipboard operation
Langchain-Chatchat copied to clipboard

[BUG] 数据库初始文件data.tar.gz解压报错gzip: stdin: not in gzip format

Open yimzncy opened this issue 10 months ago • 2 comments

cd ~/chatchat wget https://github.com/chatchat-space/Langchain-Chatchat/blob/master/docker/data.tar.gz tar -xvf data.tar.gz

报错: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now

是这个文件有问题吗?

yimzncy avatar Feb 11 '25 07:02 yimzncy

Hey @yimzncy! 👋 I'm here to help you squash those bugs and answer your questions. If you need assistance or want to become a contributor, I've got your back!

The error message "gzip: stdin: not in gzip format" suggests that the data.tar.gz file might not have been downloaded correctly. To resolve this issue, make sure you download the file using the correct raw link. You can do this by running the following command:

wget https://github.com/chatchat-space/Langchain-Chatchat/raw/refs/heads/master/docker/data.tar.gz

After downloading the file with this command, try extracting it again using:

tar -xvf data.tar.gz

This should help ensure that the file is in the correct format and can be extracted without errors.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

dosubot[bot] avatar Feb 11 '25 07:02 dosubot[bot]

这个问题解决了,应该是到github的网络不稳定,下载的文件只有200多k,正确的文件是28m

yimzncy avatar Feb 11 '25 07:02 yimzncy

这个问题已经被标记为 stale ,因为它已经超过 30 天没有任何活动。

github-actions[bot] avatar Mar 13 '25 21:03 github-actions[bot]

这个问题已经被自动关闭,因为它被标为 stale 后超过 14 天没有任何活动。

github-actions[bot] avatar Apr 08 '25 21:04 github-actions[bot]