readthedocs / readthedocs.org

The source code that powers readthedocs.org
https://readthedocs.org/
MIT License
8.03k stars 3.58k forks source link

readthedocs self hosted , errors after installation #1619

Closed mostafahussein closed 8 years ago

mostafahussein commented 9 years ago

I have followed the steps of installation on this page , then i have a version of read the docs up and running , but the building of demo always fail , and also i cannot import docs manually , even when i try to connect to a github account i am getting this error:

DoesNotExist at /accounts/github/login/
SocialApp matching query does not exist.
Request Method: GET
Request URL:    http://SITE_NAME/accounts/github/login/?process=connect
Django Version: 1.8.3
Exception Type: DoesNotExist
Exception Value:    
SocialApp matching query does not exist.
Exception Location: /root/rtd/lib/python2.7/site-packages/django/db/models/query.py in get, line 334
Python Executable:  /root/rtd/bin/python
Python Version: 2.7.5
Python Path:    
['/root/checkouts/readthedocs.org',
 '/root/rtd/lib64/python27.zip',
 '/root/rtd/lib64/python2.7',
 '/root/rtd/lib64/python2.7/plat-linux2',
 '/root/rtd/lib64/python2.7/lib-tk',
 '/root/rtd/lib64/python2.7/lib-old',
 '/root/rtd/lib64/python2.7/lib-dynload',
 '/usr/lib64/python2.7',
 '/usr/lib/python2.7',
 '/root/rtd/lib/python2.7/site-packages',
 '/root/checkouts/readthedocs.org']
Server time:    Tue, 1 Sep 2015 07:17:54 -0500

Is there additional steps should be done after installation ?

andrecarlucci commented 9 years ago

Hi guys, I also have rtd running on a VM, followed the steps like @mostafahussein did and had the same error (github or bitbucket). Any thoughts?

tomck commented 8 years ago

This is to do with the django-allauth module, I am working on figuring this one out. pennersr/django-allauth#173 may be helpful.

agjohnson commented 8 years ago

This requires you set up a socialapp, it isn't a bug with allauth. I believe this should be covered in the allauth docs.

Closing due to inactivity.