Learner is not able to see course

I have configured ironwood.master version on amazon EC2. Everything is working fine for me. Except learners aren’t able to view course page. Whereas Admin & Staff both can see course page.

Link :

I created new course added section and subsection. Made course start & enrollment date previous to current date. But still I am facing same issue.

Please guide me with what I am missing.


Try changing the LMS_PREVIEW variable to the localhost of the lms.env.json file and restart the service, that should solve the problem.

1 Like

Now it is PREVIEW_LMS_BASE :slight_smile:


Hi @sbernesto ,

My PREVIEW_LMS_BASE variable is already pointed to “” on my local machine.
still getting the page not found error

Hi @sbernesto,

I made advance setting for course invite_only:true which means course isn’t visible to non invited persons anymore on website. I sent invitation to one of my learner user.

He got this URL to access course :

But when I am clicking on above url I am seeing same page not found ?

Any clue ?

That behavior sounds to me a lot like a permissions issue (because staff/admin skip a lot of permissions checks, and we use 404s on many permissions errors to avoid leaking information about future courses).

If you can make changes to the source, you can modify https://github.com/edx/edx-platform/blob/master/lms/djangoapps/courseware/access_utils.py#L23 to set DEBUG_ACCESS = True, and then the LMS will start logging information about the access checks that are happening and when they are failing.

Once the file has been modified you have to restart the service with / edx / bin / supervisorctl restart lms

@sbernesto cool… but since i didnt make any changes i guess there is need to restart lms

i’m now getting this in my lms log

Sep 15 02:30:04 terry [service_variant=lms][py.warnings][env:sandbox] WARNING [terry 16254] [paginator.py:119] - /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/rest_framework/pagination.py:208: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class ‘django.contrib.auth.models.User’> QuerySet.
paginator = self.django_paginator_class(queryset, page_size)

Thank you @cpennington for sharing way of debugging. I actually found a reason why invite_only:true course problem occurred. Course start date was way far to current date. I made this date less than today’s date and its working.

@wak120191…how did you solve it…so the issue is about course starting dates ??

@Terry - I made course start date less than today’s date and I didn’t saw 404 page again. I didn’t solve technically by change in code. I solved it by proper use of openedx settings.

@wak120191 changed it to a previous date…still 404

@cpennington i did set my DEBUG_ACCESS=TRUE… lms not logging anything about the access checks.

but the thing is when l’m logged in to the lms i can see the course about page,but getting a 404 when i’m not logged in