# Migrating tracker store

**URL:** <https://forum.rasa.com/t/migrating-tracker-store/10268>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [May 23, 2019, 8:03pm UTC](https://forum.rasa.com/t/migrating-tracker-store/10268 "2019-05-23T20:03:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjtilney](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@sjtilney](https://forum.rasa.com/u/sjtilney)\
**Post date:** [May 23, 2019, 8:03pm UTC](https://forum.rasa.com/t/migrating-tracker-store/10268/1 "2019-05-23T20:03:11Z")

</div>

I’ve followed the steps here to migrate the tracker store for Rasa X

> [https://rasa.com/docs/rasa-x/import-conversations/](https://rasa.com/docs/rasa-x/import-conversations/)

my endpoints file looks like this:

> ```
> tracker_store:
> type: redis
> url: <my_redis_url>
> port: 6379
> db: 0
> 
> ```

I tried running the migration tool found here:

> [Migrates a Rasa tracker store (Redis, Mongo, SQL) to Rasa X. · GitHub](https://gist.github.com/wochinge/547a844f9851bb031c129e0416489068)

When I run the script, I get the following error:

> ```
> Start migrating 50 trackers.
> 0%| | 0/50 [00:00<?, ?it/s]
> Traceback (most recent call last):
> File "migrate_tracker_store_to_rasa_x.py", line 172, in <module>
> _migrate_tracker_store_to_rasa_x(path_to_endpoints_file, args.max_trackers)
> File "migrate_tracker_store_to_rasa_x.py", line 85, in _migrate_tracker_store_to_rasa_x
> tracker = old_tracker_store.retrieve(sender_id)
> File "/Users/tilneys/anaconda3/envs/rasa/lib/python3.7/site-packages/rasa/core/tracker_store.py", line 179, in retrieve
> return self.deserialise_tracker(sender_id, stored)
> File "/Users/tilneys/anaconda3/envs/rasa/lib/python3.7/site-packages/rasa/core/tracker_store.py", line 114, in deserialise_tracker
> dialogue = pickle.loads(_json)
> _pickle.UnpicklingError: invalid load key, '{'.
> 
> ```

Any idea what’s causing this?

---

<div class="post-metadata">

**Author:** ![rajp4690](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@rajp4690](https://forum.rasa.com/u/rajp4690)\
**Post date:** [May 24, 2019, 4:07pm UTC](https://forum.rasa.com/t/migrating-tracker-store/10268/2 "2019-05-24T16:07:29Z")

</div>

Continuing the discussion from [Migrating tracker store](http://forum.rasa.com/t/migrating-tracker-store/10268):

I am getting similar kind of issue as well while migrating redis.

> Start migrating 1 trackers. 0%| | 0/1 [00:00\<?, ?it/s]C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa\_core\__init_\_.py:12: UserWarning: The ‘rasa\_core’ package has been renamed. You should change your imports to use ‘rasa.core’ instead. UserWarning, Traceback (most recent call last): File “migrate\_tracker\_store\_to\_rasa\_x.py”, line 173, in \_migrate\_tracker\_store\_to\_rasa\_x(path\_to\_endpoints\_file, args.max\_trackers) File “migrate\_tracker\_store\_to\_rasa\_x.py”, line 85, in \_migrate\_tracker\_store\_to\_rasa\_x tracker = old\_tracker\_store.retrieve(sender\_id) File “C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa\core\tracker\_store.py”, line 179, in retrieve return self.deserialise\_tracker(sender\_id, stored) File “C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa\core\tracker\_store.py”, line 116, in deserialise\_tracker tracker.recreate\_from\_dialogue(dialogue) File “C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa\core\trackers.py”, line 367, in recreate\_from\_dialogue “Have you deserialized it?”.format(dialogue) ValueError: story Dialogue with name

---

<div class="post-metadata">

**Author:** ![sjtilney](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@sjtilney](https://forum.rasa.com/u/sjtilney)\
**Post date:** [May 24, 2019, 8:58pm UTC](https://forum.rasa.com/t/migrating-tracker-store/10268/3 "2019-05-24T20:58:37Z")

</div>

It doesn’t look like the migration tool, or Rasa X support Redis Tracker Stores. I changed my endpoints.yml to point to a mongo instance, and everything works perfectly.
