Code Monkey home page Code Monkey logo

Comments (7)

yuvadm avatar yuvadm commented on June 9, 2024

This is turning out to be a very serious issue that restricts any ability of running any type of admin command.

Effectively, an instance cannot be administered properly without the ability to run rake.

from configuration.

jarv avatar jarv commented on June 9, 2024

Closing, please try again using the devstack or prodstack docs:
https://github.com/edx/configuration/wiki/edX-Developer-Stack
https://github.com/edx/configuration/wiki/edX-Production-Stack
against the latest release and let us know if you run into any issues.
-John

from configuration.

tummykung avatar tummykung commented on June 9, 2024

I use the newest release but run into an error:

edxapp@precise64:~/edx-platform$ rake assets[lms,devstack]
./manage.py lms --settings devstack preprocess_assets --traceback 
xmodule_assets common/static/xmodule
node_modules/.bin/coffee --compile `find lms/ cms/ common/ -type f -name *.coffee` 
sh: 1: node_modules/.bin/coffee: not found
rake aborted!
Command failed with status (127): [node_modules/.bin/coffee --compile `find l...]
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `call'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `sh'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/file_utils_ext.rb:37:in `sh'
/edx/app/edxapp/edx-platform/rakelib/assets.rake:86:in `block (3 levels) in <top (required)>'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:215:in `block (2 levels) in invoke_prerequisites_concurrently'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/promise.rb:63:in `call'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/promise.rb:63:in `chore'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/promise.rb:45:in `work'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/thread_pool.rb:103:in `process_queue_item'
/edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/thread_pool.rb:117:in `block (2 levels) in start_thread'
Tasks: TOP => assets => assets:all => assets:coffee
(See full trace by running task with --trace)

from configuration.

tummykung avatar tummykung commented on June 9, 2024

and here is the result when running the above command with --trace: https://gist.github.com/tummykung/9934b539e4e4b0e1d215

from configuration.

e0d avatar e0d commented on June 9, 2024

Is this an instance that was upgraded from a prior version of the configuration code? The gist suggests an incomplete installation. I assume that this returns nothing:

ls -l /edx/app/edxapp/edx-platform/node_modules/.bin/coffee

from configuration.

tummykung avatar tummykung commented on June 9, 2024

Yes. It returns nothing.

Perhaps I did not setup edx-platform correctly? When I ran vagrant up and vagrant ssh from configuration/vagrant/release/dosa/devstack, I see an empty edx-platform folder so I git clone the edx-platform repo there. Am I not supposed to do so?

from configuration.

wedaly avatar wedaly commented on June 9, 2024

@tummykung The Ansible deploy scripts should handle cloning the repo and performing other one-time setup. These will run automatically the first time you do vagrant up, but if they failed for any reason you'll need to re-run them manually with:

vagrant provision

If you see an error message about Ansible not being available, make sure you have the configuration requirements installed:

cd configuration
sudo pip install -r requirements.txt

from configuration.

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.