-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaScript error in Tutor 18.0, 18.1, 18.1.1, 18.1.2, 18.1.3 - users unable to access account page. #1111
Comments
|
|
Please paste the output of |
I've got the same issue on a fresh pip tutor install on my desktop.
Thanks for the help on this! |
Am I correct in assuming that you are not facing that issue on https://apps.sandbox.openedx.edly.io/account/ ? |
Correct, that link works fine. |
Alright I rolled another fresh installation of 18.1.3 (using the provided script above). Same issue. AWS EC2, Canonical's most up-to-date 24.04LTS AMI image on an M7i-flex.large instance, with a public IP (no reverse proxy / load-balancer in front of the instance).
I have a complete set of logs available from the installation all the way to the error here: https://gist.githubusercontent.com/pkolyvas/aa8d0967d62b850abc8595e57645b699/raw/5a056c1e559f13408d94c5dbb91766611c9b1691/tutor.log Hope this is more helpful. :) |
Yes, I finally managed to reproduce the issue. But I haven't figured out why the issue was not happening on my local setup, and why it's not happening on sandbox.openedx.edly.io either. This is almost certainly an issue related to Docker caching during image building. @hinakhadim is still investigating... |
|
EDIT by @regisb: Nope, this is not going to resolve anything. Don't waste your time. |
Thanks for all your help. :) |
Is there a time frame to get this issue fixed? |
@acaleechurn PR has been merged to resolve this issue. You can get the fix in |
overhangio/tutor-indigo#96 has resolved this. |
Bug description
There is an issue with Tutor v18.0+ (18.0, 18.1.0, 18.1.1, 18.1.2 and 18.1.3) where the accounts page (MFE app) fails to load as a result of some issues with JavaScript assets.
Please see this screenshot. This occurs when someone tries to view their account in order to validate or edit their user profile:
The logs provide no indication of error, in part because, as best as we can tell, the root cause is on the client side assets. The browser console (tested on Chrome, Firefox, Safari) provides the same error:
How to reproduce
Reproduction is possible on a vanilla, completely unchanged Tutor install. This is true for both someone installing via PIP as well as customers using the AWS AMI Marketplace image. Please see this thread for even more context: https://discuss.openedx.org/t/problem-displaying-account-content-after-upgraded-to-redwood-with-tutor-v18/13641
I use a script to install tutor, as part of spinning up the EC2 instance via Terraform. The userdata script is here and can be easily converted into a shell script for reproduction: https://gist.github.com/pkolyvas/331ac52029801cd38190600ffecb05f2
Environment
The text was updated successfully, but these errors were encountered: