open edx hawthorn.1 version installation problem

729 views
Skip to first unread message

Abu Sayeed

unread,
Aug 13, 2018, 9:29:56 AM8/13/18
to General Open edX discussion
server information:
hostname: openedx
fqdn:  openedx.example.com openedx

ram:12 GB
free space:200 GB




TASK [demo : create some test users] *******************************************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ho...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'au...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'veri...@example.com'})
changed: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'st...@example.com'})

TASK [demo : enroll test users in the demo course] *****************************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ho...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'au...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'veri...@example.com'})
changed: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'st...@example.com'})

TASK [demo : add test users to the certificate whitelist] **********************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ho...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'au...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'veri...@example.com'})

TASK [demo : seed the forums for the demo course] ******************************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ho...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'au...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'veri...@example.com'})

TASK [oauth_client_setup : create OAuth2 Clients] ******************************
changed: [localhost] => (item={u'username': u'ecommerce_worker', u'url_root': u'http://localhost:8002', u'name': u'ecommerce', u'logout_uri': u'http://localhost:8002/logout/', u'secret': u'ecommerce-secret', u'id': u'ecommerce-key'})
changed: [localhost] => (item={u'username': u'insights_worker', u'url_root': u'http://127.0.0.1:8110', u'name': u'insights', u'logout_uri': u'http://example.com/accounts/logout/', u'secret': u'secret', u'id': u'YOUR_OAUTH2_KEY'})
skipping: [localhost] => (item={u'username': u'credentials_worker', u'url_root': u'None', u'name': u'None', u'logout_uri': u'None', u'secret': u'None', u'id': u'None'})
changed: [localhost] => (item={u'username': u'discovery_worker', u'url_root': u'http://localhost:18381', u'name': u'discovery', u'logout_uri': u'http://localhost:18381/logout/', u'secret': u'discovery-secret', u'id': u'discovery-key'})
skipping: [localhost] => (item={u'username': u'journals_worker', u'url_root': u'http://localhost:18606', u'name': u'None', u'logout_uri': u'http://localhost:18606/logout/', u'secret': u'journals-secret', u'id': u'journals-key'})
skipping: [localhost] => (item={u'username': u'veda_service_user', u'url_root': u'None', u'name': u'None', u'logout_uri': u'None', u'secret': u'None', u'id': u'None'})

TASK [oraclejdk : Install debian needed pkgs] **********************************
ok: [localhost] => (item=[u'curl'])

TASK [oraclejdk : Download Oracle Java] ****************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "failed to create temporary content file: timed out"}

RUNNING HANDLER [nginx : reload nginx] *****************************************
        to retry, use: --limit @/var/tmp/configuration/playbooks/edx_sandbox.retry

PLAY RECAP *********************************************************************
localhost                  : ok=400  changed=285  unreachable=0    failed=1

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: checkout edx-platform repo into /edx/app/edxapp/edx-platform [0] -------------- 1767.48s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install python requirements [0] ----------------------------------------------- 1754.01s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install production requirements [0] ------------------------------------------- 881.38s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate [0] ------------------------------------------------------------------- 858.19s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: gather static assets with paver [1] ------------------------------------------- 509.47s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install node dependencies [2] ------------------------------------------------- 413.32s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: code sandbox | Install base sandbox requirements and create sandbox virtualenv [0]  375.52s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install production requirements [1] ------------------------------------------- 373.52s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: create service worker users [1] ----------------------------------------------- 356.47s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Install system packages ------------------------------------------------------- 290.39s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing:
Playbook Configure instance(s) finished: 2018-08-12 08:44:57.350346, 863 total tasks.  2:59:00.467828 elapsed.


========================================
Ansible failed!
----------------------------------------
If you need help, see https://open.edx.org/getting-help .
When asking for help, please provide as much information as you can.
These might be helpful:
    Your log file is at logs/install-20180812-114311.log
    Your environment:
        OPENEDX_RELEASE=open-release/hawthorn.1
========================================
Installation finished at 2018-08-12 14:45:01



What is problem? Please help me

JITHIN SHA

unread,
Sep 5, 2018, 9:35:36 AM9/5/18
to General Open edX discussion
Hello,

