I have installed Open edX Lilac on Ubuntu 20.04 @AWS t2.xlarge instance and trying to install XBlocks:GitHub - MarCnu/pdfXBlock: PDF XBlock for OpenEdX (PDF xBlock). The procedure I know is:
DOWNLOAD FROM GIT
git clone [GIT URL]
sudo chown -R edxapp [XBLOCK DIRECTORY]
sudo chgrp -R edxapp [XBLOCK DIRECTORY]
XBLOCK INSTALLATION
sudo -H -u edxapp bash
source /edx/app/edxapp/edxapp_env
/edx/bin/pip.edxapp install [XBLOCK DIRECTORY]
COMPILE ASSETS
sudo -H -u edxapp bash
source /edx/app/edxapp/edxapp_env
cd /edx/app/edxapp/edx-platform
paver update_assets cms --settings=production
paver update_assets lms --settings=production
RESTART SERVICES
sudo /edx/bin/supervisorctl restart edxapp:
sudo /edx/bin/supervisorctl restart edxapp_worker:
The following file is missing in Lilac or some procedure is changed:
/edx/bin/pip.edxapp [Command not found message]
I have also tried to follow 4.28. Installing an XBlock — Installing, Configuring, and Running the Open edX Platform documentation
pip install git+[GIT URL] and it gives a successfully installed message but after setting in the Studio Advanced Module List, the XBlock is not appeared in “Advanced” blocks.
Please help to resolve the issue.