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 <[email protected]> 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.<mydomain>/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/<mypath>/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/<mypath>/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.<mydomain>.an<myid>.webdav.domainfactory.de:81
> * HTTP_REFERER : http://git.<mydomain>/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.<mydomain>
> * 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 : [email protected]
> * SERVER_NAME : git.<mydomain>
> * 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 : #<ActionController::Request:
> 0xebd24ac4>
> * action_controller.rescue.response : #<ActionController::Response:
> 0xebd2459c>
> * rack.errors : #<IO:0xedf4f554>
> * rack.input : #<PhusionPassenger::Utils::RewindableInput:0xebd31bc0>
> * rack.multiprocess : true
> * rack.multithread : false
> * rack.request.cookie_hash :
>
> _gitorious_sessBAh7CSIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7ADoMdXNlcl9pZGkGOhBfY3NyZl90b2tlbiIxMVNSSk9XaTJLMEFzRnN2MWMxWEdPY3NZMmN1ajZoSTZJZDlwczByVlZwdz06D3Nlc3Npb25faWQiJWY1Y2NkMTg1ZDNlMzk3MDUyMThiYWVjZDNiMGMyMzE4--
> e0d1d280b89c6454fb906eab211bc590df89d326
> * rack.request.cookie_string :
>
> _gitorious_sess=BAh7CSIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7ADoMdXNlcl9pZGkGOhBfY3NyZl90b2tlbiIxMVNSSk9XaTJLMEFzRnN2MWMxWEdPY3NZMmN1ajZoSTZJZDlwczByVlZwdz06D3Nlc3Npb25faWQiJWY1Y2NkMTg1ZDNlMzk3MDUyMThiYWVjZDNiMGMyMzE4--
> e0d1d280b89c6454fb906eab211bc590df89d326
> * rack.request.form_hash :
> authenticity_token1SRJOWi2K0AsFsv1c1XGOcsY2cuj6hI6Id9ps0rVVpw=commitCreate
> projectprojectwiki_enabled0owner_typeUserlicenseGNU General Public
> License version 3
>
> (GPLv3)descriptionTestbugtracker_urlmailinglist_urltitleTestslugtesthome_urltag_list
> * rack.request.form_input : #<PhusionPassenger::Utils::RewindableInput:
> 0xebd31bc0>
> * rack.request.form_vars :
> authenticity_token=1SRJOWi2K0AsFsv1c1XGOcsY2cuj6hI6Id9ps0rVVpw
> %3D&project%5Btitle%5D=Test&project%5Bslug%5D=Test&project%5Bowner_type
> %5D=User&project%5Btag_list%5D=&project%5Blicense%5D=GNU+General+Public
> +License+version+3+%28GPLv3%29&project%5Bhome_url%5D=&project
> %5Bmailinglist_url%5D=&project%5Bbugtracker_url%5D=&project
> %5Bwiki_enabled%5D=0&project%5Bdescription%5D=Test&commit=Create
> +project
> * rack.request.query_hash :
> * rack.request.query_string :
> * rack.run_once : false
> * rack.session :
>
> flashuser_id1_csrf_token1SRJOWi2K0AsFsv1c1XGOcsY2cuj6hI6Id9ps0rVVpw=session_idf5ccd185d3e39705218baecd3b0c2318
> * rack.session.options :
>
> key_session_idexpire_after1814400httponlytrueidf5ccd185d3e39705218baecd3b0c2318path/
> domain.git.<mydomain>
> * rack.url_scheme : http
> * rack.version : 10
>
> * Process: 5002
> * Server : harendotes.ispgateway.de
>
> -------------------------------
> Backtrace:
> -------------------------------
>
> [RAILS_ROOT]/vendor/bundle/ruby/1.8/gems/stomp-1.1/lib/stomp/
> connection.rb:70:in `sleep'
> [RAILS_ROOT]/vendor/bundle/ruby/1.8/gems/stomp-1.1/lib/stomp/
> connection.rb:70:in `socket'
> [RAILS_ROOT]/vendor/bundle/ruby/1.8/gems/stomp-1.1/lib/stomp/
> connection.rb:42:in `initialize'
> [RAILS_ROOT]/vendor/bundle/ruby/1.8/gems/stomp-1.1/lib/stomp/
> connection.rb:47:in `new'
> [RAILS_ROOT]/vendor/bundle/ruby/1.8/gems/stomp-1.1/lib/stomp/
> connection.rb:47:in `open'
> [RAILS_ROOT]/lib/gitorious/messaging/stomp_adapter.rb:125:in `connect'
> [RAILS_ROOT]/lib/gitorious/messaging/stomp_adapter.rb:129:in
> `connection'
> [RAILS_ROOT]/lib/gitorious/messaging/stomp_adapter.rb:140:in `publish'
> [RAILS_ROOT]/lib/gitorious/messaging/stomp_adapter.rb:50:in
> `do_publish'
> [RAILS_ROOT]/lib/gitorious/messaging.rb:39:in `publish'
> [RAILS_ROOT]/app/models/repository.rb:395:in
> `post_repo_creation_message'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:178:in `send'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:178:in `evaluate_method'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:166:in `call'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:93:in `run'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:92:in `each'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:92:in `send'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:92:in `run'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:276:in `run_callbacks'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/callbacks.rb:
> 344:in `callback'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/callbacks.rb:
> 267:in `create'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:
> 2874:in `create_or_update_without_callbacks'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/callbacks.rb:
> 250:in `create_or_update'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:
> 2555:in `save_without_validation!'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> validations.rb:1088:in `save_without_dirty!'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/dirty.rb:
> 87:in `save_without_transactions!'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:200:in `save!'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/database_statements.rb:136:in
> `transaction'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:182:in `transaction'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:200:in `save!'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:208:in `rollback_active_record_state!'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:200:in `save!'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> validations.rb:1059:in `create!'
> [RAILS_ROOT]/app/models/project.rb:352:in `create_wiki_repository'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:178:in `send'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:178:in `evaluate_method'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:166:in `call'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:93:in `run'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:92:in `each'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:92:in `send'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:92:in `run'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/
> callbacks.rb:276:in `run_callbacks'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/callbacks.rb:
> 344:in `callback'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/callbacks.rb:
> 267:in `create'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:
> 2874:in `create_or_update_without_callbacks'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/callbacks.rb:
> 250:in `create_or_update'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:
> 2538:in `save_without_validation'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> validations.rb:1078:in `save_without_dirty'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/dirty.rb:
> 79:in `save_without_transactions'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:229:in `send'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:229:in `with_transaction_returning_status'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/database_statements.rb:136:in
> `transaction'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:182:in `transaction'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:228:in `with_transaction_returning_status'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:196:in `save'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:208:in `rollback_active_record_state!'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> transactions.rb:196:in `save'
> [RAILS_ROOT]/app/controllers/projects_controller.rb:120:in `create'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:
> 1331:in `send'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:
> 1331:in `perform_action_without_filters'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:
> 617:in `call_filters'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:
> 610:in `perform_action_without_benchmark'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
> benchmarking.rb:68:in `perform_action_without_rescue'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/
> benchmark.rb:17:in `ms'
> /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/
> benchmark.rb:17:in `ms'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
> benchmarking.rb:68:in `perform_action_without_rescue'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/rescue.rb:
> 160:in `perform_action_without_flash'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/flash.rb:
> 146:in `perform_action'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:
> 532:in `send'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:
> 532:in `process_without_filters'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:
> 606:in `process'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:
> 391:in `process'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:
> 386:in `call'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/routing/
> route_set.rb:437:in `call'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
> dispatcher.rb:87:in `dispatch'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
> dispatcher.rb:121:in `_call'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
> dispatcher.rb:130:in `build_middleware_stack'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> query_cache.rb:29:in `call'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> query_cache.rb:29:in `call'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/query_cache.rb:34:in `cache'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> query_cache.rb:9:in `cache'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> query_cache.rb:28:in `call'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_pool.rb:361:in `call'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
> string_coercion.rb:25:in `call'
> [RAILS_ROOT]/vendor/bundle/ruby/1.8/gems/rack-1.0.1/lib/rack/head.rb:
> 9:in `call'
> [RAILS_ROOT]/vendor/bundle/ruby/1.8/gems/rack-1.0.1/lib/rack/
> methodoverride.rb:24:in `call'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
> params_parser.rb:15:in `call'
> [RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/metal.rb:47:in
> `call'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/session/
> cookie_store.rb:93:in `call'
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/cache/
> strategy/local_cache.rb:24:in `call'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/failsafe.rb:
> 26:in `call'
> [RAILS_ROOT]/vendor/bundle/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:
> 11:in `call'
> [RAILS_ROOT]/vendor/bundle/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:
> 11:in `synchronize'
> [RAILS_ROOT]/vendor/bundle/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:
> 11:in `call'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
> dispatcher.rb:106:in `call'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/rack/
> request_handler.rb:92:in `process_request'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/
> abstract_request_handler.rb:210:in `main_loop'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/railz/
> application_spawner.rb:441:in `start_request_handler'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/railz/
> application_spawner.rb:381:in `handle_spawn_application'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/utils.rb:252:in
> `safe_fork'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/railz/
> application_spawner.rb:377:in `handle_spawn_application'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/
> abstract_server.rb:352:in `__send__'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/
> abstract_server.rb:352:in `main_loop'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/
> abstract_server.rb:196:in `start_synchronously'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/
> abstract_server.rb:163:in `start'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/railz/
> application_spawner.rb:222:in `start'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/spawn_manager.rb:
> 253:in `spawn_rails_application'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/
> abstract_server_collection.rb:126:in `lookup_or_add'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/spawn_manager.rb:
> 247:in `spawn_rails_application'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/
> abstract_server_collection.rb:80:in `synchronize'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/
> abstract_server_collection.rb:79:in `synchronize'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/spawn_manager.rb:
> 246:in `spawn_rails_application'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/spawn_manager.rb:
> 145:in `spawn_application'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/spawn_manager.rb:
> 278:in `handle_spawn_application'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/
> abstract_server.rb:352:in `__send__'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/
> abstract_server.rb:352:in `main_loop'
> /usr/local/appserver/mod_rails/lib/phusion_passenger/
> abstract_server.rb:196:in `start_synchronously'
> /usr/local/appserver/mod_rails/bin/passenger-spawn-server:61
>
>
> ----------------------------------------------------------------------------
> snap
>
> -------------------------------------------------------------------------------
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
>



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

http://shortcut.no

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to