I have installed Hawthorne.2, running on Ubuntu 16.04 local VM. I have restored the data from an AWS instance that seems to be working fine, but I am facing this issue when I try to access the discussion from the LMS.
Jan 6 12:52:46 localserver [service_variant=lms][edx.courseware][env:sandbox] ERROR [localserver 2136] [views.py:575] - Error in /courses/course-v1:asdfghFALL/discussion/forum/: user=Sb, effective_user=Sb, course=course-v1:asdfghFALL
Traceback (most recent call last):
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/views/views.py", line 506, in get
return super(CourseTabView, self).get(request, course=course, page_context=page_context, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/web_fragments/views.py", line 26, in get
fragment = self.render_to_fragment(request, **kwargs)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/views/views.py", line 640, in render_to_fragment
return tab.render_to_fragment(request, course, **kwargs)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/tabs.py", line 294, in render_to_fragment
return self.fragment_view.render_to_fragment(request, course_id=unicode(course.id), **kwargs)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/discussion/views.py", line 697, in render_to_fragment
base_context = _create_base_discussion_view_context(request, course_key)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/discussion/views.py", line 404, in _create_base_discussion_view_context
user_info = cc_user.to_dict()
File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/models.py", line 59, in to_dict
self.retrieve()
File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/models.py", line 64, in retrieve
self._retrieve(*args, **kwargs)
File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/user.py", line 152, in _retrieve
metric_tags=self._metric_tags,
File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/utils.py", line 119, in perform_request
content=response.text[:100]
CommentClientError: Invalid JSON response for request dc9ca942-b7bf-4681-8ab7-effcba1403b3; first 100 characters: '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></cente'
Also when the running services were checked, I do not see Forums:
samuel@localserver:/edx/bin$ sudo ./supervisorctl status
cms RUNNING pid 1956, uptime 0:00:00
edxapp_worker:cms_default_1 RUNNING pid 1962, uptime 0:00:00
edxapp_worker:cms_high_1 RUNNING pid 1959, uptime 0:00:00
edxapp_worker:cms_low_1 RUNNING pid 1957, uptime 0:00:00
edxapp_worker:lms_default_1 RUNNING pid 1960, uptime 0:00:00
edxapp_worker:lms_high_1 RUNNING pid 1965, uptime 0:00:00
edxapp_worker:lms_high_mem_1 RUNNING pid 1958, uptime 0:00:00
edxapp_worker:lms_low_1 RUNNING pid 1963, uptime 0:00:00
lms RUNNING pid 1955, uptime 0:00:00
Any help would be highly appreciated.