[gitorious] Re: Issue Upgrading Gitorious to the Latest version
Since the version I was upgrading from was Old, I couldn't use the new method, I followed this article : 'http://cjohansen.no/en/ruby/ setting_up_gitorious_on_your_own_server' But I conserved Configuration file and upgraded the database using the migration. So I don't think I have permissions problems, Also I tired to clone a project from the repositorie and it don't work. Did I miss something during the upgrade, Is there a more clean way to upgrade Gitorious from the 13 May version to the latest one with tweaking a lot of config files. On Aug 15, 11:46 am, Marius Mårnes Mathiesen marius.mathie...@gmail.com wrote: On Mon, Aug 15, 2011 at 11:55 AM, imrabti imra...@gmail.com wrote: Any Idea how to fix this Problem. I just can't understand why gitorious work well if I use the embedded Server and not if I use Apache. Sounds like the app runs under another user when you're running under Apache? Whoever owns config/environment.rb will be the user running the app. - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Re: Issue Upgrading Gitorious to the Latest version
Any Idea how to fix this Problem. I just can't understand why gitorious work well if I use the embedded Server and not if I use Apache. Please Help. On Aug 9, 10:12 am, imrabti imra...@gmail.com wrote: On Aug 8, 1:30 pm, Christian Johansen christ...@cjohansen.no wrote: On Wed, Aug 3, 2011 at 16:49, imrabti imra...@gmail.com wrote: I deployed the 13 May 2011 gitorious version on my Ubuntu server everything works good. I wanted to upgrade my current installation to the latest version 15 July 2011. I Succeed in upgrading the database, and gitorious runs well, but when I choose to see detail about an existing repos gitorious give the 500 Error Page. I only get this error if try to enter gitorious using Apache2 (Passenger Mod), when I use the embedded ruby on rails server everything works. Why I get this error when using Apache2, In the older version everything works ? (Where can I find the logs of the application ??) You will find application logs in /path/to/gitorious/log/ (e.g. production.log). Also refer to your Apache logs. Where to find them depends on your setup. Christian This is the content of the production.log when I try to get into a a repository details in gitorious from Apache passenger (If I use the embedded rails server everything works great) : ActionView::TemplateError (/home/git/repositories/df6/ d01/664eb9a7a15f361d8717d9f03417b0dae2.git) on line #46 of app/v iews/repositories/_overview.html.erb: 43: :locals = {:repository = repository} -% 44: 45: /div 46: % if verbose repository.has_commits? ! repository.git.heads.blank? -% 47: div class=branches 48: ul class=branch_list 49: listrongBranches:/strong/li vendor/grit/lib/grit/repo.rb:36:in `initialize' app/models/repository.rb:252:in `new' app/models/repository.rb:252:in `git' app/models/repository.rb:257:in `has_commits?' app/views/repositories/_overview.html.erb:46 vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send' vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render' vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template' vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render' vendor/rails/actionpack/lib/action_view/renderable_partial.rb: 20:in `render' vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 30:in `benchmark' vendor/rails/actionpack/lib/action_view/renderable_partial.rb: 19:in `render' vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template' vendor/rails/actionpack/lib/action_view/renderable_partial.rb: 44:in `render_partial' vendor/rails/actionpack/lib/action_view/partials.rb:184:in `render_partial' vendor/rails/actionpack/lib/action_view/base.rb:267:in `render' app/views/repositories/show.html.erb:30 app/helpers/application_helper.rb:116:in `render_if_ready' app/views/repositories/show.html.erb:27 vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send' vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render' vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template' vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render' vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template' vendor/rails/actionpack/lib/action_view/base.rb:265:in `render' vendor/rails/actionpack/lib/action_view/base.rb:348:in `_render_with_layout' vendor/rails/actionpack/lib/action_view/base.rb:262:in `render' vendor/rails/actionpack/lib/action_controller/base.rb:1250:in `render_for_file' vendor/rails/actionpack/lib/action_controller/base.rb:951:in `render_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 51:in `render' vendor/rails/activesupport/lib/active_support/core_ext/ benchmark.rb:17:in `ms' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' vendor/rails/activesupport/lib/active_support/core_ext/ benchmark.rb:17:in `ms' vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 51:in `render' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 135:in `send' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 135:in `custom' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 179:in `call' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 179:in `respond' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 173:in `each' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 173:in `respond' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 107:in `respond_to' app/controllers/repositories_controller.rb:58:in `show' vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send' vendor/rails/actionpack/lib/action_controller/base.rb
[gitorious] Re: Issue Upgrading Gitorious to the Latest version
On Aug 8, 1:30 pm, Christian Johansen christ...@cjohansen.no wrote: On Wed, Aug 3, 2011 at 16:49, imrabti imra...@gmail.com wrote: I deployed the 13 May 2011 gitorious version on my Ubuntu server everything works good. I wanted to upgrade my current installation to the latest version 15 July 2011. I Succeed in upgrading the database, and gitorious runs well, but when I choose to see detail about an existing repos gitorious give the 500 Error Page. I only get this error if try to enter gitorious using Apache2 (Passenger Mod), when I use the embedded ruby on rails server everything works. Why I get this error when using Apache2, In the older version everything works ? (Where can I find the logs of the application ??) You will find application logs in /path/to/gitorious/log/ (e.g. production.log). Also refer to your Apache logs. Where to find them depends on your setup. Christian This is the content of the production.log when I try to get into a a repository details in gitorious from Apache passenger (If I use the embedded rails server everything works great) : ActionView::TemplateError (/home/git/repositories/df6/ d01/664eb9a7a15f361d8717d9f03417b0dae2.git) on line #46 of app/v iews/repositories/_overview.html.erb: 43: :locals = {:repository = repository} -% 44: 45: /div 46: % if verbose repository.has_commits? ! repository.git.heads.blank? -% 47:div class=branches 48: ul class=branch_list 49:listrongBranches:/strong/li vendor/grit/lib/grit/repo.rb:36:in `initialize' app/models/repository.rb:252:in `new' app/models/repository.rb:252:in `git' app/models/repository.rb:257:in `has_commits?' app/views/repositories/_overview.html.erb:46 vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send' vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render' vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template' vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render' vendor/rails/actionpack/lib/action_view/renderable_partial.rb: 20:in `render' vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 30:in `benchmark' vendor/rails/actionpack/lib/action_view/renderable_partial.rb: 19:in `render' vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template' vendor/rails/actionpack/lib/action_view/renderable_partial.rb: 44:in `render_partial' vendor/rails/actionpack/lib/action_view/partials.rb:184:in `render_partial' vendor/rails/actionpack/lib/action_view/base.rb:267:in `render' app/views/repositories/show.html.erb:30 app/helpers/application_helper.rb:116:in `render_if_ready' app/views/repositories/show.html.erb:27 vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send' vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render' vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template' vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render' vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template' vendor/rails/actionpack/lib/action_view/base.rb:265:in `render' vendor/rails/actionpack/lib/action_view/base.rb:348:in `_render_with_layout' vendor/rails/actionpack/lib/action_view/base.rb:262:in `render' vendor/rails/actionpack/lib/action_controller/base.rb:1250:in `render_for_file' vendor/rails/actionpack/lib/action_controller/base.rb:951:in `render_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 51:in `render' vendor/rails/activesupport/lib/active_support/core_ext/ benchmark.rb:17:in `ms' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' vendor/rails/activesupport/lib/active_support/core_ext/ benchmark.rb:17:in `ms' vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 51:in `render' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 135:in `send' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 135:in `custom' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 179:in `call' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 179:in `respond' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 173:in `each' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 173:in `respond' vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 107:in `respond_to' app/controllers/repositories_controller.rb:58:in `show' vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send' vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 68
[gitorious] Issue Upgrading Gitorious to the Latest version
I deployed the 13 May 2011 gitorious version on my Ubuntu server everything works good. I wanted to upgrade my current installation to the latest version 15 July 2011. I Succeed in upgrading the database, and gitorious runs well, but when I choose to see detail about an existing repos gitorious give the 500 Error Page. I only get this error if try to enter gitorious using Apache2 (Passenger Mod), when I use the embedded ruby on rails server everything works. Why I get this error when using Apache2, In the older version everything works ? (Where can I find the logs of the application ??) I have already copied the repositories on the old gitorious setup and configured them on the gitorious.yml file. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com