In a thread here I have been trying to figure out how to install the IBL Education Jupyter NB Viewer xblock. The instructions are to do:
/edx/bin/pip.edxapp install git+https://github.com/ibleducation/jupyter-viewer-xblock.git
but I receive this error:
-bash: /edx/bin/pip.edxapp: No such file or directory
I then try:
sudo -H -u edxapp bash source ~/edxapp_env pip install git+https://github.com/ibleducation/jupyter-viewer-xblock.git
but after the first line I receive this error:
sudo: unknown user: edxapp
sudo: unable to initialize policy plugin
Just as a test, I am able to do:
echo "git+https://github.com/open-craft/xblock-poll.git" >> "$(tutor config printroot)/env/build/openedx/requirements/private.txt"`
but when I try to rebuild the docker image with:
tutor images build openedx
I get this error:
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.24/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=docker.io%2Foverhangio%2Fopenedx%3A11.1.3&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied Error: Command failed with status 1: docker build -t docker.io/overhangio/openedx:11.1.3 /home/ubuntu/.local/share/tutor/env/build/openedx
I next tried:
tutor config save --interactive
and went through the steps that followed with no issue. But the same error persists when I try to install the IBL xblock. When I install the opencraft text xblock and then do:
sudo tutor images build openedx
I get this error:
Error: Project root does not exist. Make sure to generate the initial configuration with `tutor config save --interactive` or `tutor local quickstart` prior to running other commands.
which is the step that I just completed.
This is a totally default, brand-new install of Tutor on AWS EC2. Any help would be appreciated.