I have tried the same steps you have quoted, except the second one which is optional.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3. (Optional) If this is a new installation, randomize the passwords:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It worked perfect for me.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PLAY RECAP *********************************************************************
localhost                  : ok=569  changed=428  unreachable=0    failed=0   

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install python requirements [0] ----------------------------------------------- 927.06s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: gather static assets with paver [1] ------------------------------------------- 907.60s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate [0] ------------------------------------------------------------------- 747.71s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install production requirements [0] ------------------------------------------- 698.90s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install ruby 2.4.1 ------------------------------------------------------------ 669.12s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: checkout edx-platform repo into /edx/app/edxapp/edx-platform [0] -------------- 556.32s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install production requirements [2] ------------------------------------------- 343.30s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: create service worker users [0] ----------------------------------------------- 342.26s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install node dependencies [2] ------------------------------------------------- 326.91s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install production requirements [1] ------------------------------------------- 301.25s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing:
Playbook Configure instance(s) finished: 2018-09-04 14:39:13.388253, 1380 total tasks.  3:04:18.256203 elapsed. 

Installation finished at 2018-09-04 21:09:19
edx@edx-mcd:~$
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I guess, you need to retry.

Sorry, if you have already completed the task.

Thanks,

On Monday, 13 August 2018 19:59:56 UTC+6:30, Abu Sayeed wrote:
TASK [demo : create some test users] *******************************************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'h...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'a...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ver...@example.com'})
changed: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u's...@example.com'})

TASK [demo : enroll test users in the demo course] *****************************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'h...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'a...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ver...@example.com'})
changed: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u's...@example.com'})

TASK [demo : add test users to the certificate whitelist] **********************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'h...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'a...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ver...@example.com'})

TASK [demo : seed the forums for the demo course] ******************************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'h...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'a...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ver...@example.com'})

kos giannop

unread,
Sep 12, 2018, 9:59:45 AM9/12/18
to General Open edX discussion
This version worked for me too (native install).
None of the previous versions have ever finished the install successfully (native).
I am still trying to find how the *** Am I supposed to create an admin account and how to administer the whole thing. I just learnt by chance that there is a /admin url.
openedx has one of the most confusing documentation ever. The lots of versions, the lots of places that doc pieces exist, and no one explains the procedures (eg, there is an admin url there, there is no default credentials, you have to create an admin, the LMS is there, the studio is there and why is it used for) Things like these. very very bad very confusing.
See moodle documentation and you immediately see the difference.
Sorry to post that

On Monday, 13 August 2018 16:29:56 UTC+3, Abu Sayeed wrote:
TASK [demo : create some test users] *******************************************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'h...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'a...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ver...@example.com'})
changed: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u's...@example.com'})

TASK [demo : enroll test users in the demo course] *****************************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'h...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'a...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ver...@example.com'})
changed: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u's...@example.com'})

TASK [demo : add test users to the certificate whitelist] **********************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'h...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'a...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ver...@example.com'})

TASK [demo : seed the forums for the demo course] ******************************
changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'h...@example.com'})
changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'a...@example.com'})
changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'ver...@example.com'})

Lupus Furyo

unread,
Sep 12, 2018, 10:07:05 AM9/12/18
to edx-...@googlegroups.com
OPENEDX_RELEASE=open-release/hawthorn.master

--
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/a6e9741c-49ba-4e41-87f8-efeea7a17834%40googlegroups.com.

Message has been deleted

JITHIN SHA

unread,
Sep 21, 2018, 6:01:41 AM9/21/18
to General Open edX discussion
Hello all,

Has anybody tried with installing the hawthorn.1 in two vms. 

VM0 = all services like MySQL, MongoDB, RabbitMQ
VM1 - LMS

What am trying to do is, do native installation on both VMs. And stop the services in VM1 and VM0 as required. I tried the steps in the following link. But am stuck with xqueue element. I do not have the xqueue.ev.json and xqueue.auth.json. How can i play with this? 
 

Is there any other suggestions which i can test. Its actually a requirement to have in 2 Servers. For testing am doing on two vms.

Thanks,

malek.s...@gmail.com

unread,
Sep 26, 2018, 5:02:53 PM9/26/18
to General Open edX discussion
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "failed to create temporary content file: timed out"}

Did you install OracleJDK first ?

JITHIN SHA

unread,
Sep 29, 2018, 1:23:47 AM9/29/18
to edx-...@googlegroups.com
Hi Malek,

Thanks for the response. I got it sorted for the time being. Actually edx app is using mysqld socket file and because of that even if we make changes in the conf files, it doesn't work. So I tweaked it, creating a socket file manually for mysql and port forwarding for mongodb. Now the webpage is loading fine. 

~~~~~~~~~~~~~~~~~~~~~~~~~
OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")
~~~~~~~~~~~~~~~~~~~~~~~~~
this is the error message which helped in to fix it. Hope this tip helps someone.

Thanks all,


On Thu, Sep 27, 2018 at 3:32 AM <malek.s...@gmail.com> wrote:
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "failed to create temporary content file: timed out"}

Did you install OracleJDK first ?

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.


--
JITHINSHA
ജിതിന്‍ഷാ കെ എസ്

Reply all
Reply to author
Forward
0 new messages