On Monday, May 5, 2014 6:03:38 PM UTC-4, Faras Sadek wrote:
> Hi,
> I used puppet to install gitorious v3.0.2. The installation went fine.
> But I was not able to create a repository inside a project. Here is what I 
> get each time "Sorry, something went wrong
> Gitorious encountered an server error. We are automatically notified of 
> errors and will look into it. If the error persists beyond what's reasonable, 
> let us know." 
> 
> 
> Here is the log 
> 
> 
> 
> ==> /var/www/gitorious/app/log/message_processing.log <==
> got: (Job{/queue/GitoriousEmailEventSubscribers} | 
> EmailEventSubscribersProcessor | ["{\"event_id\":14}"])
> Running before_fork hooks with [(Job{/queue/GitoriousEmailEventSubscribers} | 
> EmailEventSubscribersProcessor | ["{\"event_id\":14}"])]
> Running after_fork hooks with [(Job{/queue/GitoriousEmailEventSubscribers} | 
> EmailEventSubscribersProcessor | ["{\"event_id\":14}"])]
> done: (Job{/queue/GitoriousEmailEventSubscribers} | 
> EmailEventSubscribersProcessor | ["{\"event_id\":14}"])
> got: (Job{/queue/GitoriousProjectRepositoryCreation} | 
> ProjectRepositoryCreationProcessor | ["{\"id\":14}"])
> Running before_fork hooks with 
> [(Job{/queue/GitoriousProjectRepositoryCreation} | 
> ProjectRepositoryCreationProcessor | ["{\"id\":14}"])]
> Running after_fork hooks with 
> [(Job{/queue/GitoriousProjectRepositoryCreation} | 
> ProjectRepositoryCreationProcessor | ["{\"id\":14}"])]
> Processing new project repository: #<Repository id: 14, path: john/newrepo>
> fatal: Not a git repository: 
> '/var/www/gitorious/repositories/john/newrepo.git'
> done: (Job{/queue/GitoriousProjectRepositoryCreation} | 
> ProjectRepositoryCreationProcessor | ["{\"id\":14}"])
> 
> ==> /var/www/gitorious/app/log/production.log <==
> 
> Errno::ENOENT (No such file or directory - 
> /var/www/gitorious/repositories/john/newrepo.git/HEAD):
>   app/models/repository.rb:301:in `head'
>   app/controllers/repositories_controller.rb:47:in `block (2 levels) in show'
>   app/controllers/repositories_controller.rb:44:in `show'
>   app/middlewares/dolt_cache_middleware.rb:24:in `call'
>   app/middlewares/dolt_auth_middleware.rb:26:in `call'
> 
> 
> 
> 
> I really do need your help. 
> 
> thanks
> Faras



here is more log 


An Errno::ENOENT occurred in repositories#show:

  No such file or directory - /var/www/gitorious/repositories/adel/sdsd.git/HEAD
  vendor/bundle/ruby/gems/gitlab-grit-2.6.5/lib/grit/git.rb:120:in `read'


-------------------------------
Request:
-------------------------------

  * URL        : 
https://ec2-54-187-103-40.us-west-2.compute.amazonaws.com/adel/sdsd
  * HTTP Method: GET
  * IP address : 140.247.173.44
  * Parameters : {"action"=>"show", "controller"=>"repositories", 
"project_id"=>"adel", "id"=>"sdsd"}
  * Timestamp  : 2014-05-05 22:02:48 UTC
  * Server : ec2-54-187-103-40.us-west-2.compute.amazonaws.com
  * Rails root : /var/www/gitorious/app
  * Process: 1368

-------------------------------
Session:
-------------------------------

  * session id: [FILTERED]
  * data: {"session_id"=>"e44b5ab16c6a85ccb66cf29be6647563",
   "_csrf_token"=>"8qI6r1WDPyBzw0FZHduIsoReaWEUtuEZOPxvVnmat0Q=",
   "user_id"=>3}

-------------------------------
Environment:
-------------------------------

  * DOCUMENT_ROOT                                  : 
/var/www/gitorious/app/public
  * HTTPS                                          : on
  * HTTP_ACCEPT                                    : 
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
  * HTTP_ACCEPT_ENCODING                           : gzip,deflate,sdch
  * HTTP_ACCEPT_LANGUAGE                           : en-US,en;q=0.8,ar;q=0.6
  * HTTP_CACHE_CONTROL                             : max-age=0
  * HTTP_CONNECTION                                : keep-alive
  * HTTP_COOKIE                                    : _logged_in=true; 
