Error While Installing edX (Dogwood.2) on Ubuntu 12.04 on AWS

184 views
Skip to first unread message

Ifechi Okobi

unread,
Mar 18, 2017, 7:36:35 AM3/18/17
to General Open edX discussion
Hello. I am getting the error below when installing edX on Ubuntu 12.04 on AWS. Googled around but no solution. Would appreciate if any one could assist. Thanks.
TASK: [insights | run collectstatic] ****************************************** 
changed: [localhost] => (item=collectstatic --noinput)
failed: [localhost] => (item=compress) => {"changed": true, "cmd": "/edx/app/insights/venvs/insights/bin/python /edx/app/insights/edx_analytics_dashboard/manage.py compress", "delta": "0:00:01.489897", "end": "2017-03-18 10:54:03.069906", "item": "compress", "rc": 1, "start": "2017-03-18 10:54:01.580009", "warnings": []}
stderr: CommandError: An error occurred during rendering /edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/base_grouped_content.html: Error: File to import not found or unreadable: ../bower_components/edx-pattern-library/pattern-library/sass/edx-pattern-library-ltr-compiled
       Parent style sheet: /edx/var/insights/staticfiles/sass/style-application.scss
        on line 19 of ../../../var/insights/staticfiles/sass/style-application.scss
>> @import "../bower_components/edx-pattern-library/pattern-library/sass/edx-patt
   ^
stdout: Invalid template /edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/soapbox/templates/soapboxtest/test_fail_syntax.html: 'get_messages_for_page' did not receive value(s) for the argument(s): 'url'
Invalid template /edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/rest_framework/templates/rest_framework/filters/django_filter_crispyforms.html: 'crispy_forms_tags' is not a registered tag library. Must be one of:
admin_list
admin_modify
admin_static
admin_urls
cache
compress
countries
dashboard_extras
future
humanize
i18n
l10n
log
pinax_announcements_tags
rest_framework
rjs
soapbox
static
staticfiles
tz
waffle_tags
Found 'compress' tags in:
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/base_grouped_content.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/engagement_grouped_content.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_answer_distribution.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/engagement_video_timeline.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/permissions-retrieval-failed.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/templates/base-error.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/learners.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/templates/500.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/engagement_video_course.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_learning_outcomes_content.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_learning_outcomes_answer_distribution.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/enrollment_activity.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_learning_outcomes_section.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/engagement_video_by_section.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/enrollment_demographics_gender.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/home.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/core/templates/core/landing.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/enrollment_demographics_age.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_ungraded_content.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/engagement_content.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/enrollment_demographics_education.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/base_performance_answer_distribution.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_assignment.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_ungraded_by_subsection.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/templates/base.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/templates/503.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/templates/base_dashboard.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/base-course.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/engagement_video_by_subsection.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_ungraded_answer_distribution.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/base_performance_learning_outcomes.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_graded_content.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/templates/404.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/index.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_ungraded_by_section.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/templates/403.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_graded_content_by_type.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/enrollment_geography.html
/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/templates/courses/performance_grouped_content.html
Compressing... 

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
INFO:ansible.callback_plugins.datadog_tasks_timing:edxapp | gather {{ item }} static assets with paver ---------------------------- 632.61s
INFO:ansible.callback_plugins.datadog_tasks_timing:edxapp | install python requirements -------------------------------------------- 61.48s
INFO:ansible.callback_plugins.datadog_tasks_timing:insights | run collectstatic ---------------------------------------------------- 32.84s
INFO:ansible.callback_plugins.datadog_tasks_timing:insights | run r.js optimizer --------------------------------------------------- 22.15s
INFO:ansible.callback_plugins.datadog_tasks_timing:edxapp | migrate ---------------------------------------------------------------- 12.07s
INFO:ansible.callback_plugins.datadog_tasks_timing:edxapp | install system packages on which LMS and CMS rely ----------------------- 9.47s
INFO:ansible.callback_plugins.datadog_tasks_timing:edxapp | checkout edx-platform repo into {{ edxapp_code_dir }} ------------------- 8.79s
INFO:ansible.callback_plugins.datadog_tasks_timing:server_utils | Install system packages ------------------------------------------- 8.43s
INFO:ansible.callback_plugins.datadog_tasks_timing:rbenv | install bundler ---------------------------------------------------------- 8.38s
INFO:ansible.callback_plugins.datadog_tasks_timing:rbenv | install rake gem --------------------------------------------------------- 6.16s
INFO:ansible.callback_plugins.datadog_tasks_timing:
Playbook edx_sandbox finished: Sat Mar 18 10:54:03 2017, 335 total tasks.  0:15:47 elapsed. 

           to retry, use: --limit @/root/edx_sandbox.retry

localhost                  : ok=366  changed=86   unreachable=0    failed=1   

Aday Guerra

unread,
Apr 9, 2017, 2:10:23 PM4/9/17
to General Open edX discussion
Same problem here. With ubuntu 16.04. Did u solve it?

Arnaud Deville

unread,
May 3, 2017, 8:02:47 AM5/3/17
to General Open edX discussion
Same problem. Anyone can help us please ?


On Saturday, March 18, 2017 at 12:36:35 PM UTC+1, Ifechi Okobi wrote:

Ned Batchelder

unread,
May 4, 2017, 11:42:18 AM5/4/17
to edx-...@googlegroups.com
Can you put the entire installation log into a paste site? There may have been an earlier problem.

--Ned.

--
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/1129e582-9563-40fa-a321-fc53aa4e0146%40googlegroups.com.

Yiu Lun Chau

unread,
May 6, 2017, 6:54:59 PM5/6/17
to General Open edX discussion

The task failed because it couldn't find edx-pattern-library-ltr-compiled.scss, so the import statement failed. 


Here is one possible reason why the file is missing.

https://openedx.atlassian.net/wiki/display/OXA/Failed%3A+install+bower+dependencies


If you are installing edX in a single machine, make sure the machine has enough memory. You can activate insights's virtual environments and run bower-post-install.sh script manually to see if it's the same error.


Ben

Amine Roukh

unread,
May 20, 2017, 10:02:03 AM5/20/17
to General Open edX discussion
I have the same issue with all ficus releases, using Ubuntu 16.04 and a machine with 10 Gb of RAM.

Any solutions ?

Ned Batchelder

unread,
May 20, 2017, 10:03:31 AM5/20/17
to edx-...@googlegroups.com
Please copy your entire install output to a paste site so that we can see all the details.  Sometimes similar-looking errors are actually very different.

Thanks,

--Ned.

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
Reply all
Reply to author
Forward
0 new messages