After addpartkey successfully, i execute the command “goal account changeonlinestatus” for online status from offline.
it return:
No wallets found. Create a new wallet with goal wallet new [wallet name].
the command executed in mainnet. it is ok in testnet.
When you lists the wallets ( goal wallet list -d ~/node/data ) does the wallet show up in the list? When you list the accounts in the specific wallet ( goal account list -d ~/node/data -w yourwalletname ) does the account in the from field of the transaction show up?
wallet list returns:
Wallet: wallet1 (default)
ID: b6a9b0a38473fe11…
goal account list -d /var/lib/algorand -w wallet1 returns:
[offline] first 7ZL4I4JYK… ??? microAlgos *Default
algo@servername:~ sudo goal account changeonlinestatus -a 7ZL4I4JYK... -o=1 -d /var/lib/algorand
No wallets found. Create a new wallet with `goal wallet new [wallet name]`
algo@servername:~
if no wallet, the partkey won’t create successfully, but my partkey was created successfully.
Are you running both main net and test net on the same node at the same time? BTW run
ps aux | grep kmd
If that only returns the grep run
goal kmd start -d yourdatadirectory
I have solved the problem by 3 steps:
1)
chown -R algo:algo /var/lib/algorand
2)
use -k params and not use sudo in all goal commands
3)
change user and group in the file /lib/systemd/system/algorand.service
The permissions in /var/lib/algorand on Ubuntu 18.04 were a bit messed up after installation for me too. Access was denied to the mainnet-v1.0 directory so I couldn’t properly save participation keys or bring the account online. Trying sudo created it’s own problems (couldn’t see the wallet), so there was nothing for it but to recursively chown /var/lib/algorand. My node is running and the account is participating.
I must say, as a beginner, that I was surprised at how quickly the system churns through rounds. I can see that keeping valid participation keys ahead of the rounds may be a challenge. Now I’m wondering what would be a reasonable participation range: 200, 2000, 5000? By the time I get back to the server in the morning, my three participation keys will be spent.
Thanks Gary. We are looking at this issue. On the round range if you set it to like 3 million it should be able to participate for 5.5 - 6 months. You can use goal later to refresh the participation key as well.
Good suggestion. I’ve created a new participation key with a range of 3M and hooked it in, so I’ll just let it run. Thankfully it’s not Windows, so I expect it will just keep going.
The only issue I have here is reliability of power (ironic since I work for a solar power generation company). We tend to get random flicks here on the grid, which is just a little annoying.