Em 12-05-2011 04:27, rendered escreveu:
Hi,

Thanks.  Ok so I followed the instructions at:
https://github.com/rosenfeld/gitorious-cookbooks.  These were the only
errors I found:

...
[Wed, 11 May 2011 20:58:18 +0200] INFO: git[/var/www/gitorious]
cloning repo git://gitorious.org/~rosenfeld/gitorious/rosenfeld-gitorious.git
to /var/www/gitorious
[Wed, 11 May 2011 20:58:18 +0200] INFO: git[/var/www/gitorious] sh(git
clone  git://gitorious.org/~rosenfeld/gitorious/rosenfeld-gitorious.git
/var/www/gitorious)
Initialized empty Git repository in /var/www/gitorious/.git/
[Wed, 11 May 2011 21:09:40 +0200] ERROR: git[/var/www/gitorious]
(gitorious::default line 58) has had an error
[Wed, 11 May 2011 21:09:40 +0200] ERROR: Running exception handlers
[Wed, 11 May 2011 21:09:40 +0200] ERROR: Exception handlers complete
[Wed, 11 May 2011 21:09:40 +0200] FATAL: Stacktrace dumped to /root/
chef-solo/chef-stacktrace.out
[Wed, 11 May 2011 21:09:40 +0200] FATAL:
Chef::Exceptions::CommandTimeout: git[/var/www/gitorious]
(gitorious::default line 58) had an error: command timed out:

This tells us that there was a timeout while git cloning my repository. You can also remove the url and branch options of your node.js for using master from mainline gitorious instead of my repository. My repository includes an extra feature, which can be seen in the image here:

http://rosenfeld.heroku.com/en/articles/2011-03-06-installing-gitorious-has-never-been-so-easy

If you don't want it, just remove these lines from node.js:

"git": {
"url": "git://gitorious.org/~rosenfeld/gitorious/rosenfeld-gitorious.git",
       "reference": "bundler"
     },

Anyway, that wasn't the problem when you ran Chef. Just run it again when these timeout errors occur. Gitorious is notoriously slow sometimes and I'm not sure if it is due its architecture or lack of bandwidth infrastructure, but my clones on Github are much faster than on Gitorious... I also feel it is a bit slow in our internal installation, so maybe there's something we could improve on its performance...

I guess just running "chef-solo" again will fix it for you. Chef knows what is missing and won't do everything again, don't worry.

Best regards, Rodrigo.


---- Begin output of git clone  
git://gitorious.org/~rosenfeld/gitorious/rosenfeld-gitorious.git
/var/www/gitorious ----
STDOUT: Initialized empty Git repository in /var/www/gitorious/.git/
STDERR:
---- End output of git clone  
git://gitorious.org/~rosenfeld/gitorious/rosenfeld-gitorious.git
/var/www/gitorious ----

Do you need me to do anything else?


On May 11, 2:06 pm, Rodrigo Rosenfeld Rosas<[email protected]>
wrote:
I tested against an empty installation of Debian in a virtual machine.

I think you should remove the rubygems package distributed with Ubuntu:
"apt-get remove rubygems*"

Then you can try run the instructions there. If you have any problem,
post it here and I'll try to help you.

Regards, Rodrigo.

Em 11-05-2011 08:57, Garth escreveu:









Must I remove everything from the previous install of gitorious --
what would you recommend?
*From:*[email protected] [mailto:[email protected]]
*On Behalf Of *Rodrigo Rosenfeld Rosas
*Sent:* 11 May 2011 13:33
*To:* [email protected]
*Subject:* Re: [gitorious] Re: Ubuntu Server 10.10 Error
Em 11-05-2011 08:23, Garth escreveu:
I think I give up or I must start all over again -- I have been using
this tutorial:
http://www.silly-science.co.uk/2010/12/12/installing-gitorious-on-ubu....
Maybe I'm not following the instructions correctly. I still get the
same error.
Please, give a try on this automated install recipe of Gitorious using
Opscode Chef:
https://github.com/rosenfeld/gitorious-cookbooks
I tested it on Debian, but I think it also works on Ubuntu...

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to