Code Monkey home page Code Monkey logo

Comments (10)

regisb avatar regisb commented on August 16, 2024

You are absolutely right @natea -- now fixed.

from tutor.

natea avatar natea commented on August 16, 2024

from tutor.

natea avatar natea commented on August 16, 2024

@regisb any idea why I'm still seeing this when running make lms:

make: *** [lms] Error 1

Does it have anything to do with this?

chown: changing ownership of '/openedx/edx-platform/common/static/edx-pattern-library/fonts': No such file or directory
chown: changing ownership of '/openedx/edx-platform/common/static/edx-pattern-library/js': No such file or directory
chown: changing ownership of '/openedx/edx-platform/common/static/edx-ui-toolkit/js': No such file or directory

from tutor.

regisb avatar regisb commented on August 16, 2024

Can you give more content from the stacktrace?

from tutor.

natea avatar natea commented on August 16, 2024

It's the same as what I posted in the first comment. Or is there a way to make it more verbose?

from tutor.

regisb avatar regisb commented on August 16, 2024

This is strange. It seems chown crashes because there are symlinks (common/static/edx-pattern-library/fonts, common/static/edx-pattern-library/js, common/static/edx-ui-toolkit/js) that point to non-existing folders in node_modules/. However, chown is not supposed to follow symlinks. I can't reproduce the issue locally, even by deleting the node_modules/ folder.

Can you try the following fix:

  1. In openedx/docker-entrypoint.sh replace chown -R openedx /openedx by chown -R openedx /openedx || true
  2. make build
  3. make lms

from tutor.

natea avatar natea commented on August 16, 2024

Now I get a different error:

$ make lms
docker-compose run --rm -e USERID="$(id -u)" -e SETTINGS=development --volume="/Users/nateaune/Dropbox/code/natea-edx-platform-ginkgo:/openedx/edx-platform" -p 8000:8000 lms bash
Starting openedx-docker_rabbitmq_1  ...
Starting openedx-docker_mongodb_1   ... done
Starting openedx-docker_smtp_1      ... done
Starting openedx-docker_rabbitmq_1  ... done
creating new user 'openedx' with UID 501
chown: changing ownership of '/openedx/edx-platform/common/static/edx-pattern-library/fonts': No such file or directory
chown: changing ownership of '/openedx/edx-platform/common/static/edx-pattern-library/js': No such file or directory
chown: changing ownership of '/openedx/edx-platform/common/static/edx-ui-toolkit/js': No such file or directory
bash: /root/.bashrc: Permission denied

from tutor.

regisb avatar regisb commented on August 16, 2024

Is this a blocking error? I also get the "Permission denied" message but it's not preventing me from running the lms.

from tutor.

regisb avatar regisb commented on August 16, 2024

@natea both your issues were resolved by the last couple commits. Thanks again for being the canary in the mine!

from tutor.

natea avatar natea commented on August 16, 2024

from tutor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.