filecoin-project / lotus

Reference implementation of the Filecoin protocol, written in Go
https://lotus.filecoin.io/
Other
2.85k stars 1.27k forks source link

ERROR: open minimal_finality_stateroots_1751760_2022-04-25_04-00-00.car: no such file or directory #8554

Closed coder-chenda closed 2 years ago

coder-chenda commented 2 years ago

Checklist

Lotus component

Lotus Version

v1.15.1

Describe the Bug

image image

not found the snapshot minimal_finality_stateroots_1751760_2022-04-25_04-00-00.car

Logging Information

ERROR: open minimal_finality_stateroots_1751760_2022-04-25_04-00-00.car: no such file or directory

ERROR: open minimal_finality_stateroots_1751760_2022-04-25_04-00-00.car: no such file or directory
ERROR: open minimal_finality_stateroots_1751760_2022-04-25_04-00-00.car: no such file or directory

Repo Steps

ERROR: open minimal_finality_stateroots_1751760_2022-04-25_04-00-00.car: no such file or directory

rjan90 commented 2 years ago

Hey @coder-chenda! You get that error because it can´t find the snapshot file you have downloaded - please add full path to the snapshot-file like this:

lotus daemon --import-snapshot /path/to/minimal_finality_stateroots_xx_xx_xx.car

For futher question like these, you can ask in the Discussion forum. 😄

coder-chenda commented 2 years ago

I use docker to start. How to define this path?