Add troubleshooting guide

Documentation to resolve issue #32
This commit is contained in:
BT 2020-03-26 23:41:40 +07:00 committed by GitHub
parent 4932a4367e
commit b7b09462a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,3 +140,20 @@ docker exec -it bitcoind bitcoin-cli -getinfo
docker exec -it bitcoind bitcoin-cli getblockcount
```
#### Troubleshooting
##### Bitcoind isn't starting
Here are some possible reasons why.
###### Permissions for the bitcoin data directory is not correct
The permissions for the bitcoin data direct is assumed to be UID 1000 (first user).
If you have a different setup, please do the following
```bash
# where ".bitcoin" is the data directory
sudo chown -R 1000.1000 $HOME/.bitcoin
```