vassilvk / readthedocs-docker

On-Premises ReadTheDocs (RTD) Docker Container
35 stars 33 forks source link

django allauth and celery issues #6

Closed ghost closed 8 years ago

ghost commented 8 years ago

I deployed your container and am finding there is more to do than is documented. I have three issues.

- The first is doc builds do nothing but trigger a build. Nothing is ever created in user-build.

- The second, search results in this output:

ConnectionError at /search/
ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fb130ee5f90>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fb130ee5f90>: Failed to establish a new connection: [Errno 111] Connection refused)
Request Method: GET
Request URL:    http://192.168.1.12:8000/search/?q=test
Django Version: 1.8.3
Exception Type: ConnectionError
Exception Value:    
ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fb130ee5f90>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fb130ee5f90>: Failed to establish a new connection: [Errno 111] Connection refused)
Exception Location: /usr/local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py in perform_request, line 85
Python Executable:  /usr/local/bin/python2
Python Version: 2.7.11
Python Path:    
['/www/readthedocs.org',
 '/usr/local/bin',
 '/www/readthedocs.org',
 '/usr/local/lib/python27.zip',
 '/usr/local/lib/python2.7',
 '/usr/local/lib/python2.7/plat-linux2',
 '/usr/local/lib/python2.7/lib-tk',
 '/usr/local/lib/python2.7/lib-old',
 '/usr/local/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/site-packages']
Server time:    Fri, 27 May 2016 01:29:34 -0500
SocialApp matching query does not exist.
Request Method: GET
Request URL:    http://192.168.1.12:8000/accounts/github/login/?process=connect
Django Version: 1.8.3
Exception Type: DoesNotExist
Exception Value:    
SocialApp matching query does not exist.
Exception Location: /usr/local/lib/python2.7/site-packages/django/db/models/query.py in get, line 334
Python Executable:  /usr/local/bin/python2
Python Version: 2.7.11
Python Path:    
['/www/readthedocs.org',
 '/usr/local/bin',
 '/www/readthedocs.org',
 '/usr/local/lib/python27.zip',
 '/usr/local/lib/python2.7',
 '/usr/local/lib/python2.7/plat-linux2',
 '/usr/local/lib/python2.7/lib-tk',
 '/usr/local/lib/python2.7/lib-old',
 '/usr/local/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/site-packages']
Server time:    Fri, 27 May 2016 01:31:31 -0500

Are there dependency services or containers required for your readthedocs container?

vassilvk commented 8 years ago

Hi @isirad. No other containers are required. I use this container to host simple doc site internally at the company I work at. We use it as is and have no issues with builds or search.

ghost commented 8 years ago

Hey man, you can close this. I tracked it down to something environmental on the docker host. Too many IT controls :^(