Code Monkey home page Code Monkey logo

Comments (11)

regisb avatar regisb commented on August 16, 2024

This is a duplicate of issue #7. Please check the corresponding fix: #7 (comment)

from tutor.

alincalinciuc avatar alincalinciuc commented on August 16, 2024

Same thing happens with a brand new created course.
I've also tried http://admin.edx.domain.com/maintenance/force_publish_course it but nothing changes.

from tutor.

regisb avatar regisb commented on August 16, 2024

Hi! Thanks for taking the time to report this.

As per my previous recommendation, did you update the openedx-docker repo? The CMS was initially pointing to a different Mongodb collection than the LMS, making the courses created by the CMS unfindable by the LMS. You need to update the repo and then create a new course.

Did you log in to a user account in the LMS ? Anonymous users do not have the permission to view "about" pages of newly created courses.

from tutor.

alincalinciuc avatar alincalinciuc commented on August 16, 2024

Hi Régis,
I did all of that, I've rm -rf data/* , updated the repo with your last commit (189ea3e) and then make all .
Same result, I always receive a 404 page, no matter if I create a new project or I import the demo one.
I've tried the Force Publish functionality but with no success.

It seems to work if I add the user created on LMS as Staff on the project.

Some help would be really appreciated.
Best regards,
Alin

from tutor.

regisb avatar regisb commented on August 16, 2024
  1. Can you confirm you were logged in with a staff account in the LMS?
  2. Did you try creating a course in the CMS? Can you then see its "about" page in the LMS?

from tutor.

regisb avatar regisb commented on August 16, 2024

Hi @alincalinciuc, did you manage to solve this problem?

from tutor.

dannielarriola avatar dannielarriola commented on August 16, 2024

Hi, I have the same issue. It works with staff user, but not with the unregistered user

from tutor.

dannielarriola avatar dannielarriola commented on August 16, 2024

I found a solution here

from tutor.

regisb avatar regisb commented on August 16, 2024

I am currently investigating this issue, but it's really difficult to diagnose. It seems the bug lies deep inside the modulestore, which is a thorny part of the codebase.
@dannielarriola : I am pretty sure the solution you proposed (changing PREVIEW_LMS_BASE) does not work.
@alincalinciuc : "It seems to work if I add the user created on LMS as Staff on the project." Can you explain what you did exactly?

from tutor.

dannielarriola avatar dannielarriola commented on August 16, 2024

Hi @regisb
Why you say that not work?. Maybe isn't the main problem but it's work perfectly.
See this and this. The fist one does not work, and the second with de PREVIEW_LMS_BASE change works great.
Sorry for my english

from tutor.

regisb avatar regisb commented on August 16, 2024

@dannielarriola you were absolutely right! in the latest release I changed the default preview path to preview.LMS_BASE. Thanks a lot for the tip!

from tutor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.