ericpaulbishop/redmine_git_hosting

Admin public key removed from gitolite-admin

Opened this issue · 3 comments

Something really strange happened, the plugin removed all the key that weren't added in redmine..
Including the admin key for gitlolite..

I've found one commit of my gitolite-admin repo by the plugin that removed the keys..

I thought the plugin was not removing keys?

This just happened to me as well. All my keys still exist in the actual gitolite-config/keydir folder, but all references to my original keys (including my gitolite_admin_id_rsa key) have been removed from the rewritten gitolite-config/conf/gitolite.conf file.

i'm noticing the same issue.

I've just uploaded a set of patches to my master branch which should fix this issue (or, if it occurs, it should correct it automagically under most circumstances).

Grab all five patches from: https://github.com/kubitron/redmine_git_hosting

Don't forget to execute:

rake db:migrate_plugins RAILS_ENV=production

Let me know what happens.