-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Development Installation guide / search feature #8185
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
Comments
Hi, builds usually get stuck when you do any changes to the code, as the server re-loads on changes. Also, make sure you are using the docker-compose version from |
I created a specific virtualenv for the setup and strictly followed the instructions. appart modification to set ELASTICSEARCH_DSL_AUTOSYNC True prior to start everything, I'm not making any live modifications. |
@g-chauvel were you able to solve this problem?
This is |
I looked a bit more at various files and indeed found that it was not required to modify anything. The result is the same: the search-as-you-type feature is not working out of the box. |
Is this issue still valid? Is there any update here or action from our side required/expected? |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. Thanks! |
I tried to setup "Development Installation" to look at the search feature
So I followed instructions from https://docs.readthedocs.io/en/stable/development/install.html
In prior execution where I encountered the error described in this issue, I cleaned everything (docker containers/volumes)
and set readthedocs/settings/dev.py: ELASTICSEARCH_DSL_AUTOSYNC to True
To check that everything works, step 3, I hit "Build version" to "latest", it starts 2 builds:
build latest (4d83138) on 18385d475a3e
stuck on "Installing", log:
build stable (c49fac9) on 18385d475a3e
stuck on "Installing", log:
25min after, still the same thing, looked at "ps fauxwww", "top": it seems stuck
I cliked on "Build latest" again, build #3 started and
build #3 is completed in 256sec, #1 and #2 are still installing (stange, but it's not what i am trying to solve)
view docs, seach, popup, typing for example: "subversion", I have this error : "There was an error. Please try again."
docker containers log :
As written in https://docs.readthedocs.io/en/stable/development/search.html#troubleshooting
inv docker.manage 'search_index --delete'
then
inv docker.manage reindex_elasticsearch
I looked at common/dockerfiles/tasks.py, "def manage" to check what is performed
and ran
docker exec -it community_web_1 bash
,python3 manage.py reindex_elasticsearch --queue default
(queue name "default" identified from container community_build_1)Re-indexing tasks have been created.
and got the following trace from docker container:
Is there something I am missing/doing wrong to have a working search ?
The text was updated successfully, but these errors were encountered: