Error after creating an empty GIT repository
Added by Rubi Dagan about 14 years ago
Hi,
I've used my user to create a GIT repository (under the project tab --> repository --> Chose Git in the SCM drop down menu --> save).
I haven't yet attached any source. This process has been done on a pretty clean installation of Redmine with a couple of projects and tasks, and including the Gitosis plugin.
Now, whenever I'm trying to login with that user, I get the standard internal error message.
This is what I see in Redmine's log:
---------------------------------------------------------------------------------
Processing AccountController#login (for 192.168.0.189 at 2010-09-05 21:42:29) [POST]
Parameters: {"back_url"=>"http%3A%2F%2F192.168.0.178%2F", "action"=>"login", "authenticity_token"=>"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "username"=>"Rubi", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login \302\273"}
Errno::ENOENT (No such file or directory - /tmp/redmine-gitosis-1283712149/gitosis/keydir/rubi-rubuntu-.pub):
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:22: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/models/user.rb:127:in `try_to_login'
app/controllers/account_controller.rb:147:in `password_authentication'
app/controllers/account_controller.rb:142:in `authenticate_user'
app/controllers/account_controller.rb:30:in `login'
passenger (2.2.15) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
passenger (2.2.15) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
passenger (2.2.15) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler'
passenger (2.2.15) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application'
passenger (2.2.15) lib/phusion_passenger/utils.rb:252:in `safe_fork'
passenger (2.2.15) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application'
passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:163:in `start'
passenger (2.2.15) lib/phusion_passenger/railz/application_spawner.rb:222:in `start'
passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:253:in `spawn_rails_application'
passenger (2.2.15) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:247:in `spawn_rails_application'
passenger (2.2.15) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
passenger (2.2.15) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:246:in `spawn_rails_application'
passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:145:in `spawn_application'
passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:278:in `handle_spawn_application'
passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
Rendering /var/www/redmine/public/500.html (500 Internal Server Error)
---------------------------------------------------------------------------------
Thanks in advance,
Rubi
Replies (2)
RE: Error after creating an empty GIT repository - Added by Felix Schäfer about 14 years ago
Well, the error seems to come from the redmine-gitosis plugin. Not sure how well it's maintained or if it's compatible to redmine 1.0, but you should contact the plugin author in any case.
RE: Error after creating an empty GIT repository - Added by Evgeny Dolgiy almost 13 years ago
I have the same issue. If you solve it, please write how. Thanks in advance.