Redmine returns 404 for every request
Added by Brunno dos Santos about 12 years ago
Hello guys, I upgraded my Redmine 1.2 to 2.0.
After upgrade, I was have some problems with my plugins then I removed all them, . But for every request, redmine returns to me a 404 error.
I'm using Apache + Passenger in Ubuntu Server 11.04
PS: I do not have any .htaccess in my public.
Environment: Redmine version 2.0.3.stable.10057 Ruby version 1.9.3 (x86_64-linux) Rails version 3.2.6 Environment production Database adapter Mysql2 Redmine plugins: no plugin installed
Sory about my poor english.
Replies (5)
RE: Redmine returns 404 for every request
-
Added by Jan Niggemann (redmine.org team member) about 12 years ago
Can you give us excerpts of the apache error log and redmine log?
RE: Redmine returns 404 for every request
-
Added by Brunno dos Santos about 12 years ago
Of course.
This is my productioin.log
Started GET "/" for 187.121.43.23 at 2012-07-20 16:34:13 -0300 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/base (10.8ms) Completed 500 Internal Server Error in 34ms ActionController::RoutingError (No route matches {:controller=>"my_projects", :id=>nil}): lib/redmine/menu_manager.rb:150:in `render_single_menu_node' lib/redmine/menu_manager.rb:102:in `render_menu_node' lib/redmine/menu_manager.rb:91:in `block in render_menu' lib/redmine/menu_manager.rb:168:in `block in menu_items_for' lib/redmine/menu_manager.rb:165:in `each' lib/redmine/menu_manager.rb:165:in `menu_items_for' lib/redmine/menu_manager.rb:90:in `render_menu' app/views/layouts/base.html.erb:31:in `_app_views_layouts_base_html_erb___3199579876552232736_31667200'
And this is my apache access.log
projetos.capacitat.com.br:80 187.121.43.23 - - [20/Jul/2012:16:34:13 -0300] "GET / HTTP/1.1" 404 818 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1"
The Apache error log do not have any entry.
RE: Redmine returns 404 for every request
-
Added by Jan Niggemann (redmine.org team member) about 12 years ago
The error is No route matches {:controller=>"my_projects", :id=>nil}):
Do you use the "My Projects" plugin?
This page doesn't state it's 2.x compatible...
http://www.redmine.org/plugins/gsc_my_projects
RE: Redmine returns 404 for every request
-
Added by Brunno dos Santos about 12 years ago
Ah yes, I used My Project's plugin, and I removed the plugin in this upgrade. But this is no the only route that not working in my redmine. /issues/:id not works too. The only route that works is /login.
RE: Redmine returns 404 for every request
-
Added by Jan Niggemann (redmine.org team member) about 12 years ago
Brunno dos Santos wrote:
I removed the plugin in this upgrade
Because of the routing error I'd say that didn't work as expected.
But this is no the only route that not working in my redmine.
/issues/:id not works too. The only route that works is /login.
500 Internal Server Error
in production.log... perhaps it's a general failure with your config?
I have no idea, perhaps someone with more experience can help you...