With tutor 11.0.2, in MacOS, the system we use for development, when spinning up containers:
tutor dev runserver cms
We are getting consistently these errors on the docker container:
Setting file permissions for user openedx...
chown: changing ownership of '/openedx/config': Read-only file system
chown: changing ownership of '/openedx/config/cms.env.json': Read-only file system
chown: changing ownership of '/openedx/config/lms.env.json': Read-only file system
Error: Command failed with status 1: docker-compose -f /Users/neithan/.local/share/tutor/env/local/docker-compose.yml -f /Users/neithan /.local/share/tutor/env/dev/docker-compose.yml --project-name tutor_dev run --rm --service-ports lms
This can be overcome by editing the docker-compose files manually:
/Users/neithan/.local/share/tutor/env/local/docker-compose.yml
/Users/neithan/.local/share/tutor/env/dev/docker-compose.yml
And mounting the volumes with something distinct from :ro (read-only), for example, we put ā:zā instead of ā:roā
After that, we can do
tutor images build openedx-dev
tutor dev runserver cms
to be able to spin up the containers fine:
The cms service will be available at http://studio.local.overhang.io:8001
docker-compose -f /Users/neithan/.local/share/tutor/env/local/docker-compose.yml -f /Users/neithan/.local/share/tutor/env/dev/docker-compose.yml --project-name tutor_dev run --rm --service-ports cms
Starting tutor_dev_lms_1 ... done
Creating tutor_dev_cms_run ... done
Setting file permissions for user openedx...
File permissions set.
Is that something that tutor can change, so we don“t need to do this manually?