Hai Amira and Dhastha, Thanks a lot for posting the solution to this problem. I was looking for one for past two days after the same problem occurred on one my test-servers (a WMware guest) running ginkgo.master.
Best, lupus On Tue, Sep 11, 2018 at 6:21 PM, amira reda <amirareda.deltas...@gmail.com> wrote: > it worked for me > > [image: image.png] > https://openedx.atlassian.net/wiki/spaces/OpenDev/pages/ > 157772122/Forums+runbook > > > On Tue, Sep 11, 2018 at 4:02 PM Nicola Tonon <bic...@gmail.com> wrote: > >> Same problem here. Can you give us some hints on how you solved it? >> >> On Tuesday, 30 January 2018 03:28:50 UTC+1, Dhastha Gheer wrote: >>> >>> I am getting following error in /edx/var/log/supervisor/forum-stderr.log >>> >>> Elasticsearch::Transport::Transport::Errors::BadRequest - [400] >>> {"error":"ElasticsearchIllegalArgumentException[Alias [content] has >>> more than one indices associated with it [[content_20180117123248692, >>> content_20180117123246596]], can't execute a single index >>> op]","status":400}: >>> >>> >>> >>> On Tue, Jan 30, 2018 at 6:13 AM, Trinh Nguyen <dangt...@gmail.com> >>> wrote: >>> >>>> Hi Dhasthagheer, >>>> >>>> You could try to look at these logs: >>>> >>>> /edx/var/log/supervisor/forum-stdout.log >>>> /edx/var/log/supervisor/forum-stderr.log >>>> >>>> Hope that will help, >>>> >>>> >>>> *Trinh Nguyen *| Founder >>>> >>>> <http://www.edlab.xyz> >>>> >>>> *E:* dangt...@gmail.com | *W:* *www.edlab.xyz <http://www.edlab.xyz>* >>>> >>>> >>>> On Tue, Jan 30, 2018 at 4:28 AM, Dhastha <dhasth...@gmail.com> wrote: >>>> >>>>> Am I missing anything here? Could anyone please point me to the >>>>> location of relevant logs in case I am missing it? >>>>> >>>>> @Ned - Could you please give me your opinion on this? >>>>> Any help regarding pointing to the concerned people would be truly >>>>> appreciated. >>>>> >>>>> On Thu, Jan 25, 2018 at 9:03 PM, Dhastha <dhasth...@gmail.com> wrote: >>>>> >>>>>> I have installed forum services on 3 machines. and installed one >>>>>> proxy server for forum. Its working fine on user creation, but If I post >>>>>> something on Discussion I am getting >>>>>> >>>>>> Your request could not be processed. Refresh the page and try again. >>>>>> >>>>>> >>>>>> It actually posted post in back. But error comes in front. >>>>>> >>>>>> >>>>>> >>>>>> If I test forum installation >>>>>> >>>>>> curl -v -X GET --header "X-Edx-Api-Key: password" " >>>>>> http://10.0.0.7:18080/selftest" >>>>>> >>>>>> * Connected to 10.0.0.7 (10.0.0.7) port 18080 (#0) >>>>>> > GET /selftest HTTP/1.1 >>>>>> > Host: 10.0.0.7:18080 >>>>>> > User-Agent: curl/7.47.0 >>>>>> > Accept: */* >>>>>> > X-Edx-Api-Key: password >>>>>> > >>>>>> < HTTP/1.1 200 OK >>>>>> < Server: nginx/1.12.2 >>>>>> < Date: Thu, 25 Jan 2018 15:26:16 GMT >>>>>> < Content-Type: application/json;charset=utf-8 >>>>>> < Content-Length: 754 >>>>>> < Connection: keep-alive >>>>>> < Vary: Accept-Encoding >>>>>> < Status: 200 OK >>>>>> < X-Frame-Options: sameorigin >>>>>> < X-XSS-Protection: 1; mode=block >>>>>> < Content-Language: en-US >>>>>> < >>>>>> * Connection #0 to host 10.0.0.7 left intact >>>>>> {"db":[{"hosts":["10.0.0.4:27017","10.0.0.5:27017","10.0.0.6:27017 >>>>>> "],"setName":"rs0","setVersion":3,"ismaster":true, >>>>>> "secondary":false,"primary":"10.0.0.4:27017","me":"10.0.0.4:27017 >>>>>> ","electionId":"7fffffff0000000000000003"," >>>>>> maxBsonObjectSize":16777216,"maxMessageSizeBytes":48000000, >>>>>> "maxWriteBatchSize":1000,"localTime":"2018-01-25T15:26: >>>>>> 16Z","maxWireVersion":4,"minWireVersion":0,"ok":1.0}]," >>>>>> es":{"cluster_name":"elasticsearch","status":" >>>>>> green","timed_out":false,"number_of_nodes":3,"number_of_ >>>>>> data_nodes":3,"active_primary_shards":21,"active_shards":42, >>>>>> "relocating_shards":0,"initializing_shards":0," >>>>>> unassigned_shards":0,"number_of_pending_tasks":0},"last_ >>>>>> post_created":"2018-01-25T12:11:15Z","total_posts":4," >>>>>> total_users":1,"elapsed_time":0.024070365} >>>>>> >>>>>> >>>>>> And the /edx/var/log/lms/edx.log >>>>>> >>>>>> Jan 25 15:16:18 skcluster2 [service_variant=lms][root][env:sandbox] >>>>>> ERROR [skcluster2 2787] [exceptions.py:17] - Uncaught exception from >>>>>> <class 'django.core.handlers.wsgi.WSGIHandler'> >>>>>> Traceback (most recent call last): >>>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>>> packages/django/core/handlers/base.py", line 132, in get_response >>>>>> response = wrapped_callback(request, *callback_args, >>>>>> **callback_kwargs) >>>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>>> packages/django/utils/decorators.py", line 145, in inner >>>>>> return func(*args, **kwargs) >>>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>>> packages/django/views/decorators/http.py", line 45, in inner >>>>>> return func(request, *args, **kwargs) >>>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>>> packages/django/contrib/auth/decorators.py", line 22, in >>>>>> _wrapped_view >>>>>> return view_func(request, *args, **kwargs) >>>>>> File >>>>>> "/edx/app/edxapp/edx-platform/lms/djangoapps/django_comment_client/base/views.py", >>>>>> line 183, in wrapper >>>>>> return func(request, *args, **kwargs) >>>>>> File >>>>>> "/edx/app/edxapp/edx-platform/lms/djangoapps/django_comment_client/base/views.py", >>>>>> line 384, in create_comment >>>>>> return _create_comment(request, CourseKey.from_string(course_id), >>>>>> thread_id=thread_id) >>>>>> File >>>>>> "/edx/app/edxapp/edx-platform/lms/djangoapps/django_comment_client/base/views.py", >>>>>> line 356, in _create_comment >>>>>> comment.save() >>>>>> File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/models.py", >>>>>> line 150, in save >>>>>> metric_action='model.insert' >>>>>> File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/utils.py", >>>>>> line 111, in perform_request >>>>>> raise CommentClient500Error(response.text) >>>>>> CommentClient500Error: u'<h1>Internal Server Error</h1>' >>>>>> >>>>>> >>>>>> I reinstalled and restarted forum, nothing helps. >>>>>> >>>>>> I am using ginkgo.2 version >>>>>> >>>>>> -- >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Cheers, >>>>>> >>>>>> Dhasthagheer >>>>>> IT Consultant >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> >>>>> Cheers, >>>>> >>>>> Dhasthagheer >>>>> IT Consultant >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "General Open edX discussion" group. >>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>> msgid/edx-code/CALJ7LH9BQ8H-wkbEorb7Ofbnd0rR6e7r1rJty14MA% >>>>> 3DwFMz7eUg%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/edx-code/CALJ7LH9BQ8H-wkbEorb7Ofbnd0rR6e7r1rJty14MA%3DwFMz7eUg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "General Open edX discussion" group. >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/edx-code/CADJ6S4FvAHiiMGmVcft2Dxp-4JbBcVExtEiHBUYWUf9pNWwCzw% >>>> 40mail.gmail.com >>>> <https://groups.google.com/d/msgid/edx-code/CADJ6S4FvAHiiMGmVcft2Dxp-4JbBcVExtEiHBUYWUf9pNWwCzw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> >>> >>> -- >>> >>> >>> >>> >>> Cheers, >>> >>> Dhasthagheer >>> IT Consultant >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "General Open edX discussion" group. >> To view this discussion on the web visit https://groups.google.com/d/ >> msgid/edx-code/a3e144e7-54ec-4371-b3f0-d7a383b281fd%40googlegroups.com >> <https://groups.google.com/d/msgid/edx-code/a3e144e7-54ec-4371-b3f0-d7a383b281fd%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "General Open edX discussion" group. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/edx-code/CAOj3C79qyU0WMj6ek%3DDhZ43yD66mPSPgCPBVccnT% > 2BtwYDEaxRw%40mail.gmail.com > <https://groups.google.com/d/msgid/edx-code/CAOj3C79qyU0WMj6ek%3DDhZ43yD66mPSPgCPBVccnT%2BtwYDEaxRw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/CA%2BaB0d_wax2Qw%3Dv-j%2BFkx5_1asSk0-2UaX54VunLpdJjE63nVw%40mail.gmail.com.