Hi,
I’m using Open edX with Tutor, and I’m experiencing an issue where courses that I deleted using management commands (e.g., tutor local run lms ./manage.py cms delete_course <course-id>
) still appear on the /courses
page of the LMS.
I have confirmed that the course no longer exists in the Studio (CMS), and I’ve also cleared the cache and restarted the services, but the course entries are still being displayed on the LMS course catalog.
Is there a step I’m missing to completely remove these courses from the LMS frontend?
Thanks in advance for your help!
I used the following command to delete the course, and it worked for me
tutor local run cms ./manage.py cms delete_course <course_id>
I think the issue might be that you’re using lms in your command, but it should be cms instead, since course deletion is handled through the Studio (CMS), not the LMS.
Even in /courses the courses still appear even though I deleted them from mysql and mongodb and I use the command tutor local run cms ./manage.py cms delete_course
I have the same issue as there is some exception in MeiliSearch.
Can you check your logs?
Hi, I solved my particular issue with “/courses” by recreating the course using the ID data in the URL. Once it was created, I disabled it so it wouldn’t appear in the catalog, and then I used the TUTOR commands to delete courses.