Intallation Errors

Hi, I successfully installed Rasa X CE via docker on ubuntu 18. However, I am unable to retrieve the me password.

This is the error

python rasa_x_commands.py create admin me password

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 11, in <module>
    load_entry_point('docker-compose==1.21.0', 'console_scripts', 'docker-compose')()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 71, in main
    command()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 124, in perform_command
    project = project_from_options('.', options)
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 41, in project_from_options
    compatibility=options.get('--compatibility'),
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 121, in get_project
    host=host, environment=environment
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 92, in get_client
    environment=environment, tls_version=get_tls_version(environment)
  File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 120, in docker_client
    client = APIClient(**kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 118, in __init__
    base_url, IS_WINDOWS_PLATFORM, tls=bool(tls)
  File "/usr/lib/python3/dist-packages/docker/utils/utils.py", line 279, in parse_host
    "Bind address needs a port: {0}".format(addr))
docker.errors.DockerException: Bind address needs a port: 127.0.0.1
ERROR:__main__:Failed to create user.

What I am i supposed to do?

Am I correct in assuming you’re following the Quick Installation? If so, the command you want is

sudo python rasa_x_commands.py create --update admin me PASSWORD

notice the sudo and the --update. Replace PASSWORD with your desired password.

If the problem persists after fixing that, can you try using 0.19.2 instead of stable?

1 Like

@erohmensing response should get you sorted. Use the commands she listed, and also try 0.19.2, I have had issues using stable vs 0.19.2 -

1 Like