Question regarding Meilisearch error after upgrading to Sumac

Hello everyone!

I recently upgraded to Sumac from Redwood, but I am experiencing issues with Meilisearch. Everytime I press the button “Discover new” on my Open edX page, I encounter the error message: An error occurred when searching for “”.

When consulting the logs, I first found the error Meilisearch: “invalid API key”, but following the steps given in Meilisearch API Key is Invalid - Site Operators / Tutor Help - Open edX discussions solved this for me (or rather made that specific error go away).

However, now my tutor logs show a new error regarding Meilisearch:

lms-1 | meilisearch.errors.MeilisearchApiError: MeilisearchApiError. Error code: index_not_found. Error message: Index tutor_course_info not found..

Is there something I am missing? How is Meilisearch set up correctly on Sumac?

Any help would be greatly appreciated!

@braden or @dave ?

I am not sure why Tutor did not create the indexes for you during the upgrade, but the command to do it manually is documented here:

after that, you should be able to successfully run

./manage.py cms reindex_course --active

to populate the search indexes.

(Prefix these commands with tutor local exec lms / tutor local exec cms / tutor dev exec lms / tutor dev exec cms as appropriate to run them using tutor on your host machine.)

1 Like

Thank you @sarina and @braden for the fast answer! Running the two commands solved the issue for me!

1 Like