Re: [gitorious] Sorry, something went wrong

2012-04-27 Thread Marius Mårnes Mathiesen
Renne,
Looks like your process is killed when the app tries connecting to the
messaging server - a SignalException is raised when someone kills your
process. Since you're on a shared server, there are a number of reasons why
this could happen - your hosting provider probably has some kind of limits
on what you're allowed to do and kills processes that misbehave.

You could try adding:
messaging_adapter: sync

in config/gitorious.yml to handle these tasks synchronously instead of
using a message queue.

Cheers,
- Marius

On Thu, Apr 26, 2012 at 3:18 PM, renne  wrote:

> Hi,
>
> I'm new to Ruby and I'm trying to install Gitorious at a shared
> hoster.
>
> Currently I'm getting the following error message via email when
> creating a project:
>
>
> 
> snip
>
> ---
>
> A SignalException occurred in projects#create:
>
> SIGTERM
> [RAILS_ROOT]/vendor/bundle/ruby/1.8/gems/stomp-1.1/lib/stomp/
> connection.rb:70:in `sleep'
>
>
> 
> snip
>
> ---
>
> Thanks for any hint!
>
> Renne
>
>
>
>
> production.log:
>
>
> 
> snip
>
> ---
>
> ---
> Request:
> ---
>
> * URL : http://git./projects
> * IP address: xxx.xxx.xxx.xxx
> * Parameters:
> {"authenticity_token"=>"1SRJOWi2K0AsFsv1c1XGOcsY2cuj6hI6Id9ps0rVVpw=",
> "commit"=>"Create project", "action"=>"create",
> "controller"=>"projects", "project"=>{"wiki_enabled"=>"0",
> "owner_type"=>"User", "license"=>"GNU General Public License version 3
> (GPLv3)", "description"=>"Test", "bugtracker_url"=>"",
> "mailinglist_url"=>"", "title"=>"Test", "slug"=>"test",
> "home_url"=>"", "tag_list"=>""}}
> * Rails root: /kunden//gitorious/web
>
> ---
> Session:
> ---
>
> * session:
> {"flash"=>{}, :user_id=>1,
> :_csrf_token=>"1SRJOWi2K0AsFsv1c1XGOcsY2cuj6hI6Id9ps0rVVpw=",
> :session_id=>"f5ccd185d3e39705218baecd3b0c2318"}
>
> ---
> Environment:
> ---
>
> * CONTENT_LENGTH : 396
> * CONTENT_TYPE : application/x-www-form-urlencoded
> * DOCUMENT_ROOT : /kunden//gitorious/web/public
> * HTTP_ACCEPT : text/html,application/xhtml+xml,application/
> xml;q=0.9,*/*;q=0.8
> * HTTP_ACCEPT_ENCODING : gzip, deflate
> * HTTP_ACCEPT_LANGUAGE : de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
> * HTTP_CACHE_CONTROL : max-age=0
> * HTTP_CONNECTION : Keep-Alive
> * HTTP_COOKIE :
>
> _gitorious_sess=BAh7CSIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7ADoMdXNlcl9pZGkGOhBfY3NyZl90b2tlbiIxMVNSSk9XaTJLMEFzRnN2MWMxWEdPY3NZMmN1ajZoSTZJZDlwczByVlZwdz06D3Nlc3Npb25faWQiJWY1Y2NkMTg1ZDNlMzk3MDUyMThiYWVjZDNiMGMyMzE4--
> e0d1d280b89c6454fb906eab211bc590df89d326
> * HTTP_DNT : 1
> * HTTP_HOST : 1.git..an.webdav.domainfactory.de:81
> * HTTP_REFERER : http://git./projects/new
> * HTTP_USER_AGENT : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2)
> Gecko/20100101 Firefox/10.0.2
> * HTTP_X_FORWARDED_FOR : xxx.xxx.xxx.xxx
> * HTTP_X_FORWARDED_HOST : git.
> * HTTP_X_FORWARDED_SERVER : harendotes.domainfactory.de
> * PATH_INFO : /projects
> * QUERY_STRING :
> * REMOTE_ADDR : yyy.yyy.yyy.yyy
> * REMOTE_PORT : 47966
> * REQUEST_METHOD : POST
> * REQUEST_URI : /projects
> * SCRIPT_NAME :
> * SERVER_ADDR : yyy.yyy.yyy.yyy
> * SERVER_ADMIN : ab...@ispgateway.de
> * SERVER_NAME : git.
> * SERVER_PORT : 80
> * SERVER_PROTOCOL : HTTP/1.1
> * SERVER_SOFTWARE : Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0i
> Phusion_Passenger/2.2.15
> * _ : _
> * action_controller.request.path_parameters :
> actioncreatecontrollerprojects
> * action_controller.request.query_parameters :
> * action_controller.request.request_parameters:
> authenticity_token1SRJOWi2K0AsFsv1c1XGOcsY2cuj6hI6Id9ps0rVVpw=commitCreate
> projectprojectowner_typeUserwiki_enabled0licenseGNU General Public
> License version 3
>
> (GPLv3)bugtracker_urldescriptionTesttitleTestmailinglist_urlslugtesttag_listhome_url
> * action_controller.rescue.request : # 0xebd24ac4>
> * action_controller.rescue.response : # 0xebd2459c>
> * rack.errors : #
> * rack.input : #
> * rack.multiprocess : true
> * rack.multithread : false
> * rack.request.cookie_hash :
>
> _gitorious_sessBAh7CSIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7ADoMdXNlcl9pZGkGOhBfY3NyZl90b2tlbiIxMVNSSk9XaTJLMEFzRnN2MWMxWEdPY3NZMmN1ajZoSTZJZDlwczByVlZwdz06D3Nlc3Npb25faWQiJWY1Y2NkMTg1ZDNlMzk3MDUyMThiYWVjZDNiMGMyMzE4--
> e0d1d280b89c6454fb906eab211bc590df89d326
> * rack.request.cookie_string :
>
> _gitorious_sess=BAh7CSIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo

Re: [gitorious] ruby-hmac dependency

2012-04-27 Thread Marius Mårnes Mathiesen
Ken,
I think this dependency comes from the oauth gem under Ruby 1.8?

Cheers,
- Marius

On Tue, Apr 24, 2012 at 4:54 AM, Ken Dreyer  wrote:

> Hello,
>
> I'm wondering if ruby-hmac should be removed from Gitorious's Gemfile
> and Gemfile.lock? I don't see any code that depends on ruby-hmac, and
> in addition the upstream author recommends using the OpenSSL
> functionality instead.
>
> - Ken
>
> --
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscr...@googlegroups.com
>



-- 
Marius Mårnes Mathiesen
Rubyist, Shortcut AS
Tel.: (+47) 92 60 95 38.

http://shortcut.no

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] Update Git version to 1.7.x

2012-04-27 Thread Marius Mårnes Mathiesen
On Mon, Apr 23, 2012 at 3:02 PM, john malc  wrote:

> Hi, guys. gitorious is really great, better than github in term os easy
> use (and that you are in EU).
>
> But may i have a little question ? It is 
> written here, that you use 1.6.x. For
> * me it doesn't matter* (maybe it does, but i assume that there could be
> some security things etc. and that could be a reason why you should update.
> As i said i don't know git very well, but can you explain me, why you
> didn't update to the newest one ? Maybe you have some reason for that. I
> just would like to know that.
>

John,
We seem to have two git installations on the frontend server, and the one
that's being reported on the page you're referring to isn't the one that's
being used. Our servers are running git 1.7.6, I promise!

I just pushed a fixhttps://
gitorious.org/gitorious/mainline/commit/086f65c15d1a4320fe64f0dc4b8b115f09b6ec3f)
in the way Gitorious handles these. The page on gitorious.org will reflect
this next time we deploy.

Thanks for the feedback!

Cheers,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com