Problem displaying /account/ content after upgraded to Redwood with Tutor V18

We recently upgraded a site from Maple (Tutor V13) to the latest Redwood (Tutor V18). This error occurs if I click “Account” after logged in: “An unexpected error occurred. Please click the button below to refresh the page.”. Refreshing the page doesn’t work.

When I looked at the browser console, the account info pulled by ajax /api/user/v1/accounts/myuname worked fine. it appears it is caused by a JS error in the file
webpack://edx/frontend-app-account/node_modules/react-dom/cjs/react-dom.production.min.js 216:199
“Error: Minified React error #130;”

Not sure what is causing it and how to fix it. Please help!!

BTW, the site was initially launched from AWS Tutor AMI a few years ago.

1 Like

I am also having this issue, hopefully a core team member can help

Hi, can you share your console error logs? The error needs more description and context.
Thanks

Hi @Syed_Muhammad_Dawoud,

Please see the browser console error from Pastebin at https://pastebin.com/raw/MryLxswM.

Please let me know if you need more info. I tried to upload a screenshot but it didn’t allow me due to I’m a new user.

Thanks!

Similar issue. Nothing evident in the logs, seems to be an issue with some JS. I’m currently too new to upload images, however it’s the same issue as @jennyq

Environment is self-hosted Tutor on AWS, but I’m using my own installation script.

Interestingly, I’d been honing my script and so over the past few weeks tearing down and rebuilding our Tutor configuration from scratch (SSO, additional XBlocks). Everything was working well until recently when I started re-deploying the production version, leveraging the latest tutor.

Originally I thought it was something related to rebuilding the OpenEdx docker image with some additional xblock plugins. However, on a recent run, I limited the installation to stock 18.1.2 and still had the same issue with some strange 500 / unexpected errors—the accounts page being the quickest and most consistent to reproduce (every time).

Then, in an effort to debug further, I started working my way backwards, installing previous versions and the issue listed here went away when I configured Tutor around a core version of 17.0.6.

So it seems everything > 18.0 is affected, including 18.1.3 released today. I tried each release:

  • 18.1.3 (error)
  • 18.1.2 (error)
  • 18.1.1 (error)
  • 18.1.0 (error)
  • 18.0.0 (error)

In all cases this was a fresh, non-upgraded install so it likely has little to do with an upgrade and something to do with the JS assets.

I tried this on multiple browsers as well: FF, Chrome, Safari. Even different networks in case network filtering was the cause. No changes sadly.

I hope this helps the team get to the bottom of it. Thanks for all you do!

I got the same problem :frowning:

Then how could we solve this ?

@Danh_Vo I think the most likely way forward for most of us, at this point, is probably to use the 17.x series, and in the meantime we file a bug with the Tutor maintainers.

That’s what I’ve done. I back ported our changes to 17.0.6 and put that into production.

Before we file a bug someone could also check if the development version of Tutor, which likely wouldn’t have the minified / processed JS assets, has the same issues. That would help narrow down the issue: is it a web-assets-processing-pipeline issue or an issue with the code itself?

I also have this issue on 18

Just tested a freshly installed tutor with “tutor dev launch” and I get the same error on the account page.

Thanks @tyler. Submitted a bug on github for us all: JavaScript error in Tutor 18.0, 18.1, 18.1.1, 18.1.2, 18.1.3 - users unable to access account page. · Issue #1111 · overhangio/tutor · GitHub

Feel free to follow and/or chime-in/add, qualify etc.

1 Like

Can everyone here chime in on GitHub with the following:

What plugins are you running? tutor plugins list
What is your OS and browser version?
What is the output of tutor mounts list

Link to the thread/issue: JavaScript error in Tutor 18.0, 18.1, 18.1.1, 18.1.2, 18.1.3 - users unable to access account page. · Issue #1111 · overhangio/tutor · GitHub

2 Likes

Thanks for chiming in @Tyler, really appreciate it. :slight_smile:

1 Like

Hi everyone,

I am expecting that the issue you’re encountering is due to an incompatibility between the account-mfe and the custom indigo-footer. We are currently working on resolving this issue. In the meantime, could you please switch to “Tutor Indigo v18.0.0” until the fix is implemented? Please feel free to share if you face the issue with “Tutor Indigo v18.0.0”. It will help me in investigating in detail.

We sincerely appreciate your patience and understanding.

2 Likes

Thanks so much for helping chase it down @hinakhadim :slight_smile:

Regarding switch to Tutor Indigo v18.0.0 → do you mean switch the theme or something else.

Apologies for the naive question, I’m relatively new to the Tutor terminology for all the parts/components/pieces.

I solved the problem by just install the tutor by clone the git and used pip install -e . instead of “pip install tutor[full]”

2 Likes

Thanks for that insight @Danh_Vo. In my case that’s very helpful since I can just modify my install script with a small two-line change.

Did you pull from master or one of the tagged branches?

I imagine it’s different for those using the AMI Marketplace – but again, I know very little about how all this stuff interacts and am still learning.

1 Like

I mean install the theme by running the command pip install tutor-indigo==18.0.0. If you still face the issue, feel free to share the logs again.

1 Like

I just used the master branch (currently tagged v18.1.3 also)

1 Like

Hey folks,

This issue has been resolved. You need to upgrade the tutor-indigo version to 18.1.1. Here is the merged PR. Thanks for your patience.

5 Likes