2017-04-25 33 views
1

我已经安装了local instance of Readthedocs server,但无论何时我尝试构建github存储库,应用程序都卡在触发状态!Readthedocs本地服务器在构建期间卡住触发状态

enter image description here

没有错误或异常,只需定期信息消息:

[25/Apr/2017 14:21:11] INFO [readthedocs.projects.utils:81] Running: 'ln -nsf /var/www/my-project/user_builds/test1/rtd-builds/latest /var/www/my-project/public_web_root/test1/en/latest' [/var/www/my-project] 
[25/Apr/2017 14:21:11] INFO [readthedocs.projects.tasks:844] (Build) [test1:] Updating static metadata 

任何想法,这可能是造成这个问题?

+0

可能与一个未解决的问题有关:https://github.com/rtfd/readthedocs.org/issues/2471 –

回答

0

所以我有这个问题,似乎有很多不同的事情可能会导致它,因为我已经在不同的论坛上看到关于它的各种帖子,但没有公布的解决方案帮助我。我唯一拥有书籍的贴子是this github issue

对于我我发现如果我运行命令python manage.py runserver 0.0.0.0:8000就会生成文档,但如果我使用我的计算机ip地址,将会卡住触发状态;该解决方案是使用上面的命令,而是添加以下readthedocs /设置/ local_settings.py:

import os 

# Set this to the root domain where this RTD installation will be running 
PRODUCTION_DOMAIN = os.getenv('RTD_PRODUCTION_DOMAIN', '10.x.x.x:8000') 

# Enable private Git doc repositories 
ALLOW_PRIVATE_REPOS = True 

好运。