2019-12-09 12:53:40 +00:00
|
|
|
# Setup Troubleshooting
|
|
|
|
|
2019-12-18 19:10:24 +00:00
|
|
|
## Config: Clearing data
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
Here is a command that will delete your chain data, stored wallets, stored data
|
|
|
|
and any miners you have set up:
|
2019-12-09 12:53:40 +00:00
|
|
|
|
|
|
|
```sh
|
|
|
|
rm -rf ~/.lotus ~/.lotusstorage
|
|
|
|
```
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
This command usually resolves any issues with running `lotus` but it is not
|
|
|
|
always required for updates. We will share information about when resetting your
|
|
|
|
chain data and miners is required for an update in the future.
|
2019-12-09 12:53:40 +00:00
|
|
|
|
2019-12-18 19:10:24 +00:00
|
|
|
## Error: Failed to connect bootstrap peer
|
2019-12-09 12:53:40 +00:00
|
|
|
|
|
|
|
```sh
|
|
|
|
WARN peermgr peermgr/peermgr.go:131 failed to connect to bootstrap peer: failed to dial : all dials failed
|
|
|
|
* [/ip4/147.75.80.17/tcp/1347] failed to negotiate security protocol: connected to wrong peer
|
|
|
|
```
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
- Try running the build steps again and make sure that you have the latest code
|
|
|
|
from GitHub.
|
2019-12-09 12:53:40 +00:00
|
|
|
|
|
|
|
```sh
|
|
|
|
ERROR hello hello/hello.go:81 other peer has different genesis!
|
|
|
|
```
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
- Try deleting your file system's `~/.lotus` directory. Check that it exists
|
|
|
|
with `ls ~/.lotus`.
|
2019-12-09 12:53:40 +00:00
|
|
|
|
2019-12-11 01:50:13 +00:00
|
|
|
```sh
|
|
|
|
- repo is already locked
|
|
|
|
```
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
- You already have another lotus deamon running.
|
2019-12-11 01:50:13 +00:00
|
|
|
|
2019-12-18 19:10:24 +00:00
|
|
|
## Warning: get message get failed
|
2019-12-09 12:53:40 +00:00
|
|
|
|
|
|
|
Some errors will occur that do not prevent Lotus from working:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
ERROR chainstore store/store.go:564 get message get failed: <Data CID>: blockstore: block not found
|
|
|
|
|
|
|
|
```
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
- Someone is requesting a **Data CID** from you that you don't have.
|