Content
FreeBSD 10.2 - Jail - Spawning error
Added by Greg S. over 8 years ago
Hey,
I installed OpenProject inside a jail running on a FreeBSD 10.2 host. Currently I want to host OP via nginx and passenger. The installation seems to work properly. When I request the OP-website I get an error-page telling me, that the OP instance is sorry, because something went wrong. In the passenger log file i get the following hint:
Could not spawn process for application /home/openproject/openproject-ce: An error occurred while starting up the preloader.
Error ID: 3820eb8a
Error details saved to: /tmp/passenger-error-swKyec.html
Message from application: There was an error while trying to load the gem ‘autoprefixer-rails’.
Gem Load Error is: Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.
Asking google for the error message, you get mainly the answer to install node.js (https://community.openproject.com/topics/5589). But as far as I can tell node.js is installed:
# node -v v6.7.0
I am not familiar with ruby/node applications, so I am not sure what can trigger this error. I would be glad to get some help.
On long term I would acutally prefer running OpenProject in a passenger standalone listening on a unix-socket for requestes. Is that acutally possible or do I need to run nginx as well?
Best,
Gregor