I’m trying to deploy a self hosted instance of OpenEdx with Tutor. Everything goes smooth, I can register but when I try to login I get a generic “An unexpected error occurred. Please click the button below to refresh the page.”.
If I debug with the development tools of the browser I get “Error: Cannot find module ‘@edly-io/indigo-frontend-component-footer’”. I have tried with both 9.0.3 and 9.0.4, if I fix the dependency issue by editing the Dockerfile I get a generic error in the initialization phase catched by the ErrorBoundary of the MFE authoring app.
Since fixing one error just ends up in the app throwing another error my best guess is this is an issue with the setup itself but honestly I can’t see how. I’m using a venv with just Tutor installed in it. It’s deployed on Rocky Linux.
Even if I disable that plugin though, I still get a generic error catched by the ErrorBoundary. It is not about that library but it also doesn’t explicitly says anything. It’s on the learner-dashboard. I’ll try to investigate it more by adding logs statement to forks of the MFEs.
After disabling the indigo plugin, you have to rebuild the openedx and mfe images, because the default ones come with it. It’s akin to adding your own theme, as per Configuration and customisation — Tutor documentation.
tutor images build openedx mfe
tutor local stop
tutor local start -d
I suspect the problem will go away if you do this.