Devstack installation make dev.provision failed

HI all, I am new to open edx. tried to install devstack. I cloned devstack in my local system and followed the instructions. make dev.provison step failed and got the below error

  • docker-compose exec -T lms bash -e -c ‘source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform && NO_PYTHON_UNINSTALL=1 paver install_prereqs’
    Build failed: Unknown task: install_prereqs
    make[1]: *** [Makefile:217: impl-dev.provision] Error 1
    make[1]: Leaving directory ‘/home/poovizhi/devstack’
    make: *** [Makefile:221: dev.provision] Error 2

Hello,

Can you please provide more details as to what commands were you firing and what guide were you following for installation ?

Also can you please check if venv is activated if you ran it through devstack and enabled venv while installing it ?

Dear Chintan,
Thank you for your email. I am new to openedx.

  1. I did git clone https://github.com/edx/devstack.git

  2. I referred https://github.com/edx/devstack for installation. all steps were through. while running make dev.provision I got error.

commands i fired:

  1. make requirements
  2. make dev.clone
    3.make dev.pull.large-and-slow
  3. make dev.provision
 

Pls let me know if the steps I followed is correct? if not pls let me know how to proceed.

Then I tried to install tutor. I did installation following https://docs.tutor.overhang.io/quickstart.html

this was through but on opening the lms server I just found the welcome page… I did sign up. But I didn’t receive any activation link. I don’t know how to proceed further.

My requirement is: I would like to set up LMS and Authoring tool and little development/customization if required .

Thanking you,

 With Regards,

Poovizhi P


Getting the same error even if I execute in virtual environment.

ERROR: for edx.devstack.lms UnixHTTPConnectionPool(host=‘localhost’, port=None): Read timed out. (read timeout=180)

ERROR: for lms UnixHTTPConnectionPool(host=‘localhost’, port=None): Read timed out. (read timeout=180)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 180).
make[1]: *** [Makefile:217: impl-dev.provision] Error 1
make[1]: Leaving directory ‘/home/poovizhi/virtualenvironment/devstack’
make: *** [Makefile:221: dev.provision] Error 2
(devstack) poovizhi@dti7de18-226:~/virtualenvironment/devstack$

Hello, welcome to the community.

So I think you might be missing to set the proper release variable. Check OPENEDX_RELEASE variable and also check if the clone that you did was of the correct version as well.

Apart from that, for mails and stuff you’ll need SMTP to be set.

I suggest to read through documentation and follow things from there.