Skip to content
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

Local VM Install #1762

Closed
MustafaHaddara opened this issue Oct 15, 2015 · 4 comments
Closed

Local VM Install #1762

MustafaHaddara opened this issue Oct 15, 2015 · 4 comments

Comments

@MustafaHaddara
Copy link

I've set up a local vm install as per the instructions on the wiki http://docs.readthedocs.org/en/latest/custom_installs/local_rtd_vm.html

After logging in and clicking the automatic "build our demo project" button, my build is stuck at the Triggered state.

Logs when I trigger a build:

[15/Oct/2015 16:31:14] INFO [readthedocs.projects.tasks:809] (Build) [root-demo:] Updating static metadata
[15/Oct/2015 16:31:15] INFO [readthedocs.core.utils:24] Running mkdir -p /home/mustafa/Downloads/readthedocs.org-master/user_builds/root-demo/translations on app servers
[15/Oct/2015 16:31:15] INFO [readthedocs.core.utils:24] Running ln -nsf /home/mustafa/Downloads/readthedocs.org-master/user_builds/root-demo/rtd-builds /home/mustafa/Downloads/readthedocs.org-master/user_builds/root-demo/translations/en on app servers
ln: cannot remove ‘/home/mustafa/Downloads/readthedocs.org-master/user_builds/root-demo/translations/en’: Permission denied
[15/Oct/2015 16:31:15] INFO [readthedocs.core.utils:24] Running rm -f /home/mustafa/Downloads/readthedocs.org-master/user_builds/root-demo/single_version on app servers
[15/Oct/2015 16:31:15] INFO [readthedocs.projects.tasks:809] (Build) [root-demo:] Updating static metadata
[15/Oct/2015 16:31:16]"GET /api/v1/project/6/ HTTP/1.1" 200 1339
[15/Oct/2015 16:31:16]"GET /api/v1/version/6/ HTTP/1.1" 200 1599
[15/Oct/2015 16:31:16]"GET /api/v2/build/11/ HTTP/1.1" 403 38
[15/Oct/2015 16:31:16]"GET /dashboard/import/manual/demo/ HTTP/1.1" 302 0
[15/Oct/2015 16:31:16]"GET /projects/root-demo/ HTTP/1.1" 200 12164
[15/Oct/2015 16:31:16]"GET /projects/root-demo/badge/?version=latest HTTP/1.1" 302 0

I looked at the logs in logs/ and I don't see any exceptions or error messages anywhere...is there somewhere else I should be looking?

@ostrokach
Copy link
Contributor

I get the same error following Local VM Install instructions. The only weird line from the ./manage.py runserver output is:

[25/Jan/2016 19:21:39]"GET /api/v2/build/24/ HTTP/1.1" 403 38

I also get the following error:

[25/Jan/2016 18:50:25] WARNING [textclassifier.validators:77] Error initializing classifier data, check data file
Traceback (most recent call last):
  File "/home/username/rtd/lib/python2.7/site-packages/textclassifier/validators.py", line 74, in get_classifier
    return DefaultClassifier()
  File "/home/username/rtd/lib/python2.7/site-packages/textclassifier/classifier.py", line 21, in __init__
    raise ValueError('Classifier data file is not set')

I started celery with ./manage.py celeryd, but I don't see any tasks being started.

Looks like the documentation is missing something...

@ostrokach
Copy link
Contributor

I deleted the dev.db database and went through the instructions again, and it works now!

I think the problem was that I didn't run ./manage.py loaddata test_data the first time, or that it didn't run successfully.

@neumachen
Copy link

I am getting this issue, any ideas how to fix this? I have my server on a AWS instance.

@humitos
Copy link
Member

humitos commented May 29, 2017

This issue is being marked as Community Effort. The core team will try to facilitate resolution with this issue, but without the resources to support external installations outside of our production environment, we must rely on the community to help.

You can read more information on our philosophy around supporting Read the Docs as an open source and volunteer run effort here: http://docs.readthedocs.io/en/latest/open-source-philosophy.html

Besides that, you also can use Stack Overflow for this problem and receive more help from the community.

@humitos humitos closed this as completed May 29, 2017
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

5 participants