Hi! I've been trying to install Gitorious via the Installer, and have run into the same problem problem twice (first time was on a test VM I used to run some tests on PostgreSQL databases, second time was a fresh VM I installed just for Gitorious). Every time I try and run the install file, it fails:
Applying Puppet recipe (will take a while, please be patient)... ----------------------------------------------------------------------------------- FAILURE: The underlying Puppet recipe is having trouble completing the installation. You can check what happened behind the scenes in 'applied_recipe.log' in this directory. Furthermore, check that you are running in a server environment officially supported by this installer, or diagnose the Puppet recipe yourself by executing the following command: puppet apply --debug --modulepath=modules manifests/site.pp ----------------------------------------------------------------------------------- Installation failed. Thus I tried the 2 things mentionned to help debugging. Here is a sample of one of the attempts in the applied_recipe.log file: Gitorious CE installer: Applying puppet recipe, attempt no. 15 ^[[0;36mnotice: /Stage[main]/Gitorious::Database/Exec[install_bundler]/returns: executed successfully^[[0m ^[[1;35merr: /Stage[main]//Node[gitorious-ce]/Gitorious::Version[v2.4.9]/Exec[fetch_gitorious_tag]/returns: change from notrun to 0 failed: sh -c 'cd /var/www/gitorious/app && git fetch --tags && git branch -D ce-installed ; git checkout -b ce-installed v2.4.9 && touch /var/www/gitorious/deployed_tags/v2.4.9' returned 128 instead of one of [0] at /root/ce-installer/modules/gitorious/manifests/templates.pp:21^[[0m ^[[0;36mnotice: /Stage[main]//Node[gitorious-ce]/Gitorious::Version[v2.4.9]/Exec[post_version_upgrade]: Dependency Exec[fetch_gitorious_tag] has failures: true^[[0m ^[[0;33mwarning: /Stage[main]//Node[gitorious-ce]/Gitorious::Version[v2.4.9]/Exec[post_version_upgrade]: Skipping because of failed dependencies^[[0m ^[[0;36mnotice: Finished catalog run in 2.73 seconds^[[0m Gitorious CE installer: Done with attempt no. 15, exit code was: 1536 I also ran the puppet command (puppet apply --debug --modulepath=modules manifests/site.pp) to see what went wrong: err: /Stage[main]//Node[gitorious-ce]/Gitorious::Version[v2.4.9]/Exec[fetch_gitorious_tag]/returns: change from notrun to 0 failed: sh -c 'cd /var/www/gitorious/app && git fetch --tags && git branch -D ce-installed ; git checkout -b ce-installed v2.4.9 && touch /var/www/gitorious/deployed_tags/v2.4.9' returned 128 instead of one of [0] at /root/ce-installer/modules/gitorious/manifests/templates.pp:21 Alright so now I can be pretty sure the problem comes from the command contained in the Exec instruction in the puppet manifest (sh -c 'cd /var/www/gitorious/app && git fetch --tags && git branch -D ce-installed ; git checkout -b ce-installed v2.4.9 && touch /var/www/gitorious/deployed_tags/v2.4.9'). So I try to run it manually, part by part, to see where it actually fails. Apparently, the part of the command that fails is the "git branch -D ce-installed", where it gives me the following error message: "error: Cannot delete the branch 'ce-installed' which you are currently on." Honestly, I'm completely new at Git and Gitorious. I was trying to install Gitorious and learn how it actually works, but can't seem to get past this hurdle. Can anyone lend a hand? Thanks for taking the time to read! -- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
