ActiveRecord::RecordNotFound: Couldn't find Tracker with 'id'=0
Added by amit rishi almost 7 years ago
I am learning about redmine. Here are some details my redmine setup.
Redmine-version: 3.4.4
Ruby-version: 2.3.1
Rails-version: 4.2.8
I am trying to add RedmineReminderEmail feature http://www.redmine.org/projects/redmine/wiki/RedmineReminderEmails.
I am completely following doc, It didn't work in my case.
Here is the error that I am getting on executing the given command
$ bundle exec rake redmine:send_reminders RAILS_ENV="production"
rake aborted!
ActiveRecord::RecordNotFound: Couldn't find Tracker with 'id'=0
/var/lib/gems/2.3.0/gems/activerecord-4.2.8/lib/active_record/core.rb:155:in `find'
/home/rishikant/redmine/app/models/mailer.rb:382:in `reminders'
/home/rishikant/redmine/lib/tasks/reminder.rake:42:in `block (3 levels) in <top (required)>'
/home/rishikant/redmine/app/models/mailer.rb:433:in `with_synched_deliveries'
/home/rishikant/redmine/lib/tasks/reminder.rake:41:in `block (2 levels) in <top (required)>'
/var/lib/gems/2.3.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => redmine:send_reminders
(See full trace by running task with --trace)
I didn't understand why it is happening. Please give your valuable suggestion to fix this problem. Any help would be appreciated. Thanks.
Replies (3)
RE: ActiveRecord::RecordNotFound: Couldn't find Tracker with 'id'=0 - Added by Mischa The Evil almost 7 years ago
I don't see how this error can happen with the current code. Are you using plugins? What Redmine version are you using? Is it customized?
See also submissions and How to request help. Also, next time, please continue on an opened thread instead of opening a new one (as such will I "close" the thread you opened earlier, to continue on this one).
Ref.:RE: ActiveRecord::RecordNotFound: Couldn't find Tracker with 'id'=0 - Added by amit rishi almost 7 years ago
Hi Micha. I updated my question. Yes, I am using plugins. I don't think think this is issue is because of plugin. I am stuck. I don't understand why this is happening? Thanks
RE: ActiveRecord::RecordNotFound: Couldn't find Tracker with 'id'=0 - Added by Mischa The Evil almost 7 years ago
amit rishi wrote:
[...] Yes, I am using plugins. I don't think think this is issue is because of plugin. I am stuck. I don't understand why this is happening?
Please, try it without any plugins... Oh, and please provide a list of the used plugins.
(FWIW: see submissions and How to request help.)