Many thanks Johan - I hadn't create a directory being pointed to in the daemon.
I've made progress ... but am still not there a) When I view my installation via firefox on a different machine the default avatars are not displaying - don't really understand that one! b) I am getting prompted for a password when I push to the remote server - but I think that is an SSH key issue - Yes? Thx again Simon On Oct 7, 11:05 am, Johan Sørensen <[email protected]> wrote: > On Tue, Oct 6, 2009 at 8:31 PM, SWoods <[email protected]> wrote: > > > Hi > > > I'm trying to install gitorious on a local server. I'm using Ubuntu > > Jaunty . (I'm a linux newbie also) > > > I've been > > usinghttp://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server > > as my guide. (I am using Ruby 1.8. I tried with 1.9 but there seemed > > to be a problem with mongrel) > > > My gitorious.yml is > > > production: > > cookie_secret: {} > > repository_base_path: "/home/git/repositories" > > extra_html_head_data: > > system_message: > > gitorious_client_port: 80 > > gitorious_client_host: git.myserver.com > > gitorious_host: git.myserver.com > > gitorious_user: git > > exception_notification_emails: simon.woodsATvirgin.net > > mangle_email_addresses: true > > public_mode: false > > locale: en > > archive_cache_dir: "/var/git/tarballs" > > archive_work_dir: "/var/git/tarballs-work" > > only_site_admins_can_create_projects: false > > hide_http_clone_urls: false > > is_gitorious_dot_org: false > > > I try and execute the following > > > $ sudo env RAILS_ENV=production /etc/init.d/git-daemon start > > > and it fails (I think) with > > > Starting git-daemon: /var/www/git.myserver.com/gitorious/script/../ > > config/environment.rb:100: warning: already initialized constant > > CA_FILE > > /var/www/git.myserver.com/gitorious/app/metal/git_http_cloner.rb:54: > > warning: already initialized constant TRUSTED_PROXIES > > failure > > Those warnings, not errors. > > > > > I've tried stopping and starting it, to no avail > > Check /var/www/git.myserver.com/gitorious/log/git-daemon.log > > you could also try starting it without the -d argument (doesn't daemonize it) > > > > > > > My git_daemon includes this ... I wondered whether I had a problem > > here but I've looked at the paths and it looks okay (to me) unless > > I've misunderstood what/usr/bin/ruby means. > > > PROG="git-daemon" > > GIT_DAEMON="/usr/bin/ruby /var/www/git.myserver.com/gitorious/script/ > > git-daemon -d" > > LOCK_FILE=/var/lock/git-daemon > > PID_FILE=/var/www/git.myserver.com/gitorious/log/git-daemon.pid > > > I wonder if anyone could give me any pointers as to where I might look > > to see why the git_daemon isn't starting. > > > I am getting a 404 as well when I try and reachhttp://git.myserver.com > > ... but I am not sure if that is related or not > > That sounds like you've misconfigured the apache VirtualHost. Also, > remember that you have to "/etc/init.d/apache2 reload" for the config > changes to be picked up by apache > > > > > Many thanks > > > Simon > > JS --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Gitorious" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gitorious?hl=en -~----------~----~----~----~------~----~------~--~---
