Error 500 when creating a new project
Added by Paul Lee about 14 years ago
ruby -v ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux] rails --version Rails 3.0.1 Ubuntu 10.10 x64 mysql --version mysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (x86_64) using readline 6.1
redmine 1.0.3 is running on nginx
I keep getting the HTTP 500 error when creating a new project with redmine.
Here is the relevant section of the production.log....
Processing WelcomeController#index (for 192.168.1.71 at 2010-11-21 00:10:37) [GET] Parameters: {"action"=>"index", "controller"=>"welcome"} Rendering template within layouts/base Rendering welcome/index Completed in 47ms (View: 22, DB: 4) | 200 OK [http://redmine.localhost/] Processing AdminController#index (for 192.168.1.71 at 2010-11-21 00:10:40) [GET] Parameters: {"action"=>"index", "controller"=>"admin"} Rendering template within layouts/admin Rendering admin/index Completed in 25ms (View: 18, DB: 1) | 200 OK [http://redmine.localhost/admin] Processing AdminController#projects (for 192.168.1.71 at 2010-11-21 00:10:42) [GET] Parameters: {"action"=>"projects", "controller"=>"admin"} Rendering template within layouts/admin Rendering admin/projects Completed in 16ms (View: 13, DB: 1) | 200 OK [http://redmine.localhost/admin/projects] Processing ProjectsController#new (for 192.168.1.71 at 2010-11-21 00:10:44) [GET] Parameters: {"action"=>"new", "controller"=>"projects"} Rendering template within layouts/base Rendering projects/new Completed in 129ms (View: 22, DB: 3) | 200 OK [http://redmine.localhost/projects/new] Processing ProjectsController#create (for 192.168.1.71 at 2010-11-21 00:10:48) [POST] Parameters: {"enabled_modules"=>["issue_tracking", "time_tracking", "news", "documents", "files", "wiki", "rep$ Errno::ENOENT (No such file or directory - /tmp/redmine-gitosis-1290269448/gitosis/gitosis.conf): inifile (0.3.0) lib/inifile.rb:67:in `initialize' inifile (0.3.0) lib/inifile.rb:67:in `open' inifile (0.3.0) lib/inifile.rb:67:in `write' lockfile (1.4.3) lib/lockfile.rb:284:in `lock' lockfile (1.4.3) lib/lockfile.rb:539:in `attempt' lockfile (1.4.3) lib/lockfile.rb:539:in `catch' lockfile (1.4.3) lib/lockfile.rb:539:in `attempt' lockfile (1.4.3) lib/lockfile.rb:539:in `loop' lockfile (1.4.3) lib/lockfile.rb:539:in `attempt' lockfile (1.4.3) lib/lockfile.rb:210:in `lock' lockfile (1.4.3) lib/lockfile.rb:199:in `initialize' lockfile (1.4.3) lib/lockfile.rb:559:in `new' lockfile (1.4.3) lib/lockfile.rb:559:in `Lockfile' vendor/plugins/redmine-gitosis/app/models/gitosis_observer.rb:21:in `update_repositories' vendor/plugins/redmine-gitosis/app/models/gitosis_observer.rb:13:in `after_save' /usr/lib/ruby/1.8/observer.rb:185:in `notify_observers' /usr/lib/ruby/1.8/observer.rb:184:in `each' /usr/lib/ruby/1.8/observer.rb:184:in `notify_observers' app/controllers/projects_controller.rb:83:in `create' passenger (3.0.0) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' passenger (3.0.0) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' vendor/plugins/redmine-gitosis/app/models/gitosis_observer.rb:13:in `after_save' /usr/lib/ruby/1.8/observer.rb:185:in `notify_observers' /usr/lib/ruby/1.8/observer.rb:184:in `each' /usr/lib/ruby/1.8/observer.rb:184:in `notify_observers' app/controllers/projects_controller.rb:83:in `create' passenger (3.0.0) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' passenger (3.0.0) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.0) helper-scripts/passenger-spawn-server:99 Rendering /home/minkio/public_html/dev/redmine/public/500.html (500 Internal Server Error)
So, what do I need to do to fix it?
Thanks,
Paul Lee
Replies (1)
RE: Error 500 when creating a new project - Added by Mischa The Evil about 14 years ago
Looking at your logs I'd say this issue is caused by the redmine-gitosis
plugin...