every time after installing edx-platform im getting this mesage:
Error: Command failed with status 1: docker compose -f /root/.local/share/tutor/env/local/docker-compose.yml -f /root/.local/share/tutor/env/dev/docker-compose.yml --project-name tutor_dev -f /root/.local/share/tutor/env/local/docker-compose.jobs.yml -f /root/.local/share/tutor/env/dev/docker-compose.jobs.yml run --rm lms-job sh -e -c # When a new local copy of edx-platform is bind-mounted, certain build
artifacts from the openedx image’s edx-platform directory are lost.
We regenerate them here.
if [ -f /openedx/edx-platform/bindmount-canary ] ; then
# If this file exists, then edx-platform has not been bind-mounted,
# so no build artifacts need to be regenerated.
echo “Using edx-platform from image (not bind-mount).”
echo “No extra setup is required.”
exit
fi
echo “Performing additional setup for bind-mounted edx-platform.”
set -x # Echo out executed lines
Regenerate Open_edX.egg-info
pip install -e .
Regenerate node_modules
npm clean-install
Regenerate static assets.
openedx-assets build --env=dev
set -x
echo “Done setting up bind-mounted edx-platform.”
Mounts list:
- name: /path/to/my/local/mfe/profile
build_mounts:
compose_mounts: - name: /root/edx-platform
build_mounts:- image: openedx
context: edx-platform - image: openedx-dev
context: edx-platform
compose_mounts: - service: openedx
container_path: /openedx/edx-platform
- image: openedx
- name: /root/edx-ora2
build_mounts:- image: openedx
context: mnt-edx-ora2 - image: openedx-dev
context: mnt-edx-ora2
compose_mounts: - service: openedx
container_path: /mnt/edx-ora2 - service: openedx-dev
container_path: /mnt/edx-ora2
- image: openedx