Using edx Devstack edxapp does not work

883 views
Skip to first unread message

Andrés Sebastián Díaz Vargas

unread,
Jul 10, 2015, 5:24:08 PM7/10/15
to edx-...@googlegroups.com

Greetings to all.

I'm trying to use the Open edX Developer Stack, I already created the VM; after
Vagrant ssh

Within the VM instance, with:
sudo su edxapp

it does not switch to the edxapp account.

Later on if I try (even if I go to: /edx/app/edxapp/edx-platform):

paver devstack lms

it throws:
"No command 'paver' found".

I will be grateful if someone can help me.

Thank you.

TJ Keemon

unread,
Jul 11, 2015, 3:49:13 PM7/11/15
to edx-...@googlegroups.com
Hi Andres-

I don't think I've ever come across your particular problem, but see if this set of commands gets you up and running:

sudo su edxapp -s /bin/bash
source
/edx/app/edxapp/edxapp_env
cd
/edx/app/edxapp/edx-platform
paver devstack lms

Let me know how it works out.

-TJ

grzegorz gwardys

unread,
Jul 13, 2015, 2:36:45 PM7/13/15
to edx-...@googlegroups.com
Today I was installing devstack and I encountered this problem. In my case, it turned out, that vagrant up command ended with error related to libxmlsec1.
My "hack":

vagrant destroy -f && vagrant up # to start from clean version
vagrant ssh
sudo apt-get install libxmlsec1-dev
sudo apt-get install swig
# logout
vagrant reload
vagrant provision

and after this I got working edx. Hope it helps. 

Andrés Sebastián Díaz Vargas

unread,
Sep 24, 2015, 7:33:11 AM9/24/15
to General Open edX discussion
Hi sorry for the late response.

you are right, it was the libxmlsec-1-dev

Actually inside edx I installed:

sudo apt-get install libxmlsec1-dev and
sudo apt-get install swig
That solve the problem.

Thank you

bong kiat

unread,
Oct 15, 2015, 5:37:36 AM10/15/15
to General Open edX discussion
Guys I still have problem with this. any other solution?

Sven Marnach

unread,
Oct 15, 2015, 8:58:12 AM10/15/15
to edx-...@googlegroups.com
Since the provisioning didn't succeed before you installed the
additional packages, you will need to retry provisioning using

vagrant provision

It might be easiest, though, to start from scratch with the latest
version of the Vagrantfile [1]. This version will use a newer version
of the Vagrant base box by default, which already comes with the swig
and libxmlsec-1-dev packages included.

[1]: https://raw.githubusercontent.com/edx/configuration/master/vagrant/release/devstack/Vagrantfile

--
Sven
@OpenCraft
> --
> 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/49b91c4c-81e7-474c-84e0-3312ebbf2f6e%40googlegroups.com.

Ned Batchelder

unread,
Oct 15, 2015, 12:11:44 PM10/15/15
to edx-...@googlegroups.com
When "sudo su edxapp" doesn't do anything, it's because the shell entry in /etc/passwd for edxapp is set to /bin/false.  This happens if you forget to export the OPENEDX_RELEASE setting before provisioning:

    $ export OPENEDX_RELEASE="named-release/cypress"
    $ vagrant provision

--Ned.

David Baumgold

unread,
Oct 16, 2015, 9:31:57 AM10/16/15
to General Open edX discussion
Also, questions about installation and configuration belong on the openedx-ops mailing list, not here. The edx-code mailing list is primarily for discussions regarding code and development.

Mayuri Karnik

unread,
Sep 13, 2016, 6:40:32 AM9/13/16
to General Open edX discussion
sudo su edxapp -/bin/bash asks for password. What is the default password?

Ned Batchelder

unread,
Sep 14, 2016, 11:13:50 AM9/14/16
to edx-...@googlegroups.com
If "sudo su edxapp" doesn't switch the user on a devstack, then the installation didn't complete properly.  Check the logs from your installation to see if there was a problem.

--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