You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.
$ dune --start test_node
Creating docker container [dune_container]
Creating node [test_node]
Using Configuration [/home/www-data/config.ini]
$ dune --create-account nodeone
Creating account [nodeone] with key pair [Private: 5K4GCQPREhc6HmJ2wWNqRHvVNSL1bZ79hu8grtmkUhGJcndUfMg, Public: EOS8DMcuK28sN7jw8Uj5gEKtH8JxdbhovhVkDaUoQAemo49RBse97]
Error 3120006: No available wallet
Ensure that you have created a wallet and have it open
Error Details:
You don't have any wallet!
Stack Trace:
wallet_manager.cpp:140 get_public_keys
In my analysis, this is caused by the script setup_system.sh which creates wallet run as root permission by the Dockerfile, and eosio-wallet is generated under /root.
But the dune script is running as the user www-data so that it is trying to find default.wallet from /home/www-data.
This is the wallet location just after run the bootstrap.sh and create the container.
Found a wallet issue when creating an account.
In my analysis, this is caused by the script setup_system.sh which creates wallet run as root permission by the Dockerfile, and eosio-wallet is generated under /root.
But the dune script is running as the user www-data so that it is trying to find default.wallet from /home/www-data.
This is the wallet location just after run the bootstrap.sh and create the container.
I tried to make a PR but it looks a bit complex as a user that it may related to permission issue and other features such as export/import wallet.
so I'm just leaving commands for somebody who need a simple workaround as below. You can run it just after bootstrap.sh completed.
Thanks.
The text was updated successfully, but these errors were encountered: