Skip to content

Centos7_python2.7.5 virtualenv Import project error #4122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TelDragon opened this issue May 22, 2018 · 14 comments
Closed

Centos7_python2.7.5 virtualenv Import project error #4122

TelDragon opened this issue May 22, 2018 · 14 comments

Comments

@TelDragon
Copy link

Details

Import project error
导入项目错误
Import project error
日志:
log:

[22/May/2018 03:41:18] readthedocs.doc_builder.environments:465[4290]: WARNING (Build) [51fact:latest] Command pdflatex -interaction=nonstopmode /root/rtd/checkouts/readthedocs.org/user_builds/51fact/checkouts/latest/docs/_build/latex/docs.tex failed:
Traceback (most recent call last):
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/doc_builder/environments.py", line 150, in run
    env=environment,
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

[22/May/2018 03:41:18] readthedocs.doc_builder.environments:116[4290]: INFO Running: 'makeindex -s python.ist docs.idx' [/root/rtd/checkouts/readthedocs.org/user_builds/51fact/checkouts/latest/docs/_build/latex]
[22/May/2018 03:41:18] "POST /api/v2/command/ HTTP/1.1" 201 609
[22/May/2018 03:41:18] readthedocs.doc_builder.environments:465[4290]: WARNING (Build) [51fact:latest] Command makeindex -s python.ist docs.idx failed:
Traceback (most recent call last):
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/doc_builder/environments.py", line 150, in run
    env=environment,
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

[22/May/2018 03:41:18] readthedocs.doc_builder.environments:116[4290]: INFO Running: 'pdflatex -interaction=nonstopmode /root/rtd/checkouts/readthedocs.org/user_builds/51fact/checkouts/latest/docs/_build/latex/docs.tex' [/root/rtd/checkouts/readthedocs.org/user_builds/51fact/checkouts/latest/docs/_build/latex]
[22/May/2018 03:41:18] "POST /api/v2/command/ HTTP/1.1" 201 709
[22/May/2018 03:41:18] readthedocs.doc_builder.environments:465[4290]: WARNING (Build) [51fact:latest] Command pdflatex -interaction=nonstopmode /root/rtd/checkouts/readthedocs.org/user_builds/51fact/checkouts/latest/docs/_build/latex/docs.tex failed:
Traceback (most recent call last):
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/doc_builder/environments.py", line 150, in run
    env=environment,
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

[22/May/2018 03:41:18] readthedocs.doc_builder.environments:116[4290]: INFO Running: 'python /root/rtd/checkouts/readthedocs.org/user_builds/51fact/envs/latest/bin/sphinx-build -T -b epub -d _build/doctrees-epub -D language=en . _build/epub' [/root/rtd/checkouts/readthedocs.org/user_builds/51fact/checkouts/latest/docs]
[22/May/2018 03:41:19] "POST /api/v2/command/ HTTP/1.1" 201 1521
[22/May/2018 03:41:19] readthedocs.doc_builder.environments:116[4290]: INFO Running: 'mv -f /root/rtd/checkouts/readthedocs.org/user_builds/51fact/checkouts/latest/docs/_build/epub/docs.epub /root/rtd/checkouts/readthedocs.org/user_builds/51fact/artifacts/latest/sphinx_epub/51fact.epub' [/root/rtd/checkouts/readthedocs.org]
[22/May/2018 03:41:19] "POST /api/v2/command/ HTTP/1.1" 201 370
[22/May/2018 03:41:19] readthedocs.vcs_support.utils:110[4290]: INFO Lock (51fact): Releasing
[22/May/2018 03:41:19] readthedocs.core.symlink:93[4290]: INFO (Build) [51fact:] Symlinking Version: Version stable of 51fact (23)
[22/May/2018 03:41:19] readthedocs.core.symlink:93[4290]: INFO (Build) [51fact:] Symlinking Version: Version latest of 51fact (20)
[22/May/2018 03:41:19] celery.app.trace:123[4290]: INFO Task readthedocs.projects.tasks.symlink_project[a4640752-37c3-4309-9423-0bd160ecf998] succeeded in 0.03516559s: None
[22/May/2018 03:41:19] "PATCH /api/v2/version/20/ HTTP/1.1" 200 951
[22/May/2018 03:41:19] readthedocs.projects.tasks:1125[4290]: INFO Removing /root/rtd/checkouts/readthedocs.org/media/pdf/51fact/latest/51fact.pdf
[22/May/2018 03:41:19] readthedocs.builds.syncers:30[4290]: INFO Local Copy /root/rtd/checkouts/readthedocs.org/user_builds/51fact/artifacts/latest/sphinx to /root/rtd/checkouts/readthedocs.org/user_builds/51fact/rtd-builds/latest
[22/May/2018 03:41:19] readthedocs.builds.syncers:30[4290]: INFO Local Copy /root/rtd/checkouts/readthedocs.org/user_builds/51fact/artifacts/latest/sphinx_search to /root/rtd/checkouts/readthedocs.org/media/json/51fact/latest
[22/May/2018 03:41:19] readthedocs.builds.syncers:30[4290]: INFO Local Copy /root/rtd/checkouts/readthedocs.org/user_builds/51fact/artifacts/latest/sphinx_localmedia to /root/rtd/checkouts/readthedocs.org/media/htmlzip/51fact/latest
[22/May/2018 03:41:19] readthedocs.builds.syncers:30[4290]: INFO Local Copy /root/rtd/checkouts/readthedocs.org/user_builds/51fact/artifacts/latest/sphinx_epub to /root/rtd/checkouts/readthedocs.org/media/epub/51fact/latest
[22/May/2018 03:41:19] readthedocs.core.symlink:93[4290]: INFO (Build) [51fact:] Symlinking Version: Version stable of 51fact (23)
[22/May/2018 03:41:19] readthedocs.core.symlink:93[4290]: INFO (Build) [51fact:] Symlinking Version: Version latest of 51fact (20)
[22/May/2018 03:41:19] readthedocs.projects.tasks:1091[4290]: INFO (Build) [51fact:] Updating static metadata
[22/May/2018 03:41:19] celery.app.trace:123[4290]: INFO Task readthedocs.projects.tasks.sync_files[d7e8a7cf-7da2-4095-8df1-cab1c9d9f654] succeeded in 0.058491678s: None
[22/May/2018 03:41:19] readthedocs.projects.tasks:928[4290]: INFO (Build) [51fact:latest] Creating ImportedFiles
[22/May/2018 03:41:20] readthedocs.projects.tasks:837[4290]: INFO (Search Index) Sending Data: 51fact [index]
[22/May/2018 03:41:20] readthedocs.restapi.utils:104[4290]: INFO Updating search index: project=51fact pages=[index]
[22/May/2018 03:41:20] celery.app.trace:248[4290]: ERROR Task readthedocs.projects.tasks.sync_callback[75a60ce7-6ba1-439f-9020-771ac6c53799] raised unexpected: ConnectionError('N/A', '<urllib3.connection.HTTPConnection object at 0x7fc2e10442d0>: Failed to establish a new connection: [Errno 111] Connection refused', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc2e10442d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
Traceback (most recent call last):
  File "/root/rtd/lib/python2.7/site-packages/celery/app/trace.py", line 374, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/projects/tasks.py", line 1178, in sync_callback
    update_search(version_pk, commit=commit)
  File "/root/rtd/lib/python2.7/site-packages/celery/local.py", line 191, in __call__
    return self._get_current_object()(*a, **kw)
  File "/root/rtd/lib/python2.7/site-packages/celery/app/task.py", line 380, in __call__
    return self.run(*args, **kwargs)
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/projects/tasks.py", line 847, in update_search
    delete=delete_non_commit_files,
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/restapi/utils.py", line 118, in index_search_request
    'weight': project_scale,
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/search/indexes.py", line 156, in index_document
    self.es.index(**kwargs)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 69, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/client/__init__.py", line 254, in index
    _make_path(index, doc_type, id), params=params, body=body)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/transport.py", line 307, in perform_request
    status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 85, in perform_request
    raise ConnectionError('N/A', str(e), e)
ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fc2e10442d0>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fc2e10442d0>: Failed to establish a new connection: [Errno 111] Connection refused)

Expected Result

error1
error2
A description of what you wanted to happen
I want the normal import deployment Ask for help
我想要正常导入部署 请求帮助

Actual Result

A description of what actually happened

@stsewd stsewd added the Support Support question label May 22, 2018
@stsewd
Copy link
Member

stsewd commented May 22, 2018

Are you doing a local installation of rtd? I think you are missing some dependencies for pdf generation, you can try to unmark pdf and epub generation for the project on the Admin section.

@TelDragon
Copy link
Author

Yes!

I read the log “pdflatex” error.
However, the installation document does not seem to indicate the need to install this dependency.
Please give a specific operation.
Thank you。

@stsewd
Copy link
Member

stsewd commented May 23, 2018

if you want to use internally, I think the packages are documented somewhere in https://docs.readthedocs.io/en/latest/custom_installs/index.html. But, rtd uses docker images on production https://github.com/rtfd/readthedocs-docker-images

@TelDragon
Copy link
Author

Well。 I'll get to know it first.
but docker The mirror is too big Go beyond 2G。The environment is not allowed

@TelDragon
Copy link
Author

Hello,My local environment is Centos7 .
According to the documents you provide
https://docs.readthedocs.io/en/latest/install.html
System dependence I have all installed

python-devel python-pip libxml2-devel libxslt-devel 

pip install requirements.txt

Package                      Version  
---------------------------- ---------
alabaster                    0.7.10   
amqp                         2.2.2    
appdirs                      1.4.3    
Babel                        2.5.3    
backports-abc                0.5      
backports.ssl-match-hostname 3.5.0.1  
beautifulsoup4               4.6.0    
billiard                     3.5.0.3  
celery                       4.1.0    
certifi                      2018.4.16
chardet                      3.0.4    
click                        6.7      
CommonMark                   0.5.5    
cssselect                    1.0.3    
defusedxml                   0.5.0    
dj-pagination                2.3.2    
Django                       1.9.13   
django-allauth               0.32.0   
django-annoying              0.10.4   
django-cors-middleware       1.3.1    
django-extensions            2.0.6    
django-formtools             2.1      
django-gravatar2             1.4.2    
django-guardian              1.4.9    
django-kombu                 0.9.4    
django-messages-extends      0.6.0    
django-taggit                0.22.2   
django-tastypie              0.13.0   
django-textclassifier        1.0      
django-vanilla-views         1.0.5    
djangorestframework          3.6.4    
djangorestframework-jsonp    1.0.2    
dnspython                    1.15.0   
docker                       3.1.3    
docker-pycreds               0.2.3    
docutils                     0.14     
elasticsearch                1.5.0    
funcsigs                     1.0.2    
future                       0.16.0   
futures                      3.2.0    
gitdb2                       2.0.3    
GitPython                    2.1.9    
httplib2                     0.11.3   
idna                         2.6      
imagesize                    1.0.0    
ipaddress                    1.0.22   
Jinja2                       2.10     
jsonfield                    2.0.2    
kombu                        4.2.0    
livereload                   2.5.2    
lxml                         4.2.1    
Markdown                     2.6.11   
MarkupSafe                   1.0      
mimeparse                    0.1.3    
mkdocs                       0.15.0   
mkdocs-bootstrap             0.2.0    
mkdocs-bootswatch            0.5.0    
mock                         2.0.0    
nilsimsa                     0.3.8    
nltk                         3.3      
oauthlib                     2.0.7    
packaging                    17.1     
pbr                          4.0.3    
pip                          10.0.0   
pyelasticsearch              0.7.1    
Pygments                     2.2.0    
pyparsing                    2.2.0    
pyquery                      1.4.0    
python-dateutil              2.7.3    
python-mimeparse             1.6.0    
python-openid                2.2.5    
pytz                         2018.4   
PyYAML                       3.12     
readthedocs-build            2.0.9    
readthedocs-sphinx-ext       0.5.10   
recommonmark                 0.4.0    
redis                        2.10.6   
requests                     2.18.4   
requests-oauthlib            0.8.0    
setuptools                   39.2.0   
simplejson                   3.15.0   
singledispatch               3.4.0.3  
six                          1.11.0   
slumber                      0.7.1    
smmap2                       2.0.3    
snowballstemmer              1.2.1    
Sphinx                       1.7.4    
sphinx-rtd-theme             0.2.5b1  
sphinxcontrib-httpdomain     1.6.1    
sphinxcontrib-websupport     1.0.1    
stripe                       1.20.2   
textblob                     0.15.1   
tornado                      5.0.2    
typing                       3.6.4    
Unipath                      1.1      
urllib3                      1.22     
vine                         1.1.4    
virtualenv                   15.2.0   
websocket-client             0.47.0   
wheel                        0.31.1   

It's really impossible to tell which dependence is missing

@stsewd
Copy link
Member

stsewd commented May 23, 2018

I think the dependencies you are looking for are https://github.com/rtfd/readthedocs-docker-images/blob/master/Dockerfile#L38

@TelDragon
Copy link
Author

Thank you very much for solving the problem of dependency. Because the operating system is different, I can only use the stupid method "Yum install texlive* latex*".

But there is still one remaining problem.

[22/May/2018 21:03:48] celery.app.trace:248[4119]: ERROR Task readthedocs.projects.tasks.sync_callback[00e352c7-1a30-4e55-845e-bcc405cfe359] raised unexpected: ConnectionError('N/A', '<urllib3.connection.HTTPConnection object at 0x7f8542695510>: Failed to establish a new connection: [Errno 111] Connection refused', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8542695510>: Failed to establish a new connection: [Errno 111] Connection refused',))
Traceback (most recent call last):
  File "/root/rtd/lib/python2.7/site-packages/celery/app/trace.py", line 374, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/projects/tasks.py", line 1178, in sync_callback
    update_search(version_pk, commit=commit)
  File "/root/rtd/lib/python2.7/site-packages/celery/local.py", line 191, in __call__
    return self._get_current_object()(*a, **kw)
  File "/root/rtd/lib/python2.7/site-packages/celery/app/task.py", line 380, in __call__
    return self.run(*args, **kwargs)
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/projects/tasks.py", line 847, in update_search
    delete=delete_non_commit_files,
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/restapi/utils.py", line 118, in index_search_request
    'weight': project_scale,
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/search/indexes.py", line 156, in index_document
    self.es.index(**kwargs)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 69, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/client/__init__.py", line 254, in index
    _make_path(index, doc_type, id), params=params, body=body)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/transport.py", line 307, in perform_request
    status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 85, in perform_request
    raise ConnectionError('N/A', str(e), e)
ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f8542695510>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f8542695510>: Failed to establish a new connection: [Errno 111] Connection refused)
[22/May/2018 21:03:49] "PUT /api/v2/build/13/ HTTP/1.1" 200 34930

@stsewd
Copy link
Member

stsewd commented May 23, 2018

That's an elastic search problem. The site can work without it. Here is a guide in progress to install and setup ES #3881

@TelDragon
Copy link
Author

Thank you very much for your support!

Elasticsearch I have installed and run on the server.

[22/May/2018 21:28:56] "PUT /api/v2/build/18/ HTTP/1.1" 200 362
[22/May/2018 21:28:56] readthedocs.projects.tasks:273[6125]: INFO (Build) [ddd:latest] Updating docs from VCS
[22/May/2018 21:28:56] readthedocs.projects.tasks:273[6125]: INFO (Build) [ddd:latest] Checking out version latest: master
[22/May/2018 21:28:56] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'git status' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest]
[22/May/2018 21:28:56] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'git remote set-url origin https://github.com/TelDragon/Dragon.git' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest]
[22/May/2018 21:28:56] "POST /api/v2/command/ HTTP/1.1" 201 237
[22/May/2018 21:28:56] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'git fetch --tags --prune' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest]
[22/May/2018 21:28:57] "POST /api/v2/command/ HTTP/1.1" 201 196
[22/May/2018 21:28:57] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'git checkout --force origin/master' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest]
[22/May/2018 21:28:57] "POST /api/v2/command/ HTTP/1.1" 201 252
[22/May/2018 21:28:57] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'git clean -d -f -f' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest]
[22/May/2018 21:28:57] "POST /api/v2/command/ HTTP/1.1" 201 234
[22/May/2018 21:28:57] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'git submodule status' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest]
[22/May/2018 21:28:58] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'git show-ref --tags' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest]
[22/May/2018 21:28:58] readthedocs.doc_builder.environments:190[6125]: WARNING Recording command exit_code as success
[22/May/2018 21:28:58] "POST /api/v2/command/ HTTP/1.1" 201 191
[22/May/2018 21:28:58] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'git branch -r' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest]
[22/May/2018 21:28:58] readthedocs.doc_builder.environments:190[6125]: WARNING Recording command exit_code as success
[22/May/2018 21:28:58] "POST /api/v2/command/ HTTP/1.1" 201 230
[22/May/2018 21:28:58] "POST /api/v2/project/25/sync_versions/ HTTP/1.1" 200 43
[22/May/2018 21:28:58] readthedocs.vcs_support.utils:110[6125]: INFO Lock (ddd): Releasing
[22/May/2018 21:28:58] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'git rev-parse HEAD' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest]
[22/May/2018 21:28:58] readthedocs.doc_builder.environments:433[6125]: INFO (Build) [ddd:latest] Build finished
[22/May/2018 21:28:58] "GET /api/v2/project/25/ HTTP/1.1" 200 654
[22/May/2018 21:28:58] readthedocs.projects.models:333[6125]: INFO Re-symlinking project and subprojects: project=ddd
[22/May/2018 21:28:58] readthedocs.core.symlink:93[6125]: INFO (Build) [ddd:] Symlinking Version: Version latest of ddd (24)
[22/May/2018 21:28:58] celery.app.trace:123[6125]: INFO Task readthedocs.projects.tasks.symlink_project[e2d7e832-2222-4663-a114-314d5a80259f] succeeded in 0.030874001s: None
[22/May/2018 21:28:58] readthedocs.projects.models:342[6125]: INFO Re-symlinking superprojects: project=ddd
[22/May/2018 21:28:58] readthedocs.projects.tasks:1091[6125]: INFO (Build) [ddd:] Updating static metadata
[22/May/2018 21:28:58] celery.app.trace:123[6125]: INFO Task readthedocs.projects.tasks.update_static_metadata[a923e80b-1d9d-43d1-96e1-b9bdd249cb7a] succeeded in 0.0134533100004s: None
[22/May/2018 21:28:58] "PUT /api/v2/project/25/ HTTP/1.1" 200 654
[22/May/2018 21:28:58] "PUT /api/v2/build/18/ HTTP/1.1" 200 1748
[22/May/2018 21:28:58] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'python2.7 -mvirtualenv --no-site-packages --no-download /root/rtd/checkouts/readthedocs.org/user_builds/ddd/envs/latest' [/root/rtd/checkouts/readthedocs.org]
[22/May/2018 21:29:01] "POST /api/v2/command/ HTTP/1.1" 201 764
[22/May/2018 21:29:01] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'python /root/rtd/checkouts/readthedocs.org/user_builds/ddd/envs/latest/bin/pip install --use-wheel --upgrade --cache-dir /root/rtd/checkouts/readthedocs.org/user_builds/ddd/.cache/pip Pygments==2.2.0 setuptools<40 docutils==0.13.1 mock==1.0.1 pillow==2.6.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.5.4 recommonmark==0.4.0 sphinx==1.7.4 sphinx-rtd-theme<0.4 readthedocs-sphinx-ext<0.6' [/root/rtd/checkouts/readthedocs.org]
[22/May/2018 21:29:03] "POST /api/v2/command/ HTTP/1.1" 201 4304
[22/May/2018 21:29:03] readthedocs.vcs_support.utils:110[6125]: INFO Lock (ddd): Releasing
[22/May/2018 21:29:03] "PUT /api/v2/build/18/ HTTP/1.1" 200 6814
[22/May/2018 21:29:03] "GET /api/v2/project/25/active_versions/ HTTP/1.1" 200 601
[22/May/2018 21:29:03] "GET /api/v2/version/24/ HTTP/1.1" 200 923
[22/May/2018 21:29:03] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'git rev-parse HEAD' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest]
[22/May/2018 21:29:03] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'cat docs/conf.py' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest]
[22/May/2018 21:29:03] "POST /api/v2/command/ HTTP/1.1" 201 5374
[22/May/2018 21:29:03] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'python /root/rtd/checkouts/readthedocs.org/user_builds/ddd/envs/latest/bin/sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs]
[22/May/2018 21:29:05] "POST /api/v2/command/ HTTP/1.1" 201 2229
[22/May/2018 21:29:05] readthedocs.doc_builder.base:67[6125]: INFO Copying sphinx on the local filesystem
[22/May/2018 21:29:05] readthedocs.doc_builder.base:68[6125]: INFO Ignoring patterns []
[22/May/2018 21:29:05] readthedocs.builds.syncers:30[6125]: INFO Local Copy /root/rtd/checkouts/readthedocs.org/user_builds/ddd/artifacts/latest/sphinx to /root/rtd/checkouts/readthedocs.org/user_builds/ddd/rtd-builds/latest
[22/May/2018 21:29:05] celery.app.trace:123[6125]: INFO Task readthedocs.projects.tasks.move_files[5bf913e4-0f7a-4bf5-afa9-c8d265147b31] succeeded in 0.021190723s: None
[22/May/2018 21:29:05] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'python /root/rtd/checkouts/readthedocs.org/user_builds/ddd/envs/latest/bin/sphinx-build -T -b json -d _build/doctrees-json -D language=en . _build/json' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs]
[22/May/2018 21:29:06] "POST /api/v2/command/ HTTP/1.1" 201 2153
[22/May/2018 21:29:06] readthedocs.doc_builder.base:67[6125]: INFO Copying sphinx_search on the local filesystem
[22/May/2018 21:29:06] readthedocs.doc_builder.base:68[6125]: INFO Ignoring patterns [u'_static']
[22/May/2018 21:29:06] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'python /root/rtd/checkouts/readthedocs.org/user_builds/ddd/envs/latest/bin/sphinx-build -T -b readthedocssinglehtmllocalmedia -d _build/doctrees-readthedocssinglehtmllocalmedia -D language=en . _build/localmedia' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs]
[22/May/2018 21:29:07] "POST /api/v2/command/ HTTP/1.1" 201 2060
[22/May/2018 21:29:07] readthedocs.doc_builder.backends.sphinx:250[6125]: INFO Creating zip file from /root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs/_build/localmedia
[22/May/2018 21:29:07] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'python /root/rtd/checkouts/readthedocs.org/user_builds/ddd/envs/latest/bin/sphinx-build -b latex -D language=en -d _build/doctrees . _build/latex' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs]
[22/May/2018 21:29:08] "POST /api/v2/command/ HTTP/1.1" 201 1823
[22/May/2018 21:29:08] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'pdflatex -interaction=nonstopmode /root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs/_build/latex/ddd.tex' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs/_build/latex]
[22/May/2018 21:29:08] "POST /api/v2/command/ HTTP/1.1" 201 3437
[22/May/2018 21:29:08] readthedocs.doc_builder.environments:465[6125]: WARNING (Build) [ddd:latest] Command pdflatex -interaction=nonstopmode /root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs/_build/latex/ddd.tex failed:
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
 restricted \write18 enabled.
entering extended mode

(/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs/_bui
ld/latex/ddd.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, uk
rainian, russian, bulgarian, loaded.
(./sphinxmanual.cls
Document Class: sphinxmanual 2017/03/26 v1.6 Document class (Sphinx manual)
(/usr/share/texlive/texmf-dist/tex/latex/base/report.cls
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/share/texlive/texmf-dist/tex/latex/cmap/cmap.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def)<<t1.cmap>>)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
(/usr/share/texlive/texmf-dist/tex/generic/babel/english.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def)))
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/times.sty)
(/usr/share/texlive/texmf-dist/tex/latex/fncychap/fncychap.sty) (./sphinx.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty))))
(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.dfu)))
(/usr/share/texlive/texmf-dist/tex/latex/titlesec/titlesec.sty)

! LaTeX Error: File `tabulary.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 
         
l.74 \newcolumntype
                   {\X}[2]{p{\dimexpr^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on ddd.log.

[22/May/2018 21:29:08] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'makeindex -s python.ist ddd.idx' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs/_build/latex]
[22/May/2018 21:29:08] "POST /api/v2/command/ HTTP/1.1" 201 320
[22/May/2018 21:29:08] readthedocs.doc_builder.environments:465[6125]: WARNING (Build) [ddd:latest] Command makeindex -s python.ist ddd.idx failed:
Input index file ddd.idx not found.
Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]

[22/May/2018 21:29:08] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'pdflatex -interaction=nonstopmode /root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs/_build/latex/ddd.tex' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs/_build/latex]
[22/May/2018 21:29:08] "POST /api/v2/command/ HTTP/1.1" 201 3437
[22/May/2018 21:29:08] readthedocs.doc_builder.environments:465[6125]: WARNING (Build) [ddd:latest] Command pdflatex -interaction=nonstopmode /root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs/_build/latex/ddd.tex failed:
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
 restricted \write18 enabled.
entering extended mode

(/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs/_bui
ld/latex/ddd.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, uk
rainian, russian, bulgarian, loaded.
(./sphinxmanual.cls
Document Class: sphinxmanual 2017/03/26 v1.6 Document class (Sphinx manual)
(/usr/share/texlive/texmf-dist/tex/latex/base/report.cls
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/share/texlive/texmf-dist/tex/latex/cmap/cmap.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def)<<t1.cmap>>)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
(/usr/share/texlive/texmf-dist/tex/generic/babel/english.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def)))
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/times.sty)
(/usr/share/texlive/texmf-dist/tex/latex/fncychap/fncychap.sty) (./sphinx.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty))))
(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.dfu)))
(/usr/share/texlive/texmf-dist/tex/latex/titlesec/titlesec.sty)

! LaTeX Error: File `tabulary.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 
         
