Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      OpenProject ID Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Problem installing

Problem installing

Added by Crivineanu Raul almost 10 years ago

I’m trying to install openproject on Ubuntu with Apache on it and when executing command bundle exec rake db:create:all (or any other one which refers to installing) it returns:
openprojectblendcamp:~/openproject$ bundle exec rake db:create:all
require ‘rails/all’… 0.920s
Bundler.require… rake aborted!
ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See https://git hub.com/sstephenson/execjs for a list of available runtimes.
/home/openproject/.rvm/gems/ruby-2.1.4/gems/execjs-2.4.0/lib/execjs/runtimes.rb: 45:in `autodetect’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/execjs-2.4.0/lib/execjs.rb:5:in `’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/execjs-2.4.0/lib/execjs.rb:4:in `<to p (required)>’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/activesupport-4.1.13/lib/active_supp ort/dependencies.rb:247:in `require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/activesupport-4.1.13/lib/active_supp ort/dependencies.rb:247:in `block in require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/activesupport-4.1.13/lib/active_supp ort/dependencies.rb:232:in `load_dependency’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/activesupport-4.1.13/lib/active_supp ort/dependencies.rb:247:in `require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/autoprefixer-rails-5.1.11/lib/autopr efixer-rails/processor.rb:2:in `<top (required)>’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/autoprefixer-rails-5.1.11/lib/autopr efixer-rails.rb:29:in `require_relative’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/autoprefixer-rails-5.1.11/lib/autopr efixer-rails.rb:29:in `<top (required)>’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:76:in `require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:76:in `block (2 levels) in require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:72:in `each’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:72:in `block in require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:61:in `each’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:61:in `require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler.rb:134:in `require’
/home/openproject/openproject/config/application.rb:69:in `block in <top (requir ed)>’
/home/openproject/openproject/config/application.rb:43:in `block in bench’
/home/openproject/openproject/config/application.rb:42:in `bench’
/home/openproject/openproject/config/application.rb:68:in `<top (required)>’
/home/openproject/openproject/Rakefile:33:in `require’
/home/openproject/openproject/Rakefile:33:in `<top (required)>’
/home/openproject/.rvm/gems/ruby-2.1.4/bin/ruby_executable_hooks:15:in `eval’
/home/openproject/.rvm/gems/ruby-2.1.4/bin/ruby_executable_hooks:15:in `

’
(See full trace by running task with —trace)
@

I must say that I’ve edited configuration.yml and left there my DB details. What should be the problem?


Replies (1)

RE: Problem installing - Added by mab internet almost 10 years ago

Hi Crivineanu Raul,

Check this out:

https://community.openproject.org/topics/4720
http://stackoverflow.com/questions/8059332/could-not-find-a-javascript-runtime-see-https-github-com-sstephenson-execjs-f

It may help. I think I had the same problem.

Cheers
Luis

  • (1 - 1/1)
Loading...