Could somebody who has successfully installed Decred 0.8.2 on Linux please share the process steps? Looks like there have been some changes since the last Linux guide was posted here. Thanks.
Code: wget https://github.com/decred/decred-release/releases/download/v0.8.2/dcrinstall-linux-amd64-v0.8.2 chmod +x dcrinstall-linux-amd64-v0.8.2 ./dcrinstall-linux-amd64-v0.8.2 Files should now be under /home/user/decred/decred-linux-amd64-v0.8.2/.
Not sure what changes you are referring to (but I also don't know what previous guide version you read). Best bet is to follow the instructions on the docs site which are up to date: https://docs.decred.org/getting-started/install-guide/
The problem must be specific to my OS because I've been getting the same error on two computers running Ubuntu 16.04LTS. When I try to run wallet inquiries such as ./dcrctl --wallet getbalance for example: rpc.cert: no such file or directory I have followed the instructions linked by jvc twice on both machines, with the same results. The error is mentioned in other forum topics but they don't seem to be relevant in my case.
That error is typically one of two things: 1) The RPC server in dcrwallet is not running so it never created the certificates. 2) The wallet and/or dcrd are not in the default locations because you specified --appdata, so dcrctl can't find the RPC certificates in the default locations where it expects. You can see where dcrctl is looking for the RPC certificate by running: Code: $ dcrctl --help and looking at the rpccert option in the parenthesis. If you didn't specify --appdata, then it means the certs haven't been generated because the RPC server isn't running. In that case, the most likely culprit is that the rpcuser/rpcpass options aren't specified.
Thanks Dave, it was looking for rpccert in .dcrwallet I found rpccert in .dcrd and copied it to .dcrwallet Now the error has changed. When I enter: ./dcrctl --wallet getbalance then the response is: Post https://localhost:9110: dial tcp 127.0.0.1:9110: getsockopt: connection refused I've wiped and reinstalled again on both my machines following the guide step-by-step, still the same response. Sync is fine, just can't access wallet.
Are you running ./dcrwallet --rpcuser=user --rpcpass=pass ? Even better of course is specifying those in the dcrwallet.conf config file, but I typed them out on the CLI for clarity. That error indicates the RPC server isn't running and the only reason it wouldn't be running is if those two things aren't specified.
Well that finally led me to the solution. I did specify rpc info the .conf file but ./dcrwallet was not reading it for some reason. Wallet commands are functioning after I ran ./dcrwallet -u username -P password I was hitting the problem in all the wrong places and can gladly live with manually entering the login info. Thanks again Dave. You are quick at the replies. Much appreciated.
Np. You can see where it's looking for the dcrwallet.conf file by typing Code: dcrwallet --help and looking in the parenthesis of the --configfile option.