bitwarden-cli icon indicating copy to clipboard operation
bitwarden-cli copied to clipboard

New Arch Install: Agent did not start for some reason, sorry.

Open heywoodlh opened this issue 7 years ago • 2 comments

Set up a new machine running Arch Linux and when I try to start the Bitwarden agent it says that the agent did not start. When I try to login the agent fails to start as well.

Here is the output when I use the --debug flag (removed certain bits of information that I didn't want to disclose):

❯ bitwarden --debug agent start
debug: debug turned on
debug: db:sqlite:////home/<username>/.local/share/birl.org/bitwarden/bitwarden.sqlite
password: : 
debug: setting master key
debug: path None for the agent does not exist, falling back to default:/bin/bitwarden-agent
debug: running agent:['/bin/bitwarden-agent', '127.0.0.1:6277']
debug: sending to agent:{'agent_location': '/home/<username>/.local/share/birl.org/bitwarden',
 'agent_token': '<token>',
 'master_key': '<key>',
 'port': 6277,
 'timeout': 3600}
debug: agent returned:b'':b''
error: Agent did not start for some reason, sorry.

This is on a brand new install of Arch (Manjaro) running Python 3.7.0. I installed bitwarden using pip3.

The above debug message doesn't seem to give me enough information to be sure as to what needs to be fixed. Any help would be appreciated as I rely pretty heavily on this functionality since it's so useful! :)

heywoodlh avatar Sep 13 '18 17:09 heywoodlh

Looks like Python 3.7 was the issue. I downgraded to Python 3.6 and installed bitwarden via pip3.6 and that worked.

heywoodlh avatar Sep 13 '18 17:09 heywoodlh

Blah. python 3.7 annoyances. I haven't even touched py3.7 yet, as nothing I have runs it by default yet...

I'll have to start messing with 3.7 here eventually I guess. :)

birlorg avatar Sep 13 '18 21:09 birlorg