Thank you James for your quick answer on a Sunday. You have asked the right question : try running the indexer.
I feel totally stupid, but I glad I asked the question. The only problem was that I had only installed Thinking Sphinx and not Sphinx itself... Installation done, the app works like a charm. Thank you very much. JLF On Mar 22, 3:21 pm, James Healy <[email protected]> wrote: > When you say the database folder is void, do you mean the directory that > holds your sphinx index files is empty? > > This a guess, but the first thing I'd check when indexes or log files > aren't being created correctly is permissions. Make sure the user > running rake and/or the sphinx daemon has write permissions to the > relevant locations. > > Failing that, try running the indexer directly and see if that works. > That might help you narrow down if the issue is with TS or sphinx > itself. > > indexer --config <path_to_config> --rotate --all > > James > > jlf wrote: > > > Hi, > > I've been working with TS on dev for while, with success. Yesterday, I > > started working on the deployment of the app using capistrano. > > > I've created a config/sphinx.yml file to store sphinx related files in > > the Shared folder. > > When I start building the index here is what I get : > > > rake ts:in RAILS_ENV=production > > (in /home/admin/public_html/marathons/releases/20090322061610) > > Generating Configuration to /home/admin/public_html/marathons/shared/ > > config/production.sphinx.conf > > indexer --config /home/admin/public_html/marathons/shared/config/ > > production.sphinx.conf --all > > > The .conf file has been created in the right folder. And its content > > seems right. I can see the right folders for logs and pid files > > > But the database folder is void. > > > When I try to start TS > > rake ts:start RAILS_ENV=production > > (in /home/admin/public_html/marathons/releases/20090322061610) > > searchd --pidfile --config /home/admin/public_html/marathons/shared/ > > config/production.sphinx.conf > > Failed to start searchd daemon. Check /home/admin/public_html/ > > marathons/shared/log/searchd.log. > > > the searchd.log doesn't exist, so I don't know what to do next. > > I'm deploying on an ubuntu intrepid server. > > The rest of the application is working properly. > > > Any advice to help me get through this ? > > thanks > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
