Hi Roman, you need to run this command from the gitorious location: cd /var/www/gitorious/app RAILS_ENV=production bundle exec rake ts:start
Cheers, Pawel On 9 April 2014 14:44, Roman N <datainfo...@gmail.com> wrote: > I run updated script few weeks ago, everything else seems to be fixed > except search. > > -bash-4.1$ bundle exec rake ts:start > Could not locate Gemfile > -bash-4.1$ export RAILS_ENV=production > -bash-4.1$ bundle exec rake ts:start > Could not locate Gemfile > > --Roman > > Paweł Pierzchała said the following, on 09-04-14, 8:40 AM: > > Hi Roman, > I've run into this error when my searchd daemon was down. Please make sure > you have this process running. Have you run the upgrade script? It should > start it automatically.You can try starting by hand with: > > bundle exec rake ts:start > > Cheers, > Pawel > > > On 31 March 2014 02:19, Roman Naumenko <roman.naume...@gmail.com> wrote: > >> On Friday, March 28, 2014 10:48:15 AM UTC-4, Paweł Pierzchała wrote: >> > Hi Brian and Roman, >> > Thank you Brain for spotting the missing pid directive, I've added it >> to the config/unicorn.rb template and I've updated the upgrade script to >> regenerate it and related monit task. >> > >> > The problems you have experienced were most likely caused by the old >> gitorious configuration. Please run the following command from application >> directory as a git user. Upgrade script now suggests that as well. >> > >> > bin/upgrade-gitorious3-config config/gitorious.yml config/gitorious.yml >> > >> > Roman, the upgrade script, now updates sphinx and regenerates the >> configs, please run it again, it should fix your problem. >> > >> > Finally, about the resque issue, I wasn't able to reproduce this one, >> please tell me if this still happens after the upgrade and resque-wroker >> restart. >> > >> > Cheers, >> > Pawel >> >> Thank you, Pawel. >> Startup script works fine. >> >> I also wanted to check why search is not working. Search for anything >> prints error "Gitorious encountered an server error. We are automatically >> notified of errors and will look into it." >> >> Related error in the /var/www/gitorious/app/log/production.log >> >> ThinkingSphinx::ConnectionError (Can't connect to MySQL server on >> '127.0.0.1' (111)): >> app/controllers/searches_controller.rb:38:in `block in show' >> lib/gitorious/authorized_filter.rb:35:in `call' >> lib/gitorious/authorized_filter.rb:35:in `block in filter_paginated' >> lib/gitorious/authorized_filter.rb:34:in `filter_paginated' >> app/controllers/searches_controller.rb:30:in `show' >> app/middlewares/dolt_cache_middleware.rb:24:in `call' >> app/middlewares/dolt_auth_middleware.rb:26:in `call' >> >> >> Checked pass in /var/www/gitorious/app/config/database.yml, seems correct >> since /etc/init.d/gitorious-unicorn starts app fine. >> >> -- >> -- >> To post to this group, send email to gitorious@googlegroups.com >> To unsubscribe from this group, send email to >> gitorious+unsubscr...@googlegroups.com >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Gitorious" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to gitorious+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > -- > To post to this group, send email to gitorious@googlegroups.com > To unsubscribe from this group, send email to > gitorious+unsubscr...@googlegroups.com > > --- > You received this message because you are subscribed to a topic in the > Google Groups "Gitorious" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/gitorious/WpDZpe1qSd8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > gitorious+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > -- > -- > To post to this group, send email to gitorious@googlegroups.com > To unsubscribe from this group, send email to > gitorious+unsubscr...@googlegroups.com > > --- > You received this message because you are subscribed to the Google Groups > "Gitorious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to gitorious+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitorious+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.