# Rasa loads latest model only, ignores -m model/{model.tar.gz}

**URL:** <https://forum.rasa.com/t/rasa-loads-latest-model-only-ignores-m-model-model-tar-gz/52175>\
**Category:** Rasa Open Source\
**Created:** [March 24, 2022, 5:55pm UTC](https://forum.rasa.com/t/rasa-loads-latest-model-only-ignores-m-model-model-tar-gz/52175 "2022-03-24T17:55:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anne576](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anne576/32/14350_2.png) [@anne576](https://forum.rasa.com/u/anne576)\
**Post date:** [March 24, 2022, 5:55pm UTC](https://forum.rasa.com/t/rasa-loads-latest-model-only-ignores-m-model-model-tar-gz/52175/1 "2022-03-24T17:55:53Z")

</div>

(Using Rasa 2.4.0)

I am trying to have 2 rasa instances running concurrently with two separate servers. I want to initiate them using the `rasa run -m models --enable-api` command, and nothing else. The training data I provided is basic enough to run a simple model. In addition, the only difference in-between these instances is:

- one is linked to Redis TrackerStore db1
- the other one is liked to Redis TrackerStore db2.

The Core and NLU data is all the same for these who servers.

I trained one model with one configuration of the Redis db1 and started up the server. Then in the same exact working directory I trained the other model with the configuration of the Redis db2. Started the second server. The worked fine. The data was sent to the appropriate databases configured.

I took down the first server, the first db1 model I trained. When I start up the server again, by pointing to the appropriate model using `rasa run -m models/{model.tar.gz} --enable-api`, it connects to db2. Not db1 which I initially trained it on. I kept testing, even with the replace a new model API, and I noticed this is a pattern. Whenever I start up a server with a model that has a different configuration than the latest trained one, it ignores and takes the latest model. Although, it says the correct model was loaded.

Has anyone experienced this before? What could I do to force the server to take the model I wish to point to?

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [March 25, 2022, 8:38am UTC](https://forum.rasa.com/t/rasa-loads-latest-model-only-ignores-m-model-model-tar-gz/52175/2 "2022-03-25T08:38:07Z")

</div>

The tracker store is mentioned in the endpoints, not the model.

You should have two endpoint files and use `--endpoints {endpoints.yml}`.
