Issues with browser v0.21.3

I get the following errors when starting the Docker container

“error”: “Unexpected error:
Traceback (most recent call last):
File “/usr/local/bin/blockstack”, line 52, in
result = run_cli()
File “/usr/local/lib/python2.7/dist-packages/blockstack_client/”, line 440, in run_cli
res = config.setup_config(config_path=config_path, interactive=(os.environ.get(“BLOCKSTACK_CLIENT_INTERACTIVE_YES”) != ‘1’))
File “/usr/local/lib/python2.7/dist-packages/blockstack_client/”, line 1034, in setup_config
conf = configure(config_file=config_path, interactive=interactive, set_migrate=True)
File “/usr/local/lib/python2.7/dist-packages/blockstack_client/”, line 297, in configure
all_opts = read_config_file(config_path=config_file, set_migrate=set_migrate)
File “/usr/local/lib/python2.7/dist-packages/blockstack_client/”, line 852, in read_config_file
if ret[‘blockstack-client’][‘server’] == ‘’:
KeyError: ‘blockstack-client’
“help”: “Try getting latest version of CLI with “sudo pip install blockstack --upgrade””
Re-exec as "/usr/bin/python", "/usr/local/bin/blockstack", "api", "start", "--secrets", "3"
[2017-12-04 09:12:45,451] [DEBUG] [spv:103] (11.139688947361536) Using mainnet
[2017-12-04 09:12:45,519] [DEBUG] [cli:419] (11.139688947361536) Load secrets from 3
[2017-12-04 09:12:45,546] [DEBUG] [client:95] (11.139688947361536) Connect to
[2017-12-04 09:12:45,549] [WARNING] [storage:632] (11.139688947361536) Storage implementation is missing a “get_immutable_handler” method
[2017-12-04 09:12:45,551] [WARNING] [storage:632] (11.139688947361536) Storage implementation is missing a “put_immutable_handler” method
[2017-12-04 09:12:45,552] [WARNING] [storage:632] (11.139688947361536) Storage implementation is missing a “delete_immutable_handler” method
[2017-12-04 09:12:45,553] [WARNING] [storage:632] (11.139688947361536) Storage implementation is missing a “delete_mutable_handler” method
[2017-12-04 09:12:45,663] [WARNING] [dropbox:188] (11) Config file ‘/root/.blockstack/client.ini’: section ‘dropbox’ is missing ‘token’. Write access will be disabled
[2017-12-04 09:12:45,664] [DEBUG] [client:110] (11.139688947361536) Loaded storage drivers [‘disk’, ‘gaia_hub’, ‘dropbox’, ‘s3’, ‘blockstack_resolver’, ‘http’, ‘dht’]
“error”: "Wallet does not exist. Please create one with blockstack setup"
Failed to start Blockstack daemon – is your password correct?
stopping the running blockstack-api container

seems like blockstack is outdated in the container.

amended to launcher script from :slight_smile:

$prefix docker run -it -v $coremount_home $coreimage /blockstack setup -y --password $1


$prefix docker run -it -v $coremount_home $coreimage /bin/bash -c "pip install blockstack --upgrade; blockstack setup -y --password $1"

1 Like

Hi @skybach!

I’m glad you seemed to have found a way around this bug.

The v0.21.4 version of Blockstack core fixed this bug (as you discovered!) – the latest docker scripts should now be pointing at the fixed version – so your workaround to force the upgrade won’t be necessary with the latest docker build.