I have installed Open edX using the native install on Ubuntu 16.04 guide. I then created a superuser account and used that account to create some courses. But now I find that when I’m not logged in, or logged in as a student, and I click a course, and I’m taken to the course’s about page, I get a Page not found error. The same is true for the Demo course created by default in my edX installation. I’m unable to view it’s About page as well.
I have found this topic on this site regarding a similar issue and I have followed the steps detailed there to set DEBUG_ACCESS = True in courseware/access_utils.py . But I am unable to find anything in the log files. I’m also unable to find the right log file to look at. Should I look at /edx/var/log/lms/edx.log and /edx/var/log/cms/edx.log. or should I be looking at log files inside /edx/var/log/supervisor/ ?
Can someone guide me and help me troubleshoot this issue and figure out whats wrong with my configuration?
Hi Chintan,
The course dates were fine, I had setup course enrollment for earlier this month. The problem was with LMS_BASE and PREVIEW_LMS_BASE. I tried looking it up online but I was not able to find any information on what I should set PREVIEW_LMS_BASE to. So I changed it to the EDXAPP_CMS_BASE from my config.yaml in the open edX install step. So my LMS is now at demo.camcon.in and CMS was supposed to be at studio.demo.camcon.in. But after changing PREVIEW_LMS_BASE to another value, the course is now visible to students and others who are not logged in.
Is this value for PREVIEW_LMS_BASE correct?
Thanks for your help!
Hi,
I had come across the same issue where I was unable to access the course about page as a student/learner but was able to access it as a staff user/ super user.
I has solved this by setting the appropriate course mode (verified or audit) for that particular course from the LMS Django Admin. If you are not setting up ecommerce, you can set the course mode as audit.
[Home]› [Course Modes]› Course modes›Add Course Mode
Hope this helps.