l.74 \newcolumntype
                   {\X}[2]{p{\dimexpr^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on ddd.log.

[22/May/2018 21:29:08] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'python /root/rtd/checkouts/readthedocs.org/user_builds/ddd/envs/latest/bin/sphinx-build -T -b epub -d _build/doctrees-epub -D language=en . _build/epub' [/root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs]
[22/May/2018 21:29:09] "POST /api/v2/command/ HTTP/1.1" 201 2214
[22/May/2018 21:29:09] readthedocs.doc_builder.environments:116[6125]: INFO Running: 'mv -f /root/rtd/checkouts/readthedocs.org/user_builds/ddd/checkouts/latest/docs/_build/epub/ddd.epub /root/rtd/checkouts/readthedocs.org/user_builds/ddd/artifacts/latest/sphinx_epub/ddd.epub' [/root/rtd/checkouts/readthedocs.org]
[22/May/2018 21:29:09] "POST /api/v2/command/ HTTP/1.1" 201 362
[22/May/2018 21:29:09] readthedocs.vcs_support.utils:110[6125]: INFO Lock (ddd): Releasing
[22/May/2018 21:29:09] readthedocs.core.symlink:93[6125]: INFO (Build) [ddd:] Symlinking Version: Version latest of ddd (24)
[22/May/2018 21:29:09] celery.app.trace:123[6125]: INFO Task readthedocs.projects.tasks.symlink_project[186f057f-d654-448c-ae83-8bd15ab5261d] succeeded in 0.0361405049998s: None
[22/May/2018 21:29:09] "PATCH /api/v2/version/24/ HTTP/1.1" 200 923
[22/May/2018 21:29:09] readthedocs.projects.tasks:1125[6125]: INFO Removing /root/rtd/checkouts/readthedocs.org/media/pdf/ddd/latest/ddd.pdf
[22/May/2018 21:29:09] readthedocs.builds.syncers:30[6125]: INFO Local Copy /root/rtd/checkouts/readthedocs.org/user_builds/ddd/artifacts/latest/sphinx to /root/rtd/checkouts/readthedocs.org/user_builds/ddd/rtd-builds/latest
[22/May/2018 21:29:09] readthedocs.builds.syncers:30[6125]: INFO Local Copy /root/rtd/checkouts/readthedocs.org/user_builds/ddd/artifacts/latest/sphinx_search to /root/rtd/checkouts/readthedocs.org/media/json/ddd/latest
[22/May/2018 21:29:09] readthedocs.builds.syncers:30[6125]: INFO Local Copy /root/rtd/checkouts/readthedocs.org/user_builds/ddd/artifacts/latest/sphinx_localmedia to /root/rtd/checkouts/readthedocs.org/media/htmlzip/ddd/latest
[22/May/2018 21:29:09] readthedocs.builds.syncers:30[6125]: INFO Local Copy /root/rtd/checkouts/readthedocs.org/user_builds/ddd/artifacts/latest/sphinx_epub to /root/rtd/checkouts/readthedocs.org/media/epub/ddd/latest
[22/May/2018 21:29:09] readthedocs.core.symlink:93[6125]: INFO (Build) [ddd:] Symlinking Version: Version latest of ddd (24)
[22/May/2018 21:29:09] readthedocs.projects.tasks:1091[6125]: INFO (Build) [ddd:] Updating static metadata
[22/May/2018 21:29:09] celery.app.trace:123[6125]: INFO Task readthedocs.projects.tasks.sync_files[4a68aab8-77b8-497e-997c-210f96a29d38] succeeded in 0.0788503500003s: None
[22/May/2018 21:29:09] readthedocs.projects.tasks:928[6125]: INFO (Build) [ddd:latest] Creating ImportedFiles
[22/May/2018 21:29:10] readthedocs.projects.tasks:837[6125]: INFO (Search Index) Sending Data: ddd [guacamole_install_zh index openwrt_lede_Centos_build]
[22/May/2018 21:29:10] readthedocs.restapi.utils:104[6125]: INFO Updating search index: project=ddd pages=[guacamole_install_zh index openwrt_lede_Centos_build]
[22/May/2018 21:29:10] celery.app.trace:248[6125]: ERROR Task readthedocs.projects.tasks.sync_callback[093da046-a77c-4ee0-b678-15b6aa1b8e32] raised unexpected: RequestError(400, u'illegal_argument_exception', {u'status': 400, u'error': {u'root_cause': [{u'reason': u"Can't specify parent if no parent field has been configured", u'type': u'illegal_argument_exception'}], u'type': u'illegal_argument_exception', u'reason': u"Can't specify parent if no parent field has been configured"}})
Traceback (most recent call last):
  File "/root/rtd/lib/python2.7/site-packages/celery/app/trace.py", line 374, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/projects/tasks.py", line 1178, in sync_callback
    update_search(version_pk, commit=commit)
  File "/root/rtd/lib/python2.7/site-packages/celery/local.py", line 191, in __call__
    return self._get_current_object()(*a, **kw)
  File "/root/rtd/lib/python2.7/site-packages/celery/app/task.py", line 380, in __call__
    return self.run(*args, **kwargs)
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/projects/tasks.py", line 847, in update_search
    delete=delete_non_commit_files,
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/restapi/utils.py", line 169, in index_search_request
    page_obj.bulk_index(index_list, parent=project.slug, routing=route)
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/search/indexes.py", line 142, in bulk_index
    bulk_index(self.es, docs, chunk_size=chunk_size)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 182, in bulk
    for ok, item in streaming_bulk(client, actions, **kwargs):
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 124, in streaming_bulk
    raise e
RequestError: TransportError(400, u'illegal_argument_exception')
[22/May/2018 21:29:10] "PUT /api/v2/build/18/ HTTP/1.1" 200 30235
[22/May/2018 21:29:10] readthedocs.doc_builder.environments:433[6125]: INFO (Build) [ddd:latest] Build finished
[22/May/2018 21:29:10] celery.app.trace:123[6125]: INFO Task readthedocs.projects.tasks.send_notifications[2bfedcf7-abc1-4b18-baa3-af0d79f18756] succeeded in 0.00568905299997s: None
[22/May/2018 21:29:10] celery.app.trace:123[6125]: INFO Task readthedocs.projects.tasks.update_docs[0b08df4e-421b-4067-be9f-857536401c12] succeeded in 14.734317768s: True

@TelDragon
Copy link
Author

Is it because my Elasticsearch version is too high?

I installed 2X

@TelDragon
Copy link
Author

When I dropped the Elasticsearch version to 1.3.8

[root@iZ2ze5gd5n5zjp1hno2pz8Z ~]# systemctl status elasticsearch.service
● elasticsearch.service - Starts and stops a single elasticsearch instance on this system
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-05-23 11:10:27 CST; 6min ago
     Docs: http://www.elasticsearch.org
 Main PID: 652 (java)
   CGroup: /system.slice/elasticsearch.service
           └─652 /bin/java -Xms256m -Xmx1g -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -Delasticsearch -Des....

May 23 11:10:26 iZ2ze5gd5n5zjp1hno2pz8Z systemd[1]: Starting Starts and stops a single elasticsearch instance on this system...
May 23 11:10:26 iZ2ze5gd5n5zjp1hno2pz8Z systemd[1]: PID file /var/run/elasticsearch/elasticsearch.pid not readable (yet?) after start.
May 23 11:10:27 iZ2ze5gd5n5zjp1hno2pz8Z systemd[1]: Started Starts and stops a single elasticsearch instance on this system.
[root@iZ2ze5gd5n5zjp1hno2pz8Z ~]# netstat -ano | grep 9200
tcp        0      0 0.0.0.0:9200            0.0.0.0:*               LISTEN      off (0.00/0/0)
[root@iZ2ze5gd5n5zjp1hno2pz8Z ~]# 
[22/May/2018 22:14:59] celery.app.trace:248[3962]: ERROR Task readthedocs.projects.tasks.sync_callback[cb3c2ee2-80ce-485e-97b2-03dcb1282c2c] raised unexpected: ConnectionTimeout('TIMEOUT', "HTTPConnectionPool(host=u'127.0.0.1', port=9200): Read timed out. (read timeout=10)", ReadTimeoutError("HTTPConnectionPool(host=u'127.0.0.1', port=9200): Read timed out. (read timeout=10)",))
Traceback (most recent call last):
  File "/root/rtd/lib/python2.7/site-packages/celery/app/trace.py", line 374, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/projects/tasks.py", line 1178, in sync_callback
    update_search(version_pk, commit=commit)
  File "/root/rtd/lib/python2.7/site-packages/celery/local.py", line 191, in __call__
    return self._get_current_object()(*a, **kw)
  File "/root/rtd/lib/python2.7/site-packages/celery/app/task.py", line 380, in __call__
    return self.run(*args, **kwargs)
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/projects/tasks.py", line 847, in update_search
    delete=delete_non_commit_files,
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/restapi/utils.py", line 118, in index_search_request
    'weight': project_scale,
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/search/indexes.py", line 156, in index_document
    self.es.index(**kwargs)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 69, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/client/__init__.py", line 254, in index
    _make_path(index, doc_type, id), params=params, body=body)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/transport.py", line 307, in perform_request
    status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
  File "/root/rtd/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 82, in perform_request
    raise ConnectionTimeout('TIMEOUT', str(e), e)
ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host=u'127.0.0.1', port=9200): Read timed out. (read timeout=10))
[22/May/2018 22:14:59] "PUT /api/v2/build/22/ HTTP/1.1" 200 30235

@TelDragon
Copy link
Author

open url ip:prot

{
  "status" : 200,
  "name" : "Wolf",
  "version" : {
    "number" : "1.3.8",
    "build_hash" : "475733ee0837fba18c00c3ee76cd49a08755550c",
    "build_timestamp" : "2015-02-11T14:45:42Z",
    "build_snapshot" : false,
    "lucene_version" : "4.9"
  },
  "tagline" : "You Know, for Search"
}

@stsewd
Copy link
Member

stsewd commented May 23, 2018

Sorry, I'm not familiar with ES, hope someone else can help here.

@stsewd
Copy link
Member

stsewd commented Jun 25, 2018

We have a guide to setup ES https://docs.readthedocs.io/en/latest/custom_installs/elasticsearch.html and as mention in #4155 (comment) we only support Ubuntu.

@stsewd stsewd closed this as completed Jun 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants