We've got production server with old ruby and rails versions. After that we've made test clone of this machine, on which I've performed upgrade of ruby. Next gitorious server shows when I got to git URL:
"403 Forbidden error". On the same time I'm able to perform git clone from our repositories on this cloned server. NGINX error.log shows: "directory index of /var/www/gitorious/public is forbidden." When I try to start git console, I've got following error: /var/www/gitorious/script/console Loading development environment (Rails 2.3.5) /var/www/gitorious/config/environment.rb:15:in block in <top (required)>': Your config/gitorious.yml does not have an entry for your current Rails environment. Please consult config/gitorious.sample.yml for instructions. (RuntimeError) from /var/www/gitorious/vendor/rails/railties/lib/initializer.rb:111:inrun' from /var/www/gitorious/config/environment.rb:13:in <top (required)>' from /usr/local/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /usr/local/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/local/lib/ruby/2.0.0/irb/init.rb:286:inblock in load_modules' from /usr/local/lib/ruby/2.0.0/irb/init.rb:284:in each' from /usr/local/lib/ruby/2.0.0/irb/init.rb:284:inload_modules' from /usr/local/lib/ruby/2.0.0/irb/init.rb:20:in setup' from /usr/local/lib/ruby/2.0.0/irb.rb:380:instart' from /usr/local/bin/irb:12:in `' If I try to start git-daemon, I've got: Starting git-daemon: /var/www/gitorious/vendor/rails/railties/lib/rails/gem_dependency.rb:21:in add_frozen_gem_path': undefined methodsource_index' for Gem:Module (NoMethodError) from /var/www/gitorious/vendor/rails/railties/lib/initializer.rb:298:in add_gem_load_paths' from /var/www/gitorious/vendor/rails/railties/lib/initializer.rb:132:inprocess' from /var/www/gitorious/vendor/rails/railties/lib/initializer.rb:113:in run' from /var/www/gitorious/config/environment.rb:13:in' from /usr/local/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/local/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /var/www/gitorious/script/git-daemon:11:in `' failure. Please advice me how to bring my gitorious to life. I've made chmod -R 777 for all problem folders, including /var/www/gitorious/public. gitorious.yaml is: development: production: # The session secret key (apg -m 64 is always useful for this kinda stuff) cookie_secret: 657280fbd0a5d8f0d718d172604d0141 # The path where git repositories are stored. The actual (bare) repositories resides # in repository_base_path/#{project.slug}/#{repository.name}.git/: repository_base_path: "/var/git/repositories" # Stuff that's in the html . custom stats javascript code etc extra_html_head_data: # System message that will appear on all pages if present system_message: # Port the ./script/gitorious script should use: gitorious_client_port: 80 # Host the ./script/gitorious script should use: gitorious_client_host: 192.168.1.50 # Host which is serving the gitorious app, eg "gitorious.org" gitorious_host: 192.168.1.50 # User which is running git daemon gitorious_user: git # Email spam on server errors to: exception_notification_emails: # Mangle visible e-mail addresses (spam protection) mangle_email_addresses: true # Enable or Disable Public Mode (true) or Private Mode (false) public_mode: true # Define your locale locale: en # Where should we store generated tarballs? # (should be readable by webserver, since we tell it to send the file using X-Sendfile) archive_cache_dir: "/var/git/tarball" # Which directory should we work in when we generate tarballs, before moving # them to the above dir? archive_work_dir: "/var/git/tarball-work" # is it only site admins who can create new projects? only_site_admins_can_create_projects: false # Should we hide HTTP clone urls? hide_http_clone_urls: false # Is this gitorious.org? Read: should we have a very flashy homepage? is_gitorious_dot_org: false # Pick a default license #default_license: GNU Affero General Public License (AGPLv3) Current versions are: Ubuntu 9.04 Ruby version 2.0.0-p481 (2014-05-08) [x86_64-linux] Rails version 3.2.19 NGINX + Passenger GITORIOUS 1.6.0.4 -- -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com --- 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 gitorious+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.