I had my ethereum node on one server. I needed to migrate the accounts and all to another server (due to the huge size of blockchain). I started new ethereum node on another server. To copy my accounts, I copied the
keystore folder from one server to other.
Now my node on new server is fully synced but when in
geth console I type
eth.accounts, it returns an empty array. However, if I check by
geth account list, it displays me list of all accounts. Also on
eth.coinbase returns me one of my accounts. What's going wrong?
I have etheres as well as custom token in my account. Am I missing anything?