I know this is late, but I wanted to give some extra advice to people who 
may be googling and looking for a solution.

For us, the gitorious poller service had crashed, causing SSH keys to not 
be added properly.  To run the poller manually, go to your gitorious 
directory (in our case '/var/www/gitorious') and enter 'script/poller run'. 
 This should either run the service, or give you an error as to why it 
wasn't working.  In our case, we were getting an error with the 
gitorious.yml file.  Some people suggested there was an indentation 
problem, so you might check that.  In our case, it turned out that the 
RAILS_ENV environment variable was unset.  I set it back to production 
(export RAILS_ENV=production) and then ran the poller and everything worked 
great.  You can run the poller in the long term by entering 'script/poller 
start' once you're sure it is working.

Hope this helps future googlers.

On Wednesday, June 17, 2009 10:44:12 AM UTC-4, Wilton Ferreira wrote:
>
> Yeah... all the keys are there. Only in user ssh-keys it shows not 
> ready. 
>
> On Jun 17, 9:57 am, Johan Sørensen <jo...@johansorensen.com> wrote: 
> > On Wed, Jun 17, 2009 at 2:55 PM, Wilton 
> > 
> > 
> > 
> > Ferreira<wilton.ferre...@gmail.com> wrote: 
> > > Now I see a strange behavior in the ssh keys. 
> > 
> > > First the application work normally my user have one key with a 
> > > "ready" key. 
> > > Later I go there and insert a new ssh-key, and the ssh-key is not 
> > > ready. All the new keys for other users don't get ready. 
> > 
> > > Looking at the application: 
> > > 1. poller running with git user and on environment "production" 
> > > 2. activemq running by the user "activemq" (ubuntu-install) 
> > > 3. git/.ssh/authorized_keys have the 02 ssh-keys 
> > > 4. database ssh-keys have the keys too. 
> > > 5. in log/message_processing.log 
> > > SshKeyProcessor consuming message. Command: add_to_authorized_keys. 
> > > Arguments: ### START KEY 13 ### command="gitorious wilton",no-port- 
> > > forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa 
> > > <the_key> SshKey:13-User:3 
> > 
> > > The difference with the ready and non ready keys is the "user@host" in 
> > > the final. 
> > > Project and repositories are working normal. 
> > 
> > Are the keys actually getting added to 
> $GIT_USER_HOME/.ssh/authorized_keys? 
> > 
> > JS

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to