CMS Error Rectifying

Hello Open edX Team,

I hope you are doing well.

I am writing to request guidance regarding an issue we are facing with Open edX Studio (CMS) in a Tutor-based deployment. We have done detailed debugging and would appreciate your confirmation or recommended fix.


:small_blue_diamond: Deployment details

  • Platform: Open edX (Tutor-based)

  • Image: overhangio/openedx:20.0.4

  • Python: 3.11

  • Deployment type: Production (Docker containers)

  • LMS: Working correctly

  • Studio Admin (/admin): Working correctly

  • Issue only affects Studio UI (/home)


:small_blue_diamond: Problem description

When accessing:

https://studio.koyaca.com/home/

Studio returns a 500 Internal Server Error with the generic message:

“The Studio servers encountered an error.”

All other Studio endpoints (including /admin) work as expected.


:small_blue_diamond: Error details (from CMS logs)

The CMS container logs consistently show the following traceback:

TypeError: argument of type 'NoneType' is not iterable

This occurs in the following code path:

cms/djangoapps/contentstore/views/course.py
→ redirect(get_studio_home_url())

Further inspection shows that:

get_studio_home_url() → None

Which then causes Django to attempt:

redirect(None)

Resulting in:

NoReverseMatch: Reverse for 'None' not found
TypeError: argument of type 'NoneType' is not iterable


:small_blue_diamond: What we have already verified

  • MongoDB connectivity from CMS container: :white_check_mark: Working

  • Mongo databases visible (admin, config, local)

  • Redis, MySQL, LMS, and CMS services: :white_check_mark: Running

  • This is not a DNS, proxy, or container crash issue

  • This is not a Python syntax or package error

  • The issue is reproducible only when accessing /home


:small_blue_diamond: Our understanding so far

It appears that Studio is unable to resolve a valid homepage route, causing get_studio_home_url() to return None. This may be related to:

  • Missing or unset STUDIO_HOME_URL

  • ENABLE_NEW_STUDIO_HOMEPAGE flag mismatch

  • Expected CMS settings not being injected in our environment

We would like to confirm:

  1. What is the expected configuration for get_studio_home_url() in this Open edX version?

  2. Is STUDIO_HOME_URL required to be explicitly defined in Tutor-based deployments?

  3. Is this a known issue or expected behavior in this release?


:small_blue_diamond: Request

Could you please advise on:

  • The correct and recommended way to configure the Studio home URL

  • Whether this behavior is expected if certain flags/settings are missing

  • Any official documentation or reference for this configuration

We would be happy to provide additional logs or configuration details if needed.

Thank you very much for your time and support.

Kind regards,
[MOHAMED RASHEED]
[Developer / Cloud Garage]
[+91-9787479848, E-Mail : mdrashee7272@gmail.com]

Open edX Learning Management System Final Project Documentation

  1. Project Overview This project is an implementation of the Open edX Learning Management System deployed using Tutor. The platform allows learners to explore courses, register, log in, and access a dashboard. Administrative interfaces for LMS and Studio are also configured.

  2. System Architecture The system is deployed using Docker containers orchestrated by Tutor. Core services include LMS, CMS (Studio), MySQL, MongoDB, Redis, Celery workers, Caddy, SMTP, and Meilisearch

  3. Terminal Configuration & Deployment Proof tutor config printroot /home/developer/.local/share/tutor tutor local status All core Open edX services are running (LMS, CMS, MySQL, MongoDB, Redis, Celery, Caddy) docker ps All containers are up and running successfully LMS_HOST: koyaca.com CMS_HOST: studio.koyaca.com LMS_ROOT_URL: http://koyaca.com CMS_ROOT_URL: http://studio.koyaca.com

  4. User Interface Screenshots Below screenshots show the working LMS, dashboard, admin panels, and Studio error page.

  5. Features Implemented - User registration and authentication - LMS home page access - Learner dashboard - LMS admin panel access - Studio admin panel access

  6. Known Limitation While accessing the Studio home interface, a server error is encountered stating that the Studio servers encountered an error. This issue is documented as a known limitation. The LMS continues to function correctly.

  7. Conclusion The Open edX platform has been successfully deployed with functional LMS components. The project demonstrates deployment, configuration, and administration of Open edX using Tutor. Known issues are documented for future resolution.

Hi @Mohamed_Rasheed_M,
Have you enabled tutor-mfe? It seems to me this is the problem.