Have errors when trying "Native Open edX Ubuntu 12.04 64 bit Installation"

140 views
Skip to first unread message

Richard Zeng

unread,
Mar 12, 2017, 8:57:29 PM3/12/17
to Open edX operations
I was trying to install Eucalyptus.3 on a Ubuntu virtual server, following the "Native Open edX Ubuntu 12.04 64 bit Installation" instruction - manual installation.

But I got error message, and I can not figure out how to get through.

Does anyone have the same problem? or anyone knows how to get through?

One thing I have to mention, all services are running well, including cms and lms, except forum, which keep restarting.

$ sudo /edx/bin/supervisorctl status

analytics_api                    RUNNING   pid 25561, uptime 3 days, 22:57:30

edxapp:cms                       RUNNING   pid 21925, uptime 3 days, 22:58:35

edxapp:lms                       RUNNING   pid 22016, uptime 3 days, 22:58:32

edxapp_worker:cms_default_1      RUNNING   pid 698, uptime 3 days, 23:10:50

edxapp_worker:cms_high_1         RUNNING   pid 759, uptime 3 days, 23:10:47

edxapp_worker:cms_low_1          RUNNING   pid 891, uptime 3 days, 23:10:43

edxapp_worker:lms_default_1      RUNNING   pid 986, uptime 3 days, 23:10:40

edxapp_worker:lms_high_1         RUNNING   pid 1074, uptime 3 days, 23:10:37

edxapp_worker:lms_high_mem_1     RUNNING   pid 1242, uptime 3 days, 23:10:33

edxapp_worker:lms_low_1          RUNNING   pid 1332, uptime 3 days, 23:10:30

forum                            RUNNING   pid 18286, uptime 0:00:45

insights                         RUNNING   pid 31242, uptime 3 days, 22:54:20

programs                         RUNNING   pid 24021, uptime 3 days, 22:58:01


Thank you very much in advance for your help, look forward to hearing back from you.

Here is the error message I got:

============================================================================

TASK [forum : create application user] *****************************************

ok: [localhost]


TASK [forum : set forum app dir permissions] ***********************************

ok: [localhost]


TASK [forum : setup the forum env] *********************************************

ok: [localhost]


TASK [forum : create /edx/var/forum] *******************************************

ok: [localhost]


TASK [forum : create the supervisor config] ************************************

ok: [localhost]


TASK [forum : enable the supervisor config] ************************************

ok: [localhost]


TASK [forum : create the supervisor wrapper] ***********************************

ok: [localhost]


TASK [forum : git checkout forum repo into /edx/app/forum/cs_comments_service] *

changed: [localhost]


TASK [forum : install comments service bundle] *********************************

changed: [localhost]


TASK [forum : initialize elasticsearch] ****************************************

fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/edx/app/forum/cs_comments_service/bin/rake", "search:initialize"], "delta": "0:00:04.262730", "end": "2017-03-09 12:13:44.625931", "failed": true, "rc": 1, "start": "2017-03-09 12:13:40.363201", "stderr": "/edx/app/forum/cs_comments_service/lib/tasks/flags.rake:6: warning: already initialized constant ROOT\n/edx/app/forum/cs_comments_service/lib/tasks/deep_search.rake:7: warning: already initialized constant ROOT\n/edx/app/forum/cs_comments_service/models/constants.rb:2: warning: already initialized constant COURSE_ID\nrake aborted!\nElasticsearch::Transport::Transport::Errors::Forbidden: [403] \n/edx/app/forum/.gem/ruby/1.9.1/gems/elasticsearch-transport-0.4.11/lib/elasticsearch/transport/transport/base.rb:132:in `__raise_transport_error'\n/edx/app/forum/.gem/ruby/1.9.1/gems/elasticsearch-transport-0.4.11/lib/elasticsearch/transport/transport/base.rb:227:in `perform_request'\n/edx/app/forum/.gem/ruby/1.9.1/gems/elasticsearch-transport-0.4.11/lib/elasticsearch/transport/transport/http/faraday.rb:20:in `perform_request'\n/edx/app/forum/.gem/ruby/1.9.1/gems/elasticsearch-transport-0.4.11/lib/elasticsearch/transport/client.rb:92:in `perform_request'\n/edx/app/forum/.gem/ruby/1.9.1/gems/elasticsearch-api-0.4.11/lib/elasticsearch/api/namespace/common.rb:21:in `perform_request'\n/edx/app/forum/.gem/ruby/1.9.1/gems/elasticsearch-api-0.4.11/lib/elasticsearch/api/actions/indices/exists_alias.rb:41:in `exists_alias'\n/edx/app/forum/cs_comments_service/lib/task_helpers.rb:92:in `exists_alias'\n/edx/app/forum/cs_comments_service/lib/task_helpers.rb:146:in `initialize_index'\n/edx/app/forum/cs_comments_service/lib/tasks/search.rake:40:in `block (2 levels) in <top (required)>'\nTasks: TOP => search:initialize\n(See full trace by running task with --trace)", "stdout": "W, [2017-03-09T12:13:44.375889 #6656]  WARN -- : Overwriting existing field _id in class User.", "stdout_lines": ["W, [2017-03-09T12:13:44.375889 #6656]  WARN -- : Overwriting existing field _id in class User."], "warnings": []}


RUNNING HANDLER [forum : restart the forum service] ****************************

to retry, use: --limit @/var/tmp/configuration/playbooks/edx_sandbox.retry


PLAY RECAP *********************************************************************

localhost                  : ok=357  changed=114  unreachable=0    failed=1   


INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: gather {{ item }} static assets with paver [1] -------------------------------- 569.77s

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install build depends --------------------------------------------------------- 148.34s

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: run collectstatic [2] --------------------------------------------------------- 114.74s

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install python requirements [1] ------------------------------------------------ 49.48s

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install python requirements [0] ------------------------------------------------ 49.26s

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate [0] -------------------------------------------------------------------- 41.18s

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: restart edxapp_workers [0] ----------------------------------------------------- 23.19s

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate [1] -------------------------------------------------------------------- 23.15s

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install elasticsearch ---------------------------------------------------------- 21.88s

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install system packages on which LMS and CMS rely [1] -------------------------- 19.75s

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing:

Playbook Configure instance(s) finished: 2017-03-08 23:13:44.655921, 808 total tasks.  0:26:11.349762 elapsed. 


Murad Shukurlu

unread,
Nov 12, 2019, 12:13:28 PM11/12/19
to Open edX operations
Hi! ,

How you find any way to handle this issue? then Please help me to solv this . Thanks in Advance.
Reply all
Reply to author
Forward
0 new messages