# Error upgrading from redwood to sumac - no module named search.meilisearch

**URL:** <https://discuss.openedx.org/t/error-upgrading-from-redwood-to-sumac-no-module-named-search-meilisearch/15242>\
**Category:** Tutor Help\
**Tags:** tutor, sumac\
**Created:** [March 13, 2025, 8:08pm UTC](https://discuss.openedx.org/t/error-upgrading-from-redwood-to-sumac-no-module-named-search-meilisearch/15242 "2025-03-13T20:08:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibraim](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ibraim](https://discuss.openedx.org/u/ibraim)\
**Post date:** [March 13, 2025, 8:08pm UTC](https://discuss.openedx.org/t/error-upgrading-from-redwood-to-sumac-no-module-named-search-meilisearch/15242/1 "2025-03-13T20:08:11Z")

</div>

Hi,

I am running the upgrade from redwood to sumac following the instructions described on the tutor user guide: [Installing Tutor — Tutor documentation](https://docs.tutor.edly.io/install.html#upgrading)

After running successfully the commands:

```auto
tutor config save
tutor images build all # list the images that should be rebuilt here
tutor local upgrade --from=redwood

```

I got an error when running:

```auto
tutor local launch

```

The error on the backlog is:

> moduleNotFoundError: No module named 'search.meilisearch

I understand the changes from elasticsearch to meilisearch on this release of OpenedX, but I don’t know if I should upgrade sometime else on my own images.

I got some plugins and custom mfe running on my website.

I appreciate your help,

---

<div class="post-metadata">

**Author:** ![ibraim](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ibraim](https://discuss.openedx.org/u/ibraim)\
**Post date:** [March 14, 2025, 2:14am UTC](https://discuss.openedx.org/t/error-upgrading-from-redwood-to-sumac-no-module-named-search-meilisearch/15242/2 "2025-03-14T02:14:18Z")

</div>

I’m attaching more details about the error I’m getting:  
´

```auto
ModuleNotFoundError: No module named 'search.meilisearch'
Error: Command failed with status 1: docker compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.jobs.yml run --rm lms-job sh -e -c dockerize -wait tcp://mysql:3306 -timeout 20s
dockerize -wait tcp://mongodb:27017 -timeout 20s

echo "Loading settings $DJANGO_SETTINGS_MODULE"

./manage.py lms migrate

# Create meilisearch indexes
./manage.py lms shell -c "import search.meilisearch; search.meilisearch.create_indexes()"

```

Thanks for your comments,

---

<div class="post-metadata">

**Author:** ![Syed\_Muhammad\_Dawoud](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/syed_muhammad_dawoud/32/6313_2.png) [@Syed\_Muhammad\_Dawoud](https://discuss.openedx.org/u/Syed_Muhammad_Dawoud)\
**Post date:** [March 14, 2025, 4:21pm UTC](https://discuss.openedx.org/t/error-upgrading-from-redwood-to-sumac-no-module-named-search-meilisearch/15242/3 "2025-03-14T16:21:05Z")

</div>

Hi. Can you check if the openedx image was built correctly? The module error should not come as the requirements get installed as part of image build.

---

<div class="post-metadata">

**Author:** ![ibraim](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ibraim](https://discuss.openedx.org/u/ibraim)\
**Post date:** [March 14, 2025, 8:22pm UTC](https://discuss.openedx.org/t/error-upgrading-from-redwood-to-sumac-no-module-named-search-meilisearch/15242/4 "2025-03-14T20:22:56Z")

</div>

Hi Syed,

At first I got my customized openedx mounted. The `tutor images build openedx` worked fine, but the `tutor local launch` failed.

Then, I unmounted my openedx image, run `tutor images build openedx` and then `tutor local launch`, and it worked without errors.

I guess, it should have to be something on my customized image. I will check the difference or manually upgrade the changes made.

Do you have any idea that could be causing the error with the mount?

I got a local mounted openedx image. I have unmounted and then I was able to run

---

<div class="post-metadata">

**Author:** ![maxim](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@maxim](https://discuss.openedx.org/u/maxim)\
**Post date:** [March 19, 2025, 9:13am UTC](https://discuss.openedx.org/t/error-upgrading-from-redwood-to-sumac-no-module-named-search-meilisearch/15242/5 "2025-03-19T09:13:42Z")

</div>

I rarely work with `tutor` directly, but may be the issue is that when you mount `edx-platform` for development, you need to build `openedx-dev`? [Tutor docs](https://docs.tutor.edly.io/dev.html#first-time-setup).

Also, you can try fixing this by starting the lms container, starting a shell in it and running something like `make requirements` manually.
