Hi,
 I have been getting the same issue, by any chance did you get a solution 
for this?

On Tuesday, November 22, 2016 at 3:52:47 PM UTC+3, rkatao...@gmail.com 
wrote:
>
> Hi all,
>
> I'm running a native OpenedX Ubuntu instance on a production server and 
> using devstack to develop locally.
>
> Everything works fine with the original production instance, but as I try 
> to clone my development edx-platform folder into my production environment 
> I keep getting the 'Server error' page.
>
> Here are some logs:
>
> Nginx error.log:
>
> 2016/11/22 12:38:15 [error] 28641#28641: *322 connect() failed (111: 
> Connection refused) while connecting to upstream, client: my-ip, server: , 
> request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/";, host: 
> "my-host"
>
> Supervisor lms-stderr.log:
>
> IOError: [Errno 2] No such file or directory: 
> '/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/js/src/lti/lti.js'
> Traceback (most recent call last):
>   File "/edx/app/edxapp/venvs/edxapp/bin/gunicorn", line 11, in <module>
>     sys.exit(run())
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py",
>  
> line 36, in run
>     WSGIApplication("%(prog)s [OPTIONS] APP_MODULE").run()
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/app/base.py",
>  
> line 135, in run
>     Arbiter(self).run()
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/arbiter.py",
>  
> line 59, in __init__
>     self.setup(app)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/arbiter.py",
>  
> line 111, in setup
>     self.app.wsgi()
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/app/base.py",
>  
> line 106, in wsgi
>     self.callable = self.load()
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py",
>  
> line 27, in load
>     return util.import_app(self.app_uri)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/util.py",
>  
> line 353, in import_app
>     __import__(module)
>   File "/edx/app/edxapp/edx-platform/lms/wsgi.py", line 26, in <module>
>     startup.run()
>   File "/edx/app/edxapp/edx-platform/lms/startup.py", line 52, in run
>     django.setup()
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/__init__.py",
>  
> line 18, in setup
>     apps.populate(settings.INSTALLED_APPS)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/registry.py",
>  
> line 108, in populate
>     app_config.import_models(all_models)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/config.py",
>  
> line 198, in import_models
>     self.models_module = import_module(models_module_name)
>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in 
> import_module
>     __import__(name)
>   File "/edx/app/edxapp/edx-platform/lms/djangoapps/bulk_email/models.py", 
> line 12, in <module>
>     from openedx.core.djangoapps.course_groups.cohorts import 
> get_cohort_by_name
>   File 
> "/edx/app/edxapp/edx-platform/openedx/core/djangoapps/course_groups/cohorts.py",
>  
> line 14, in <module>
>     from courseware import courses
>   File 
> "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/courses.py", line 
> 32, in <module>
>     from courseware.module_render import get_module
>   File 
> "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/module_render.py", 
> line 77, in <module>
>     from xmodule.lti_module import LTIModule
>   File 
> "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/lti_module.py", 
> line 249, in <module>
>     class LTIModule(LTIFields, LTI20ModuleMixin, XModule):
>   File 
> "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/lti_module.py", 
> line 332, in LTIModule
>     resource_string(__name__, 'js/src/lti/lti.js')
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
>  
> line 1173, in resource_string
>     self, resource_name
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
>  
> line 1605, in get_resource_string
>     return self._get(self._fn(self.module_path, resource_name))
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
>  
> line 1728, in _get
>     with open(path, 'rb') as stream:
>
> Supervisor's edxapp and edxapp_workers keep alternating between "Running" 
> and "Starting".
>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/23d3865a-554d-4e75-a32c-77e519bd907c%40googlegroups.com.

Reply via email to