Error when updating the admin password Rasa x

Hi All,

I am trying to deploy Rasa X on google Cloud platform and follows this tutorial in Rasa Master class. But I am getting the following error message when trying to update the password.

command: sudo python rasa_x_commands.py create --update admin me

error: File “rasa_x_commands.py”, line 102 command = f"delete {args.username}"

Any guidance would be appreciated.

This has been solved by the following command

sudo docker-compose exec rasa-x python3 /app/scripts/manage_users.py create me admin --update

1 Like

Hey @dilan, thanks for coming back with your solution! I assume you are running ubuntu 16.04? Since we updated the scripts to use fstrings, and ubuntu 16 only supports up to python 3.5, that’s why the issue is occurring (when you exec inside the container, the python version is okay). We’ll make sure to update the docs to reflect this!

I have a similar problem with Ubuntu 20.04.