_gitorious_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFVEkiJWU0NGI1YWIxNmM2YTg1Y2NiNjZjZjI5YmU2NjQ3NTYzBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMThxSTZyMVdEUHlCencwRlpIZHVJc29SZWFXRVV0dUVaT1B4dlZubWF0MFE9BjsARkkiDHVzZXJfaWQGOwBGaQg%3D--e9a167aaabfa08e11df57a307deda895b42f06a4
  * HTTP_HOST                                      : 
ec2-54-187-103-40.us-west-2.compute.amazonaws.com
  * HTTP_REFERER                                   : 
https://ec2-54-187-103-40.us-west-2.compute.amazonaws.com/adel/sdsd
  * HTTP_USER_AGENT                                : Mozilla/5.0 (X11; Linux 
x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.132 
Safari/537.36
  * ORIGINAL_FULLPATH                              : /adel/sdsd
  * PASSENGER_APP_GROUP_NAME                       : /var/www/gitorious/app
  * PASSENGER_APP_ROOT                             : /var/www/gitorious/app
  * PASSENGER_APP_TYPE                             : rack
  * PASSENGER_CONNECT_PASSWORD                     : [FILTERED]
  * PASSENGER_DEBUGGER                             : false
  * PASSENGER_ENV                                  : production
  * PASSENGER_FRIENDLY_ERROR_PAGES                 : true
  * PASSENGER_GROUP                                : 
  * PASSENGER_MAX_PRELOADER_IDLE_TIME              : -1
  * PASSENGER_MAX_REQUESTS                         : 0
  * PASSENGER_MIN_INSTANCES                        : 1
  * PASSENGER_RESTART_DIR                          : 
  * PASSENGER_RUBY                                 : /usr/bin/ruby
  * PASSENGER_SHOW_VERSION_IN_HEADER               : true
  * PASSENGER_SPAWN_METHOD                         : smart
  * PASSENGER_START_TIMEOUT                        : 90
  * PASSENGER_STATUS_LINE                          : false
  * PASSENGER_STAT_THROTTLE_RATE                   : 0
  * PASSENGER_USER                                 : 
  * PATH_INFO                                      : /adel/sdsd
  * QUERY_STRING                                   : 
  * REMOTE_ADDR                                    : 140.247.173.44
  * REMOTE_PORT                                    : 58296
  * REQUEST_METHOD                                 : GET
  * REQUEST_URI                                    : /adel/sdsd
  * SCRIPT_NAME                                    : 
  * SERVER_ADDR                                    : 172.31.17.203
  * SERVER_ADMIN                                   : root@localhost
  * SERVER_NAME                                    : 
ec2-54-187-103-40.us-west-2.compute.amazonaws.com
  * SERVER_PORT                                    : 443
  * SERVER_PROTOCOL                                : HTTP/1.1
  * SERVER_SOFTWARE                                : Apache/2.4.9 (Fedora) 
OpenSSL/1.0.1e-fips Phusion_Passenger/4.0.18
  * SSL_TLS_SNI                                    : 
ec2-54-187-103-40.us-west-2.compute.amazonaws.com
  * UNIQUE_ID                                      : U2gKiOYolVmfV9rGU7gQBAAAAAs
  * action_controller.instance                     : 
#<RepositoriesController:0x000000060f27f0>
  * action_dispatch.backtrace_cleaner              : 
#<Rails::BacktraceCleaner:0x00000003c64e88>
  * action_dispatch.cookies                        : 
#<ActionDispatch::Cookies::CookieJar:0x000000060e6770>
  * action_dispatch.logger                         : 
#<ActiveSupport::TaggedLogging:0x00000003a619d8>
  * action_dispatch.parameter_filter               : [:password, 
:password_confirmation, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/]
  * action_dispatch.remote_ip                      : 140.247.173.44
  * action_dispatch.request.content_type           : 
  * action_dispatch.request.formats                : 
[#<Mime::Type:0x00000001ab6b10 @synonyms=["application/xhtml+xml"], 
@symbol=:html, @string="text/html">]
  * action_dispatch.request.parameters             : {"action"=>"show", 
"controller"=>"repositories", "project_id"=>"adel", "id"=>"sdsd"}
  * action_dispatch.request.path_parameters        : {:action=>"show", 
:controller=>"repositories", :project_id=>"adel", :id=>"sdsd"}
  * action_dispatch.request.query_parameters       : {}
  * action_dispatch.request.request_parameters     : {}
  * action_dispatch.request.unsigned_session_cookie: 
{"session_id"=>"e44b5ab16c6a85ccb66cf29be6647563", 
"_csrf_token"=>"8qI6r1WDPyBzw0FZHduIsoReaWEUtuEZOPxvVnmat0Q=", "user_id"=>3}
  * action_dispatch.request_id                     : 
5b53232ff802d125ce6a6c2c96630e76
  * action_dispatch.routes                         : 
#<ActionDispatch::Routing::RouteSet:0x0000000279fea8>
  * action_dispatch.secret_token                   : 
wawmepkobFafcogEikJiucef4boQuicJucpegAkvivkeixraurrirviavElEdwic
  * action_dispatch.show_detailed_exceptions       : false
  * action_dispatch.show_exceptions                : true
  * rack.errors                                    : #<IO:0x00000000dd6148>
  * rack.hijack                                    : 
#<Proc:0x000000060e5ac8@/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:69
 (lambda)>
  * rack.hijack?                                   : true
  * rack.input                                     : 
#<PhusionPassenger::Utils::TeeInput:0x000000060d86e8>
  * rack.multiprocess                              : true
  * rack.multithread                               : false
  * rack.request.cookie_hash                       : {"_logged_in"=>"true", 
"_gitorious_session"=>"BAh7CEkiD3Nlc3Npb25faWQGOgZFVEkiJWU0NGI1YWIxNmM2YTg1Y2NiNjZjZjI5YmU2NjQ3NTYzBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMThxSTZyMVdEUHlCencwRlpIZHVJc29SZWFXRVV0dUVaT1B4dlZubWF0MFE9BjsARkkiDHVzZXJfaWQGOwBGaQg=--e9a167aaabfa08e11df57a307deda895b42f06a4"}
  * rack.request.cookie_string                     : _logged_in=true; 
_gitorious_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFVEkiJWU0NGI1YWIxNmM2YTg1Y2NiNjZjZjI5YmU2NjQ3NTYzBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMThxSTZyMVdEUHlCencwRlpIZHVJc29SZWFXRVV0dUVaT1B4dlZubWF0MFE9BjsARkkiDHVzZXJfaWQGOwBGaQg%3D--e9a167aaabfa08e11df57a307deda895b42f06a4
  * rack.request.query_hash                        : {}
  * rack.request.query_string                      : 
  * rack.run_once                                  : false
  * rack.session                                   : 
{"session_id"=>"e44b5ab16c6a85ccb66cf29be6647563", 
"_csrf_token"=>"8qI6r1WDPyBzw0FZHduIsoReaWEUtuEZOPxvVnmat0Q=", "user_id"=>3}
  * rack.session.options                           : {:path=>"/", 
:domain=>".ec2-54-187-103-40.us-west-2.compute.amazonaws.com", 
:expire_after=>21 days, :secure=>true, :httponly=>true, :defer=>false, 
:renew=>false, 
:secret=>"afb386dcfae0ce99c033c58d801079f8b6d74f82bb3ff91db1f20ca8987c", 
:coder=>#<Rack::Session::Cookie::Base64::Marshal:0x00000003c32cf8>, 
:id=>"e44b5ab16c6a85ccb66cf29be6647563"}
  * rack.url_scheme                                : https
  * rack.version                                   : [1, 2]

-------------------------------
Backtrace:
-------------------------------

  vendor/bundle/ruby/gems/gitlab-grit-2.6.5/lib/grit/git.rb:120:in `read'
  vendor/bundle/ruby/gems/gitlab-grit-2.6.5/lib/grit/git.rb:120:in `fs_read'
  vendor/bundle/ruby/gems/gitlab-grit-2.6.5/lib/grit/ref.rb:85:in `current'
  vendor/bundle/ruby/gems/gitlab-grit-2.6.5/lib/grit/repo.rb:236:in `head'
  app/models/repository.rb:301:in `head'
  app/controllers/repositories_controller.rb:47:in `block (2 levels) in show'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_controller/metal/mime_responds.rb:196:in
 `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_controller/metal/mime_responds.rb:196:in
 `respond_to'
  app/controllers/repositories_controller.rb:44:in `show'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_controller/metal/implicit_render.rb:4:in
 `send_action'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:167:in
 `process_action'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_controller/metal/rendering.rb:10:in
 `process_action'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:18:in
 `block in process_action'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:469:in
 `_run__1835805524712596647__process_action__1993582022513867337__callbacks'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in
 `__run_callback'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in
 `_run_process_action_callbacks'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in
 `run_callbacks'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:17:in
 `process_action'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_controller/metal/rescue.rb:29:in
 `process_action'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:30:in
 `block in process_action'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in
 `block in instrument'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/notifications/instrumenter.rb:20:in
 `instrument'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in
 `instrument'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:29:in
 `process_action'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_controller/metal/params_wrapper.rb:207:in
 `process_action'
  
vendor/bundle/ruby/gems/activerecord-3.2.16/lib/active_record/railties/controller_runtime.rb:18:in
 `process_action'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:121:in
 `process'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:45:in
 `process'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_controller/metal.rb:203:in 
`dispatch'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_controller/metal/rack_delegation.rb:14:in
 `dispatch'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_controller/metal.rb:246:in 
`block in action'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73:in
 `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73:in
 `dispatch'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:36:in
 `call'
  vendor/bundle/ruby/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in 
call'
  vendor/bundle/ruby/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
  vendor/bundle/ruby/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:608:in
 `call'
  
vendor/bundle/ruby/gems/exception_notification-4.0.1/lib/exception_notification/rack.rb:28:in
 `call'
  app/middlewares/dolt_cache_middleware.rb:24:in `call'
  app/middlewares/dolt_auth_middleware.rb:26:in `call'
  vendor/bundle/ruby/gems/rack-openid-1.4.1/lib/rack/openid.rb:99:in `call'
  vendor/bundle/ruby/gems/rack-openid-1.4.1/lib/rack/openid.rb:99:in `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/middleware/best_standards_support.rb:17:in
 `call'
  vendor/bundle/ruby/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
  vendor/bundle/ruby/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/middleware/head.rb:14:in
 `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/middleware/params_parser.rb:21:in
 `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/middleware/flash.rb:242:in
 `call'
  vendor/bundle/ruby/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in 
`context'
  vendor/bundle/ruby/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in 
`call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/middleware/cookies.rb:341:in
 `call'
  
vendor/bundle/ruby/gems/activerecord-3.2.16/lib/active_record/query_cache.rb:64:in
 `call'
  
vendor/bundle/ruby/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in
 `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:28:in
 `block in call'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in
 `_run__1885976786895525556__call__4052046775813362931__callbacks'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in
 `__run_callback'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in
 `_run_call_callbacks'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in
 `run_callbacks'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:27:in
 `call'
  vendor/bundle/ruby/gems/rack-1.4.5/lib/rack/sendfile.rb:102:in `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/middleware/remote_ip.rb:31:in
 `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/middleware/debug_exceptions.rb:16:in
 `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/middleware/show_exceptions.rb:56:in
 `call'
  vendor/bundle/ruby/gems/railties-3.2.16/lib/rails/rack/logger.rb:32:in 
`call_app'
  vendor/bundle/ruby/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in `block 
in call'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/tagged_logging.rb:22:in
 `tagged'
  vendor/bundle/ruby/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in `call'
  
vendor/bundle/ruby/gems/actionpack-3.2.16/lib/action_dispatch/middleware/request_id.rb:22:in
 `call'
  vendor/bundle/ruby/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
  vendor/bundle/ruby/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
  
vendor/bundle/ruby/gems/activesupport-3.2.16/lib/active_support/cache/strategy/local_cache.rb:72:in
 `call'
  vendor/bundle/ruby/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
  vendor/bundle/ruby/gems/railties-3.2.16/lib/rails/engine.rb:484:in `call'
  vendor/bundle/ruby/gems/railties-3.2.16/lib/rails/application.rb:231:in `call'
  
vendor/bundle/ruby/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in 
`method_missing'
  
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in
 `process_request'
  
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in
 `accept_and_process_next_request'
  
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in
 `main_loop'
  
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in
 `block (3 levels) in start_threads'



-- 
-- 
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