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 using http://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 I've tried stopping and starting it, to no avail 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 reach http://git.myserver.com ... but I am not sure if that is related or not Many thanks Simon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
