Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7428365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:44:05+00:00 2026-05-29T08:44:05+00:00

I am trying to deploy a rails app on webbyapp. I am using sunspot

  • 0

I am trying to deploy a rails app on webbyapp. I am using sunspot for search functionality. It works fine in development mode.

After deploying my app I get the “we are sorry something went wrong” page. I tried to check the logs and got this :-

(eval):2:in `post'
/usr/lib/ruby/gems/1.9.1/gems/sunspot-1.3.0/lib/sunspot/search/abstract_search.rb:38:in `execute'
/usr/lib/ruby/gems/1.9.1/gems/sunspot_rails-1.3.0/lib/sunspot/rails/searchable.rb:329:in `solr_execute_search'
/usr/lib/ruby/gems/1.9.1/gems/sunspot_rails-1.3.0/lib/sunspot/rails/searchable.rb:153:in `solr_search'
/var/rapp/StudyAbroader/app/controllers/home_controller.rb:24:in `search'
/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'):
  app/controllers/home_controller.rb:24:in `search'

I dont know what to make of it.

I installed topcat6 and opnjdk-6 on my production machine as it was told in lot of tutorial.

Here is my sunspot.yml file :-

production:
  solr:
    hostname: xxx.webbyapp.com
    port: 8080
    log_level: WARNING

Updated with netstat-ntpl output

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:53888         0.0.0.0:*               LISTEN      -               
tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN      -               
tcp6       0      0 :::8080                 :::*                    LISTEN      -               
tcp6       0      0 :::8982                 :::*                    LISTEN      19270/java      
tcp6       0      0 :::22                   :::*                    LISTEN      -               
tcp6       0      0 ::1:5432                :::*                    LISTEN      -  

I am trying to debug it since morning but no luck. Can someone please have a look at it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T08:44:05+00:00Added an answer on May 29, 2026 at 8:44 am

    Changing the schema.xml file in the production with the schema.xml file in development which can be found here appname/solr/conf/schema.xml did it for me, atleast sunspot started to show the search result.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to test deploy a simple Rails 3.1 app in production mode, using the
I'm trying to deploy my Rails app to my webhost (DreamHost) using Capistrano but
I'm trying to deploy a Rails app on an Apache2 server by using Phusion
I'm trying to deploy an app on engine yard. I'm using rails 2.3.5 and
We are trying to deploy our Rails app using Passenger and Nginx on a
I am trying to deploy my app on Rails for the first time using
I am trying to deploy my first rails app and struggling a bit. My
I'm trying to deploy my rails application by using Passenger and Capistrano on Dreamhost.
I'm trying to deploy my RoR app. It seems to be working fine on
I'm trying to deploy a Rails app to a CentOS server running Passenger. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.