Project

General

Profile

Redmine 404 Error

Added by Mustafa Yılmaz over 8 years ago

Hello, i'm using Redmine 3.3.0 and trying to get Global Stats plugin to work. For two days the plugin had been giving the 404 error but this morning it magically worked for like 5 minutes and now it's gone again. I'm asking here because the plugin owner doesnt seem to be active for at least 1 year. Here's my log :

Started GET "/" for 10.100.100.52 at 2016-09-05 14:14:16 +0000
Processing by WelcomeController#index as HTML
Current user: admin (id=1)
Rendered welcome/index.html.erb within layouts/base (5.1ms)
Rendered plugins/a_common_libs/app/views/hooks/a_common_libs/_html_head.html.erb (2.9ms)
Rendered plugins/global_roles/app/views/hooks/global_roles/_head.html.erb (0.4ms)
Rendered plugins/global_roles/app/views/hooks/global_roles/_view_layouts_base_body_bottom.html.erb (0.4ms)
Completed 200 OK in 54ms (Views: 33.2ms | ActiveRecord: 9.2ms)
Started GET "/global_stats/current_week" for 10.100.100.52 at 2016-09-05 14:14:31 +0000
Processing by StatsController#index as HTML
Parameters: {"time_filter"=>"current_week"}
Current user: admin (id=1)
Completed 404 Not Found in 22ms (ActiveRecord: 6.8ms)

ActiveRecord::RecordNotFound (Couldn't find Project with 'id'=):
app/models/project.rb:310:in `find'
plugins/redmine_stats/app/models/stat.rb:64:in `block in authors'
plugins/redmine_stats/app/models/stat.rb:63:in `each'
plugins/redmine_stats/app/models/stat.rb:63:in `authors'
plugins/redmine_stats/app/controllers/stats_controller.rb:22:in `index'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Thanks in advance.


Replies (5)

RE: Redmine 404 Error - Added by Orkhan Aghai over 8 years ago

It happens to me too. Did you find a solution?

RE: Redmine 404 Error - Added by Mustafa Yılmaz over 8 years ago

No, i couldnt :/ It might be a file permission issue but all other plugins are working perfectly for me.

RE: Redmine 404 Error - Added by Orkhan Aghai over 8 years ago

With admin, i can enter projects but with the other members Error 404 pops out:/ If you find a solution let me know please. I am working on it also, if i can get any solution i will write.

RE: Redmine 404 Error - Added by Mustafa Yılmaz over 8 years ago

Interesting, Stats do work if there isn't any issue created.

RE: Redmine 404 Error - Added by Orkhan Aghai over 8 years ago

I found a solution. It was needed to give permission for everyone for every project from plugin section. Try it maybe it can work for you too.

    (1-5/5)