xblock-utils - how to uninstall and reinstall (open edX Fullstack)

897 views
Skip to first unread message

prashant

unread,
Dec 29, 2015, 10:32:18 AM12/29/15
to General Open edX discussion
Hi,

In our open edx fullstack, there is some issue with installed version of xblock-utils as told here and it is suggested to uninstall the xblock-utils package via pip, and install the latest master from https://github.com/edx/xblock-utils.

We googled whole day and searched open edX docs, but could not find relevant information to uninstall and reinstall xblock-utils package. 

Anybody, if know the commands or link, can pls share with us?

Thank you very much in advance.

-Prashant Singh. 

Xavier Antoviaque

unread,
Dec 30, 2015, 2:29:17 AM12/30/15
to edx-...@googlegroups.com
Hi Prashant,
 
This is also more a devops issue, so it also belongs to the openedx-ops@ ML - likely in the same thread.
 
But to uninstall a package, you can use "pip uninstall xblock-utils" (from the edxapp virtual environment - for running commands within fullstacks see https://github.com/edx/configuration/wiki/edX-Managing-the-Full-Stack ).
 
Although, for a production server, you shouldn't really be running commands manually like this, but instead use stateless throw-away VMs - ie here you would run ansible on a new VM with the right requirements, and swap the new VM instead of the old one, removing the need to uninstall anything. For how to specify custom requirements with ansible, see for example https://github.com/edx/configuration/blob/a0633784f33c1675c753fadffe928fe832d91b05/playbooks/roles/edxapp/defaults/main.yml#L334-L343
 
--
Xavier
--
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