python migrate_tracker_store_to_rasa_x.py
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_rasaX.yml
? Do you want to migrate to the local version of Rasa X? Yes
Traceback (most recent call last): File “migrate_tracker_store_to_rasa_x.py”, line 249, in args.max_trackers, File “migrate_tracker_store_to_rasa_x.py”, line 86, in _migrate_tracker_store_to_rasa_x old_tracker_store = _get_tracker_store_from_endpoints_config(old_endpoints_file) File “migrate_tracker_store_to_rasa_x.py”, line 166, in _get_tracker_store_from_endpoints_config Domain.empty(), endpoints.tracker_store File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\rasa\core\tracker_store.py”, line 44, in find_tracker_store domain=domain, host=store.url, event_broker=event_broker, **store.kwargs File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\rasa\core\tracker_store.py”, line 227, in init self._ensure_indices() File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\rasa\core\tracker_store.py”, line 234, in _ensure_indices self.conversations.create_index(“sender_id”) File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\pymongo\collection.py”, line 1995, in create_index self.__create_index(keys, kwargs, session, **cmd_options) File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\pymongo\collection.py”, line 1881, in __create_index with self._socket_for_writes(session) as sock_info: File “C:\ProgramData\Anaconda3\envs\botenv\lib\contextlib.py”, line 112, in enter return next(self.gen) File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\pymongo\mongo_client.py”, line 1223, in _get_socket self.__all_credentials, checkout=exhaust) as sock_info: File “C:\ProgramData\Anaconda3\envs\botenv\lib\contextlib.py”, line 112, in enter return next(self.gen) File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\pymongo\pool.py”, line 1128, in get_socket sock_info.check_auth(all_credentials) File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\pymongo\pool.py”, line 712, in check_auth auth.authenticate(credentials, self) File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\pymongo\auth.py”, line 564, in authenticate auth_func(credentials, sock_info) File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\pymongo\auth.py”, line 539, in _authenticate_default return _authenticate_scram(credentials, sock_info, ‘SCRAM-SHA-1’) File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\pymongo\auth.py”, line 263, in _authenticate_scram res = sock_info.command(source, cmd) File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\pymongo\pool.py”, line 613, in command user_fields=user_fields) File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\pymongo\network.py”, line 167, in command parse_write_concern_error=parse_write_concern_error) File “C:\ProgramData\Anaconda3\envs\botenv\lib\site-packages\pymongo\helpers.py”, line 159, in _check_command_response raise OperationFailure(msg % errmsg, code, response) pymongo.errors.OperationFailure: Authentication failed.
See my endpoints_rasaX.yml tracker_store file:
type: mongod
url: mongodb://localhost:27017
db: mydatabase
username: rasa
password: example
also sqlite3 --version: 3.29.0 2019-07-10 17:32:03 fc82b73eaac8b36950e527f12c4b5dc1e147e6f4ad2217ae43ad82882a88alt2
Any hints why this happened?
Thank you for your collaboration.