microsoft / oxa-tools

Open edX on Azure Tools
MIT License
36 stars 103 forks source link

Issue with Installing ecommerce after oxa-tools #410

Closed bhaskar8088 closed 5 years ago

bhaskar8088 commented 5 years ago

Hello,

I have installed openedx on Azure using oxa tools. Now came to know that it doesnt have ecommerce installed so tried to install following the commands from this link - https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/110330276/How+to+Install+and+Start+the+E-Commerce+Service+in+Native+Installations

Ran below commands:

`cd /var/tmp
 git clone https://github.com/edx/configuration
 cd /var/tmp/configuration
 sudo pip install -r requirements.txt
 sudo pip install setuptools --upgrade
 cd /var/tmp/configuration/playbooks
 sudo ansible-playbook -c local edx_sandbox.yml -i "localhost,"`

The last line gave me error -

TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] *** fatal: [localhost]: FAILED! => {"before": "0835122a203415a4d16ddf5e3e9970194da8ce8f", "changed": false, "failed": true, "msg": "Local modifications exist in repository (force=no).", "warnings": []} to retry, use: --limit @/var/tmp/configuration/playbooks/edx_sandbox.retry

Then I came to know I was doing something wrong. Also, the site is down now(used to work before running above commands)

Any suggestions how to proceed further ? Should I go with new installation and export data to new installation ?

eltoncarr commented 5 years ago

The error suggests pending changes to the repository while attempting to check-out. You need to address that. It is always recommended to test out your changes in a test/dev environment before applying to a live one.

bhaskar8088 commented 5 years ago

Thanks, I will look into the local changes. But are those commands correct way to install ecommerce with oxa tools ?

eltoncarr commented 5 years ago

You may want to consult the edx documentation for setting up e-commerce. There will most probably be additional steps.