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.

Reply via email to