Error import conversations in RASA X

Hi :wave:

Up until now, I was training my chatbot on the command line and everything was going great. Decided to use RASA X, I installed it using the command: pip install rasa-x --extra-index-url

I installed mongoDB and created an admin user

2019-12-31T13:38:42.972+0100 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2019-12-31T13:38:42.972+0100 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2019-12-31T13:38:42.972+0100 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
> db.getUser('admin')
        "_id": "test.admin",
        "user": "admin",
        "db": "test"
        "roles": [
                        "role": "userAdmin",
                        "db": "rasa"

> show dbs
admin 0.000GB
config 0.000GB
local 0.000GB
rasa 0.000GB

I modified the endpoints.yml file with the information from mongoDB

    type: mongod
    url: mongodb://localhost:27017
    db: rasa
    username: admin
    password: *************
    auth_source: admin

I downloaded the script from Github to migrate my conversations.

root@ubuntu:/var/www/rasa_test# python3
Welcome to Rasa X 🚀

This script will migrate your old tracker store to the new SQL based Rasa X tracker store.
Let's start!

? Please provide the path to your endpoints configuration which specifies the credentials for your old tracker store: endpoints.yml
? Do you want to migrate to the local version of Rasa X?  Yes
No valid tracker store config given. Please provide a valid tracker store configuration as it is described here:

The script informs me that the endpoints.yml file is misconfigured. RASA X of course, does not load trained conversations to the.

root@ubuntu:/var/www/rasa_test# rasa x
Starting Rasa X in local mode... 🚀

The server is running at http://localhost:5002/login?username=me&password=EBRhE8D9fqnJ

2019-12-31 14:49:41 ERROR rasa.core.tracker_store - Error when trying to connect to 'mongod' tracker store. Using 'InMemoryTrackerStore'' instead. The causing error was: Authentication failed...

How do you do it? Did I forget something?

Thank you for any help you can give me.


From France, where we :heart: RASA

1 Like

I’m also facing the same problem.

Hi @valdu02100 and @aizanzafar. I think the Rasa tracker store was moved from Mongo to Postgres since the 1.3 release. If that’s correct, your Rasa tracker data is in Postgres and you shouldn’t have to modify the endpoints.yml file tracker_store config. Can you put it back and then run the migration script?

1 Like

Thank you, @stephens , for coming back. In my case, remove the configuration from PostgreSQL and inform those in sqlite to correct the error.

    type: SQL
    dialect: sqlite 
    db: rasa.db