Hi all

I've reinstalled go-server and go-agent from scratch(as in 
https://docs.gocd.org/current/installation/install/server/linux.html), and 
this time I could go further.

Now go-server is running. I use nginx proxy:


server {
       # Redirect any http requests to https
       listen         80;
       server_name    go.mydomain.com;
       server_tokens  off;
       return 301     https://go.mydomain.com$request_uri;
}
server {
       listen         443 ssl;
       server_name    go.mydomain.com;
       server_tokens  off;
       access_log      /home/my-acct/nginx/log/go_access.log;
       error_log       /home/my-acct/nginx/log/go_error.log;
       ssl_certificate           /home/my-acct/ssl/STAR_arep_co.pem;
       ssl_certificate_key       /home/my-acct/ssl/STAR_arep_co.key;
       # Proxy everything over to the GoCD server
       location / {
                proxy_set_header        Host            $host;
                proxy_set_header        X-Real-IP       $remote_addr;
                proxy_set_header        X-Forwarded-For 
$proxy_add_x_forwarded_for;
                proxy_set_header        X-Forwarded-Proto $scheme;
                proxy_pass              http://localhost:8153;
                }
}



When I hit https://go.mydomain.com, it redirects to 
https://go.mydomain.com/go/home then error messages on the browser:

org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- 
rails/backtrace_cleaner
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)
at 
ActiveSupport::Dependencies::Loadable.require(/var/lib/go-server/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/rails.new/vendor/bundle/jruby/1.9/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229)
at 
ActiveSupport::Dependencies::Loadable.load_dependency(/var/lib/go-server/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/rails.new/vendor/bundle/jruby/1.9/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:214)
at 
ActiveSupport::Dependencies::Loadable.require(/var/lib/go-server/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/rails.new/vendor/bundle/jruby/1.9/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229)
at 
RUBY.backtrace_cleaner(/var/lib/go-server/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/rails.new/vendor/bundle/jruby/1.9/gems/railties-4.0.4/lib/rails.rb:46)
at 
RUBY.env_config(/var/lib/go-server/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/rails.new/vendor/bundle/jruby/1.9/gems/railties-4.0.4/lib/rails/application.rb:149)
at 
RUBY.call(/var/lib/go-server/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/rails.new/vendor/bundle/jruby/1.9/gems/railties-4.0.4/lib/rails/engine.rb:507)
at 
RUBY.call(/var/lib/go-server/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/rails.new/vendor/bundle/jruby/1.9/gems/railties-4.0.4/lib/rails/application.rb:97)
at 
RUBY.call(file:/var/lib/go-server/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/lib/jruby-rack-1.1.14.jar!/rack/handler/servlet.rb:22)



Do I need to install any other packages?

Thanks!

- J

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to