Closed StCyr closed 1 year ago
export EXECJS_RUNTIME=Disabled
that should be already in the environment as discussed, everywhere
It's there:
!/bin/sh
# cleans up previous shutdown
rm -f /opt/roadmap/tmp/pids/server.pid
# Sets up environment
export DB_ADAPTER=postgresql
export RAILS_ENV=production
export RAILS_SERVE_STATIC_FILES=true
export ORCID_CLIENT_ID="xxxxxxxxxxxxxxxxxx"
export ORCID_CLIENT_SECRET="xxxxxxxxxxxxxx"
export BASE_URL="https://test.dmponline.be"
export MALLOC_ARENA_MAX=2
export EXECJS_RUNTIME=Disabled
export DMP_HOST="test.dmponline.be"
export DMPROADMAP_HOST="test.dmponline.be"
export DMP_PROTOCOL="https"
export DMP_SMTP_ADDRESS="postfix"
export RAILS_LOG_TO_STDOUT=true
I think it only applies to /bin/rails server -b 0.0.0.0
though.
@StCyr you probably need to read in those variables in your environment too, as they are probably now only added on server startup.
Indeed,
needs RAILS_ENV=production
too though
@StCyr mm yes right. In development there are some hidden assumptions about available development tools like nodejs etc
Hello @nicolasfranck,
on test-dmponline.be, I get this error when I try to run
bin/rails console
:any idea how to fix it?