alasdairtran / transform-and-tell

[CVPR 2020] Transform and Tell: Entity-Aware News Image Captioning
https://transform-and-tell.ml/
89 stars 14 forks source link

mongorestore problem #37

Open xueying9517 opened 2 years ago

xueying9517 commented 2 years ago

Hi, Alasdair.

I tried to restore data by using file "nytimes-2020-04-21.gz", but if failed. Here are some logs. Is this related to the version of mongoDB? Could you tell me the version of mongoDB you used?

Thanks very much!

2021-11-26T10:43:08.441+0800 nytimes.objects 21.1GB 2021-11-26T10:43:08.441+0800 nytimes.articles 21.1GB 2021-11-26T10:43:08.441+0800 2021-11-26T10:43:11.365+0800 demux finishing when there are still outs (2) 2021-11-26T10:43:11.400+0800 nytimes.articles 21.1GB 2021-11-26T10:43:11.400+0800 Failed: nytimes.articles: error restoring from archive '/home/liuxueying/Documents/nytimes-2020-04-21.gz': reading bson input: error demultiplexing archive; archive io error

alasdairtran commented 2 years ago

I'm using mongod v4.2.15.

It could be that your download is incomplete. The nytimes-2020-04-21.gz should be 61GB. The SHA256 is

> shasum -a 256 nytimes-2020-04-21.gz
606e1a96c240a4ba574542d9fd2916172fe7625c88adc1d18613e059b4543aab  nytimes-2020-04-21.gz

If your SHA256 is different, you might need to download again. If our Cloudstor server is too unreliable, send me another email and I can send you a link from another server that supports resuming downloads.

xueying9517 commented 2 years ago

Hi, Alasdair. I have downloaded nytimes-2020-04-21.gz again. And it restore to mongoDB successful. Thank you very much!