项目

一般

简介

插件 » Advanced reminder Redmine邮件提醒增强插件

Redmine Reminder

该插件在问题/issues逾期处理时推送邮件提醒,支持Assignee/指派人, Author/作者, Watcher/跟踪人, Custom field/自定义字段中的User类型

发布于: https://github.com/Restream/redmine_reminder
兼容于: Redmine 5.0.*,  4.2.*,  4.1.*,  4.0.*,  3.4.*,  3.3.*,  3.2.*,  3.1.*,  3.0.*

最新版本: 0.2.2_5 更新日期: 2024-07-10 10:39

评论

添加评论

M T12 天 之前添加

你好,再请教下,我编写的批处理文件,call完这个后,无法执行下面的cd,手动发送是成功的,这是什么原因?
CALL “D:\Bitnami\redmine-5.0.3\use_redmine.bat”
D:
cd “D:\Bitnami\redmine-5.0.3\apps\redmine\htdocs”
bundle exec rake redmine:send_reminders_all

如果不call的话,就会提醒:'bundle’ 不是内部或外部命令,也不是可运行的程序
或批处理文件。

要怎么写啊? sob

guo hongxing12 天 之前添加

@M T 在最顶上加一条再试试看?

CALL D:\Bitnami\redmine-5.0.3\\scripts\setenv.bat

M T12 天 之前添加

@guo hongxing 试了,不行,能不能加微信或QQ啊,这么回复太慢了 joy

CALL “D:\Bitnami\redmine-5.0.3\use_redmine.bat”
D:
cd “D:\Bitnami\redmine-5.0.3\apps\redmine\htdocs”
bundle exec rake redmine:send_reminders_all

我这么写的call的没问题,但是下面的cd的命令就不能在call后新打开窗口里执行,不知道要怎么写? weary

guo hongxing12 天 之前添加

@M T 你好,参考这个第9楼的批处理方式 https://www.redmineplugins.cn/issues/639#note-9

M T16 天 之前添加

你好,我是小白,1、请问迁移插件数据库怎么操作?具体的操作步骤哈;2、计划任务又怎么设置啊? disappointed

redmineplugins.cn Admin16 天 之前添加

@M T 你好,具体要看你的操作系统是什么:

1、请问迁移插件数据库怎么操作?

  • 对于windows系统
    • 切换到redmine根目录下(该目录下可以看到config.ru文件,以此判断这里是redmine根目录),然后执行
    • set RAILS_ENV=production
    • bundle exec rake redmine:plugins:migrate RAILS_ENV=production
    • 启动redmine
    • 在插件配置界面,配置和调整插件参数
    • 手动执行 rake redmine:send_reminders_all,看能否收到提醒邮件
    • 如果可以收到提醒邮件,编写一个批处理文件(放入rake redmine:send_reminders_all),使用windows的计划任务定期执行这个批处理文件
  • 对于linux系统
    • 切换到redmine根目录下(该目录下可以看到config.ru文件,以此判断这里是redmine根目录),然后执行
    • bundle exec rake redmine:plugins:migrate RAILS_ENV=production
    • 在插件配置界面,配置和调整插件参数
    • 手动执行 rake redmine:send_reminders_all,看能否收到提醒邮件
    • 如果可以收到提醒邮件,编写一个shell脚本(放入rake redmine:send_reminders_all),使用linux的crontab里建议一条计划定期执行刚才编写的shell脚本

匿名用户13 天 之前添加

@redmineplugins.cn Admin
1、Completion date
tasks that must be completed in the next [ ] days
你好,请问下,这里的完成时间是根据哪个日期判断的? 我应该怎么设置?
2、User from custom field
这个自定义用户,是指所有属性是用户类型的字段都会收到提醒嘛?
还是有什么其他逻辑?

匿名用户15 天 之前添加

@redmineplugins.cn Admin 是在cmd执行嘛?
但我执行时报错了,如下:

D:\Bitnami\redmine-5.0.3\apps\redmine\htdocs>set RAILS_ENV=production

D:\Bitnami\redmine-5.0.3\apps\redmine\htdocs>bundle exec rake redmine:plugins:migrate RAILS_ENV=production
'bundle’ 不是内部或外部命令,也不是可运行的程序
或批处理文件。

这是什么原因啊?

redmineplugins.cn Admin14 天 之前添加

@M T 如果使用Bitnami早期的安装包,安装Redmine插件首先要进入它自带的控制台界面。具体方法:
  • 开始菜单 → Bitnami Stacks程序组 → Bitnami控制台
  • cd D:\Bitnami\redmine-5.0.3\apps\redmine\htdocs
  • 然后运行 bundle exec rake redmine:plugins:migrate
    或者
  • cd D:\Bitnami\redmine-5.0.3\
  • 使用超级管理员运行 use_redmine.bat
  • cd D:\Bitnami\redmine-5.0.3\apps\redmine\htdocs
  • 执行 set RAILS_ENV=production
  • 然后运行 bundle exec rake redmine:plugins:migrate

匿名用户14 天 之前添加

@redmineplugins.cn Admin 你好,能加你微信嘛,我太菜了,我微信ZL57746008 ,谢谢啦

li deben28 天 之前添加

Advanced reminder 0.2.2_5安装之后,邮件提醒没有起作用啊,Reminder options已经配置了,是哪里还需要配置吗?

guo hongxing28 天 之前添加

@li deben 在redmine目录下试试手动执行,有什么效果

bundle exec rake redmine:send_reminders_all RAILS_ENV=production

li deben28 天 之前添加

@guo hongxing 也没有邮件提醒

guo hongxing28 天 之前添加

@li deben 测试没有发现问题,见 https://redmineplugins.cn/issues/768

guo hongxing28 天 之前添加

@li deben bundle exec rake redmine:send_reminders_all RAILS_ENV=production 有报错信息吗?

li deben28 天 之前添加

@guo hongxing 倒没有报错信息

刘 国庆6 个月 之前添加

下载未成功,麻烦发我邮箱一下,

redmineplugins.cn Admin6 个月 之前添加

@刘 国庆 你好,邮件已发送。

lin steve 大约一年 之前添加

請問 安裝Advanced reminder 0.2.2_3 後,郵件提醒似乎無任何作用,不知是哪兒設置錯誤了,謝謝。

LOG 紀錄
I, [2023-09-27T14:30:17.497285 #864426] INFO – : [dc5c318b-fbd2-456a-863a-cac4195d37e8] Current user: 225668 (id=8)
I, [2023-09-27T14:30:17.544586 #864426] INFO – : [dc5c318b-fbd2-456a-863a-cac4195d37e8] Rendered issues/new.js.erb (Duration: 25.8ms | Allocations: 15028)
I, [2023-09-27T14:30:17.544979 #864426] INFO – : [dc5c318b-fbd2-456a-863a-cac4195d37e8] Completed 200 OK in 51ms (Views: 23.9ms | ActiveRecord: 6.2ms | Allocations: 27462)
I, [2023-09-27T14:30:53.894079 #864426] INFO – : [8f447d1b-b0f3-4e54-a188-fe138aa3e569] Started POST "/projects/project-012/issues” for 10.21.2.17 at 2023-09-27 14:30:53 +0800
I, [2023-09-27T14:30:53.894889 #864426] INFO – : [8f447d1b-b0f3-4e54-a188-fe138aa3e569] Processing by IssuesController#create as HTML
I, [2023-09-27T14:30:53.894979 #864426] INFO – : [8f447d1b-b0f3-4e54-a188-fe138aa3e569] Parameters: {“utf8"⇒“✓“, “authenticity_token"⇒“6dV2i8qkx8RpYyz3KNdyQooTz5QU7PODot1oVXwnWXU8qgKGxaXYHIs3OL0Ro453WI4fVvxcdob+JGdnuXzqsg==”, “form_update_triggered_by"⇒“”, “issue"⇒{“is_private"⇒“0”, “tracker_id"⇒“41”, “subject"⇒“追蹤事項測試”, “description"⇒“”, “status_id"⇒“38”, “priority_id"⇒“2”, “assigned_to_id"⇒“8”, “parent_issue_id"⇒“”, “start_date"⇒“2023-09-26”, “due_date"⇒“2023-09-28”, “done_ratio"⇒“70”, “custom_field_values"⇒{“1"⇒[“279”, “”], “2"⇒[“279”, “”]}, “watcher_user_ids"⇒[“”]}, “was_default_status"⇒“38”, “commit"⇒“建立”, “project_id"⇒“project-012”}
I, [2023-09-27T14:30:53.898685 #864426] INFO – : [8f447d1b-b0f3-4e54-a188-fe138aa3e569] Current user: 225668 (id=8)
I, [2023-09-27T14:30:53.955648 #864426] INFO – : [8f447d1b-b0f3-4e54-a188-fe138aa3e569] [ActiveJob] Enqueued ActionMailer::MailDeliveryJob (Job ID: 8a9e795f-01d2-4883-aad4-b29b3246438d) to Async(mailers) with arguments: “Mailer”, “issue_add”, “deliver_now”, {:args⇒[#<GlobalID:0x00007f8f293f8ff8 @uri=#<URI::GID gid://redmine-app/User/8>>, #<GlobalID:0x00007f8f293f8aa8 @uri=#<URI::GID gid://redmine-app/Issue/1311>>]}
I, [2023-09-27T14:30:53.957197 #864426] INFO – : [8f447d1b-b0f3-4e54-a188-fe138aa3e569] [ActiveJob] Enqueued ActionMailer::MailDeliveryJob (Job ID: 067fd43e-ed4e-4758-af4b-9184bce52522) to Async(mailers) with arguments: “Mailer”, “issue_add”, “deliver_now”, {:args⇒[#<GlobalID:0x00007f8f293c8e48 @uri=#<URI::GID gid://redmine-app/User/279>>, #<GlobalID:0x00007f8f293c8948 @uri=#<URI::GID gid://redmine-app/Issue/1311>>]}
I, [2023-09-27T14:30:53.959701 #864426] INFO – : [8f447d1b-b0f3-4e54-a188-fe138aa3e569] Redirected to https://XXXXXXXXXXXXXXXXXXXX/issues/1311
I, [2023-09-27T14:30:53.962289 #864426] INFO – : [8f447d1b-b0f3-4e54-a188-fe138aa3e569] Completed 302 Found in 67ms (ActiveRecord: 18.6ms | Allocations: 26290)
I, [2023-09-27T14:30:53.961513 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [067fd43e-ed4e-4758-af4b-9184bce52522] Performing ActionMailer::MailDeliveryJob (Job ID: 067fd43e-ed4e-4758-af4b-9184bce52522) from Async(mailers) enqueued at 2023-09-27T06:30:53Z with arguments: “Mailer”, “issue_add”, “deliver_now”, {:args⇒[#<GlobalID:0x00007f8f2948a700 @uri=#<URI::GID gid://redmine-app/User/279>>, #<GlobalID:0x00007f8f29489d00 @uri=#<URI::GID gid://redmine-app/Issue/1311>>]}
I, [2023-09-27T14:30:53.967273 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [8a9e795f-01d2-4883-aad4-b29b3246438d] Performing ActionMailer::MailDeliveryJob (Job ID: 8a9e795f-01d2-4883-aad4-b29b3246438d) from Async(mailers) enqueued at 2023-09-27T06:30:53Z with arguments: “Mailer”, “issue_add”, “deliver_now”, {:args⇒[#<GlobalID:0x00007f8f294f9560 @uri=#<URI::GID gid://redmine-app/User/8>>, #<GlobalID:0x00007f8f294f8ea8 @uri=#<URI::GID gid://redmine-app/Issue/1311>>]}
I, [2023-09-27T14:30:53.973945 #864426] INFO – : [f820c23b-0e84-482f-84e9-e2b81271842b] Started GET "/issues/1311” for 10.21.2.17 at 2023-09-27 14:30:53 +0800
I, [2023-09-27T14:30:53.974485 #864426] INFO – : [f820c23b-0e84-482f-84e9-e2b81271842b] Processing by IssuesController#show as HTML
I, [2023-09-27T14:30:53.974521 #864426] INFO – : [f820c23b-0e84-482f-84e9-e2b81271842b] Parameters: {“id"⇒“1311”}
I, [2023-09-27T14:30:53.992796 #864426] INFO – : [f820c23b-0e84-482f-84e9-e2b81271842b] Current user: 225668 (id=8)
I, [2023-09-27T14:30:53.997094 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [067fd43e-ed4e-4758-af4b-9184bce52522] Rendered mailer/issue_add.text.erb within layouts/mailer (Duration: 14.3ms | Allocations: 6516)
I, [2023-09-27T14:30:53.997324 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [067fd43e-ed4e-4758-af4b-9184bce52522] Rendered layout layouts/mailer.text.erb (Duration: 14.6ms | Allocations: 6577)
I, [2023-09-27T14:30:53.999292 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [067fd43e-ed4e-4758-af4b-9184bce52522] Rendered mailer/issue_add.html.erb within layouts/mailer (Duration: 1.7ms | Allocations: 950)
I, [2023-09-27T14:30:53.999996 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [067fd43e-ed4e-4758-af4b-9184bce52522] Rendered layout layouts/mailer.html.erb (Duration: 2.2ms | Allocations: 1368)
I, [2023-09-27T14:30:54.014074 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [8a9e795f-01d2-4883-aad4-b29b3246438d] Rendered mailer/issue_add.text.erb within layouts/mailer (Duration: 34.0ms | Allocations: 18779)
I, [2023-09-27T14:30:54.014174 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [8a9e795f-01d2-4883-aad4-b29b3246438d] Rendered layout layouts/mailer.text.erb (Duration: 34.2ms | Allocations: 18819)
I, [2023-09-27T14:30:54.016184 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [8a9e795f-01d2-4883-aad4-b29b3246438d] Rendered mailer/issue_add.html.erb within layouts/mailer (Duration: 1.7ms | Allocations: 950)
I, [2023-09-27T14:30:54.016942 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [8a9e795f-01d2-4883-aad4-b29b3246438d] Rendered layout layouts/mailer.html.erb (Duration: 2.5ms | Allocations: 1358)
I, [2023-09-27T14:30:54.022656 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [8a9e795f-01d2-4883-aad4-b29b3246438d] Performed ActionMailer::MailDeliveryJob (Job ID: 8a9e795f-01d2-4883-aad4-b29b3246438d) from Async(mailers) in 55.27ms
I, [2023-09-27T14:30:54.107940 #864426] INFO – : [f820c23b-0e84-482f-84e9-e2b81271842b] Rendered issues/show.html.erb within layouts/base (Duration: 59.4ms | Allocations: 31973)
I, [2023-09-27T14:30:54.121274 #864426] INFO – : [f820c23b-0e84-482f-84e9-e2b81271842b] Rendered layout layouts/base.html.erb (Duration: 72.7ms | Allocations: 40505)
I, [2023-09-27T14:30:54.121636 #864426] INFO – : [f820c23b-0e84-482f-84e9-e2b81271842b] Completed 200 OK in 147ms (Views: 64.4ms | ActiveRecord: 28.9ms | Allocations: 80033)
I, [2023-09-27T14:30:56.098517 #864426] INFO – : [ActiveJob] [ActionMailer::MailDeliveryJob] [067fd43e-ed4e-4758-af4b-9184bce52522] Performed ActionMailer::MailDeliveryJob (Job ID: 067fd43e-ed4e-4758-af4b-9184bce52522) from Async(mailers) in 2134.84ms
W, [2023-09-27T14:30:56.170001 #877371] WARN – : Creating scope :system. Overwriting existing method Enumeration.system.
W, [2023-09-27T14:30:56.362880 #877371] WARN – : Creating scope :sorted. Overwriting existing method User.sorted.
W, [2023-09-27T14:30:56.433618 #877371] WARN – : Creating scope :sorted. Overwriting existing method Group.sorted.
I, [2023-09-27T14:31:14.703450 #864426] INFO – : [119a9857-bd08-481f-aaf3-65df0e69c0f8] Started GET "/issues/1311” for 10.21.6.1 at 2023-09-27 14:31:14 +0800
I, [2023-09-27T14:31:14.704110 #864426] INFO – : [119a9857-bd08-481f-aaf3-65df0e69c0f8] Processing by IssuesController#show as HTML
I, [2023-09-27T14:31:14.704153 #864426] INFO – : [119a9857-bd08-481f-aaf3-65df0e69c0f8] Parameters: {“id"⇒“1311”}
I, [2023-09-27T14:31:14.708590 #864426] INFO – : [119a9857-bd08-481f-aaf3-65df0e69c0f8] Current user: claire (id=279)
I, [2023-09-27T14:31:14.802123 #864426] INFO – : [119a9857-bd08-481f-aaf3-65df0e69c0f8] Rendered issues/show.html.erb within layouts/base (Duration: 71.9ms | Allocations: 32038)
I, [2023-09-27T14:31:14.818016 #864426] INFO – : [119a9857-bd08-481f-aaf3-65df0e69c0f8] Rendered layout layouts/base.html.erb (Duration: 87.8ms | Allocations: 42002)
I, [2023-09-27T14:31:14.818374 #864426] INFO – : [119a9857-bd08-481f-aaf3-65df0e69c0f8] Completed 200 OK in 114ms (Views: 79.7ms | ActiveRecord: 14.9ms | Allocations: 51994)
I, [2023-09-27T14:35:20.834105 #864426] INFO – : [799ad521-67b6-4950-8bfa-d4d3c8e85b03] Started GET "/projects/project-012/settings” for 10.21.2.17 at 2023-09-27 14:35:20 +0800
I, [2023-09-27T14:35:20.835233 #864426] INFO – : [799ad521-67b6-4950-8bfa-d4d3c8e85b03] Processing by ProjectsController#settings as HTML
I, [2023-09-27T14:35:20.835285 #864426] INFO – : [799ad521-67b6-4950-8bfa-d4d3c8e85b03] Parameters: {“id"⇒“project-012”}
I, [2023-09-27T14:35:20.845904 #864426] INFO – : [799ad521-67b6-4950-8bfa-d4d3c8e85b03] Current user: 225668 (id=8)
I, [2023-09-27T14:35:20.900014 #864426] INFO – : [799ad521-67b6-4950-8bfa-d4d3c8e85b03] Rendered projects/settings.html.erb within layouts/base (Duration: 44.7ms | Allocations: 24694)
I, [2023-09-27T14:35:20.912874 #864426] INFO – : [799ad521-67b6-4950-8bfa-d4d3c8e85b03] Rendered layout layouts/base.html.erb (Duration: 57.4ms | Allocations: 33108)
I, [2023-09-27T14:35:20.913319 #864426] INFO – : [799ad521-67b6-4950-8bfa-d4d3c8e85b03] Completed 200 OK in 78ms (Views: 51.6ms | ActiveRecord: 13.8ms | Allocations: 38365)
I, [2023-09-27T14:35:23.354298 #864426] INFO – : [33491c7f-1015-464a-b706-5a72872054db] Started GET "/admin” for 10.21.2.17 at 2023-09-27 14:35:23 +0800
I, [2023-09-27T14:35:23.354939 #864426] INFO – : [33491c7f-1015-464a-b706-5a72872054db] Processing by AdminController#index as HTML
I, [2023-09-27T14:35:23.358355 #864426] INFO – : [33491c7f-1015-464a-b706-5a72872054db] Current user: 225668 (id=8)
I, [2023-09-27T14:35:23.361580 #864426] INFO – : [33491c7f-1015-464a-b706-5a72872054db] Rendered admin/index.html.erb within layouts/admin (Duration: 1.9ms | Allocations: 1774)
I, [2023-09-27T14:35:23.371453 #864426] INFO – : [33491c7f-1015-464a-b706-5a72872054db] Rendered layouts/base.html.erb (Duration: 9.7ms | Allocations: 6070)
I, [2023-09-27T14:35:23.371515 #864426] INFO – : [33491c7f-1015-464a-b706-5a72872054db] Rendered layout layouts/admin.html.erb (Duration: 11.8ms | Allocations: 7934)
I, [2023-09-27T14:35:23.371697 #864426] INFO – : [33491c7f-1015-464a-b706-5a72872054db] Completed 200 OK in 17ms (Views: 11.1ms | ActiveRecord: 2.0ms | Allocations: 9310)
I, [2023-09-27T14:35:24.702459 #864426] INFO – : [e4076a14-81d3-4e5d-b34f-9420ad09d488] Started GET "/reminder_configuration/edit” for 10.21.2.17 at 2023-09-27 14:35:24 +0800
I, [2023-09-27T14:35:24.703177 #864426] INFO – : [e4076a14-81d3-4e5d-b34f-9420ad09d488] Processing by ReminderConfigurationController#edit as HTML
I, [2023-09-27T14:35:24.706597 #864426] INFO – : [e4076a14-81d3-4e5d-b34f-9420ad09d488] Current user: 225668 (id=8)
I, [2023-09-27T14:35:24.717098 #864426] INFO – : [e4076a14-81d3-4e5d-b34f-9420ad09d488] Rendered plugins/redmine_reminder/app/views/reminder_configuration/edit.html.erb within layouts/admin (Duration: 9.4ms | Allocations: 5931)
I, [2023-09-27T14:35:24.733642 #864426] INFO – : [e4076a14-81d3-4e5d-b34f-9420ad09d488] Rendered layouts/base.html.erb (Duration: 14.5ms | Allocations: 8180)
I, [2023-09-27T14:35:24.733718 #864426] INFO – : [e4076a14-81d3-4e5d-b34f-9420ad09d488] Rendered layout layouts/admin.html.erb (Duration: 26.0ms | Allocations: 15951)
I, [2023-09-27T14:35:24.733914 #864426] INFO – : [e4076a14-81d3-4e5d-b34f-9420ad09d488] Completed 200 OK in 31ms (Views: 22.8ms | ActiveRecord: 4.4ms | Allocations: 17337)

redmineplugins.cn Admin大约一年 之前添加

@lin steve 手动执行 rake redmine:send_reminders_all RAILS_ENV=production 有效果吗?

lin steve 大约一年 之前添加

@redmineplugins.cn Admin 嗨您好,目前仍無任何效果,而Log看不到任何異常信息。

guo hongxing大约一年 之前添加

@lin steve 没有异常信息说明插件本身工作支持。参数配置是否需要调整看看?

lin steve 大约一年 之前添加

您好,請問安裝後出現
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

試過任何方法都出現一樣的狀況,請問能否遠程協助呢?謝謝
另外 5.0.x 的版本是否有支援?

guo hongxing大约一年 之前添加

@lin steve 如果是redmine5,请选择对应兼容的版本 https://redmineplugins.cn/projects/1/plugin_blocks/90?tab=changelog

遇到Internal error,需要提供详细的报错内容才方便排查,请上传错误日志到 https://redmineplugins.cn/projects/redmineplugins/issues/new?from_submenu=1&issue_tracker_id=1

忍者 火影大约一年 之前添加

I, [2023-08-24T16:53:32.984979 #2032] INFO – : [7a8bbdd7-20cd-40dc-aa3f-84d0ee
6a9b67] Processing by ReminderConfigurationController#update as HTML
I, [2023-08-24T16:53:32.985168 #2032] INFO – : [7a8bbdd7-20cd-40dc-aa3f-84d0ee
6a9b67] Parameters: {“utf8"⇒“✓“, “authenticity_token"⇒“K2fCcEkDFWBz5PoJ21u72
5aS7qh2XVBFufYafg1C+1ErPRLv/EvLCAuvDnI+CYj5JzPZsd/LDDM/BQXQLXhJGg==”, “reminder_
configuration"⇒{“days"⇒“1”, “issue_status_selector"⇒“all_opened”, “issue_stat
us_ids"⇒[“”], “project_selector"⇒“all”, “project_ids"⇒[“”], “tracker_selector
“⇒“all”, “tracker_ids"⇒[“”], “send_to_author"⇒“1”, “send_to_assigned_to"⇒“1”
, “send_to_watcher"⇒“1”, “send_to_custom_user"⇒“0”}, “commit"⇒“保存”}
I, [2023-08-24T16:53:32.989757 #2032] INFO – : [7a8bbdd7-20cd-40dc-aa3f-84d0ee
6a9b67] Current user: perry (id=1)
I, [2023-08-24T16:53:33.015292 #2032] INFO – : [7a8bbdd7-20cd-40dc-aa3f-84d0ee
6a9b67] Completed 500 Internal Server Error in 30ms (ActiveRecord: 3.0ms | Alloc
ations: 10664)
F, [2023-08-24T16:53:33.016179 #2032] FATAL – : [7a8bbdd7-20cd-40dc-aa3f-84d0ee
6a9b67]
[7a8bbdd7-20cd-40dc-aa3f-84d0ee6a9b67] NoMethodError (undefined method `update_a
ttributes’ for #<ReminderConfiguration:0x000000aad0eb8388>
Did you mean? update_attribute):
[7a8bbdd7-20cd-40dc-aa3f-84d0ee6a9b67]
[7a8bbdd7-20cd-40dc-aa3f-84d0ee6a9b67] plugins/redmine_reminder/app/controllers/
reminder_configuration_controller.rb:14:in `update’
[7a8bbdd7-20cd-40dc-aa3f-84d0ee6a9b67] lib/redmine/sudo_mode.rb:61:in `sudo_mode
'
I, [2023-08-24T16:53:33.844441 #6448] INFO – : [e68104ed-b3f6-443e-a8ec-498678
612fb1] Started GET "/redmine/issues/28092” for 113.65.10.250 at 2023-08-24 16:5
3:33 +0800
I, [2023-08-24T16:53:33.845404 #6448] INFO – : [e68104ed-b3f6-443e-a8ec-498678
612fb1] Processing by IssuesController#show as /*
I, [2023-08-24T16:53:33.845541 #6448] INFO – : [e68104ed-b3f6-443e-a8ec-498678
612fb1] Parameters: {“id"⇒“28092”}
I, [2023-08-24T16:53:33.850591 #6448] INFO – : [e68104ed-b3f6-443e-a8ec-498678
612fb1] Current user: 13533937875 (id=332)
I, [2023-08-24T16:53:34.065992 #6448] INFO – : [e68104ed-b3f6-443e-a8ec-498678
612fb1] Rendered issues/show.html.erb within layouts/base (Duration: 100.0ms |
Allocations: 44825)
I, [2023-08-24T16:53:34.072536 #6448] INFO – : [e68104ed-b3f6-443e-a8ec-498678
612fb1] Rendered inline template (Duration: 0.5ms | Allocations: 237)
I, [2023-08-24T16:53:34.107612 #6448] INFO – : [e68104ed-b3f6-443e-a8ec-498678
612fb1] Rendered layout layouts/base.html.erb (Duration: 141.6ms | Allocations
: 65909)
I, [2023-08-24T16:53:34.108241 #6448] INFO – : [e68104ed-b3f6-443e-a8ec-498678
612fb1] Completed 200 OK in 263ms (Views: 120.9ms | ActiveRecord: 87.4ms | Alloc
ations: 94992)
I, [2023-08-24T16:53:36.783205 #2032] INFO – : [c308a881-13ab-4f0e-b96f-f022cd
7a7549] Started GET "/redmine/issues/29915?next_issue_id=29775&prev_issue_id=303
30” for 113.65.10.250 at 2023-08-24 16:53:36 +0800
I, [2023-08-24T16:53:36.784087 #2032] INFO – : [c308a881-13ab-4f0e-b96f-f022cd
7a7549] Processing by IssuesController#show as */

I, [2023-08-24T16:53:36.784224 #2032] INFO – : [c308a881-13ab-4f0e-b96f-f022cd
7a7549] Parameters: {“next_issue_id"⇒“29775”, “prev_issue_id"⇒“30330”, “id”=

“29915”}

I, [2023-08-24T16:53:36.788283 #2032] INFO – : [c308a881-13ab-4f0e-b96f-f022cd
7a7549] Current user: 13539407487 (id=53)
I, [2023-08-24T16:53:37.034061 #2032] INFO – : [c308a881-13ab-4f0e-b96f-f022cd
7a7549] Rendered issues/show.html.erb within layouts/base (Duration: 193.8ms |
Allocations: 94177)
I, [2023-08-24T16:53:37.040791 #2032] INFO – : [c308a881-13ab-4f0e-b96f-f022cd
7a7549] Rendered inline template (Duration: 0.5ms | Allocations: 241)
I, [2023-08-24T16:53:37.073528 #2032] INFO – : [c308a881-13ab-4f0e-b96f-f022cd
7a7549] Rendered layout layouts/base.html.erb (Duration: 233.3ms | Allocations
: 114515)
I, [2023-08-24T16:53:37.074113 #2032] INFO – : [c308a881-13ab-4f0e-b96f-f022cd
7a7549] Completed 200 OK in 290ms (Views: 199.4ms | ActiveRecord: 63.6ms | Alloc
ations: 127147)
I, [2023-08-24T16:53:38.847082 #6448] INFO – : [5b0df5de-d1ea-430a-848a-195657
11280b] Started GET "/redmine/issues/28092” for 113.65.10.250 at 2023-08-24 16:5
3:38 +0800
I, [2023-08-24T16:53:38.847895 #6448] INFO – : [5b0df5de-d1ea-430a-848a-195657
11280b] Processing by IssuesController#show as */*
I, [2023-08-24T16:53:38.848007 #6448] INFO – : [5b0df5de-d1ea-430a-848a-195657
11280b] Parameters: {“id"⇒“28092”}
I, [2023-08-24T16:53:38.852289 #6448] INFO – : [5b0df5de-d1ea-430a-848a-195657
11280b] Current user: 13533937875 (id=332)
I, [2023-08-24T16:53:39.070160 #6448] INFO – : [5b0df5de-d1ea-430a-848a-195657
11280b] Rendered issues/show.html.erb within layouts/base (Duration: 102.3ms |
Allocations: 44769)
I, [2023-08-24T16:53:39.077014 #6448] INFO – : [5b0df5de-d1ea-430a-848a-195657
11280b] Rendered inline template (Duration: 0.5ms | Allocations: 237)
I, [2023-08-24T16:53:39.112669 #6448] INFO – : [5b0df5de-d1ea-430a-848a-195657
11280b] Rendered layout layouts/base.html.erb (Duration: 144.9ms | Allocations
: 65853)
I, [2023-08-24T16:53:39.113127 #6448] INFO – : [5b0df5de-d1ea-430a-848a-195657
11280b] Completed 200 OK in 265ms (Views: 123.9ms | ActiveRecord: 89.4ms | Alloc
ations: 94879)

D:\Bitnami\redmine-5.0.2-0\apps\redmine\htdocs>

D:\Bitnami\redmine-5.0.2-0\apps\redmine\htdocs>
报错log

redmineplugins.cn Admin大约一年 之前添加

@忍者 火影 修复了配置保存的问题,方便收邮件评估下。

忍者 火影大约一年 之前添加

@redmineplugins.cn Admin 保存不会报错了,但是制定计划就出问题了
D:\Bitnami\redmine-5.0.2-0\apps\redmine\htdocs>bundle exec rake redmine:send_rem
inders_all RAILS_ENV=production
D:/Bitnami/redmine-5.0.2-0/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/dig
est-3.1.1/lib/digest.rb:20: warning: already initialized constant Digest::REQUIR
E_MUTEX
D:/Bitnami/redmine-5.0.2-0/ruby/lib/ruby/2.6.0/digest.rb:6: warning: previous de
finition of REQUIRE_MUTEX was here
D:/Bitnami/redmine-5.0.2-0/apps/redmine/htdocs/plugins/redmine_issues_visibility
/lib/redmine_issues_visibility/patches/role_patch.rb:8: warning: already initial
ized constant Role::ISSUES_VISIBILITY_OPTIONS
D:/Bitnami/redmine-5.0.2-0/apps/redmine/htdocs/app/models/role.rb:40: warning: p
revious definition of ISSUES_VISIBILITY_OPTIONS was here
D:/Bitnami/redmine-5.0.2-0/apps/redmine/htdocs/plugins/redmine_knowledgebase
rake aborted!
NoMethodError: undefined method `active?' for #<Group:0x0000005ee67efe38>
Did you mean? acts_like?
D:/Bitnami/redmine-5.0.2-0/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/act
ivemodel-6.1.6/lib/active_model/attribute_methods.rb:469:in `method_missing’
D:/Bitnami/redmine-5.0.2-0/apps/redmine/htdocs/plugins/redmine_reminder/lib/task
s/reminder_all.rake:33:in `block (3 levels) in <top (required)>'
D:/Bitnami/redmine-5.0.2-0/apps/redmine/htdocs/plugins/redmine_reminder/lib/task
s/reminder_all.rake:32:in `each’
D:/Bitnami/redmine-5.0.2-0/apps/redmine/htdocs/plugins/redmine_reminder/lib/task
s/reminder_all.rake:32:in `block (2 levels) in <top (required)>'
D:/Bitnami/redmine-5.0.2-0/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rak
e-13.0.6/exe/rake:27:in `<top (required)>'
Tasks: TOP ⇒ redmine:send_reminders_all
(See full trace by running task with --trace)

D:\Bitnami\redmine-5.0.2-0\apps\redmine\htdocs>

忍者 火影大约一年 之前添加

表达清楚一点,就是保存的时候就会出现500错误

匿名用户大约一年 之前添加

这个能兼容下5.0版本吗

redmineplugins.cn Admin大约一年 之前添加

你好,redmine_reminder 0.2.2_2 可以兼容redmine5了。

忍者 火影大约一年 之前添加

@redmineplugins.cn Admin I, [2023-08-22T10:33:47.142915 #1220] INFO – : [43b57f1e-e20d-4c58-add3-488059
3253f4] Processing by ReminderConfigurationController#update as HTML
I, [2023-08-22T10:33:47.143088 #1220] INFO – : [43b57f1e-e20d-4c58-add3-488059
3253f4] Parameters: {“utf8"⇒“✓“, “authenticity_token"⇒“VsLTgThkEvXmNtgJKMieQ
Mmuldsm7BIIblDBSUlTlXX3/vnE3rgdyM3WZAgP2qHlC/WWa3XCF0MwaLzegVvqoA==”, “reminder_
configuration"⇒{“days"⇒“3”, “issue_status_selector"⇒“all_opened”, “issue_stat
us_ids"⇒[“”], “project_selector"⇒“all”, “project_ids"⇒[“”], “tracker_selector
“⇒“all”, “tracker_ids"⇒[“”], “send_to_author"⇒“1”, “send_to_assigned_to"⇒“1”
, “send_to_watcher"⇒“1”, “send_to_custom_user"⇒“1”}, “commit"⇒“保存”}
I, [2023-08-22T10:33:47.147369 #1220] INFO – : [43b57f1e-e20d-4c58-add3-488059
3253f4] Current user: perry (id=1)
I, [2023-08-22T10:33:47.162975 #1220] INFO – : [43b57f1e-e20d-4c58-add3-488059
3253f4] Completed 500 Internal Server Error in 20ms (ActiveRecord: 1.2ms | Alloc
ations: 4049)
F, [2023-08-22T10:33:47.163760 #1220] FATAL – : [43b57f1e-e20d-4c58-add3-488059
3253f4]
[43b57f1e-e20d-4c58-add3-4880593253f4] NoMethodError (undefined method `update_a
ttributes’ for #<ReminderConfiguration:0x0000009f30d8e468>
Did you mean? update_attribute):
[43b57f1e-e20d-4c58-add3-4880593253f4]
[43b57f1e-e20d-4c58-add3-4880593253f4] plugins/redmine_reminder/app/controllers/
reminder_configuration_controller.rb:14:in `update’
[43b57f1e-e20d-4c58-add3-4880593253f4] lib/redmine/sudo_mode.rb:61:in `sudo_mode
'

500 error错误,点击保存就报了

redmineplugins.cn Admin大约一年 之前添加

@忍者 火影 如果怀疑是bug,请提交到 https://redmineplugins.cn/projects/redmineplugins/issues/new

忍者 火影大约一年 之前添加

@redmineplugins.cn Admin 不是怀疑bug,就是bug flushed

redmineplugins.cn Admin大约一年 之前添加

@忍者 火影 无法复现你反映的问题,或许你没有正确安装插件。可以操作方法提交到 https://redmineplugins.cn/projects/redmineplugins/issues/new

Chen Snowman超过 2 年 之前添加

@Yang Jeff 看样子是插件数据库没有迁移成功,再尝试执行 bundle exec rake redmine:plugins:migrate RAILS_ENV=production

忍者 火影大约一年 之前添加

@Chen Snowman 应该是插件冲突,现在可以安装了

Yang Jeff超过 2 年 之前添加

请问可以如何解决,运行环境如下:
Environment:
Redmine version 4.0.3.stable
Ruby version 2.5.3-p105 (2018-10-18) [x64-mingw32]
Rails version 5.2.2.1
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.10.4
Git 2.19.1
Filesystem
Redmine plugins:
redmine_logs 0.2.0
redmine_reminder 0.2.2_

Yang Jeff超过 2 年 之前添加

进入Reminder options提示:
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

查看log发现:
ActiveRecord::StatementInvalid (Mysql2::Error: Table 'bitnami_redmine.reminder_configurations’ doesn’t exist: SELECT `reminder_configurations`.* FROM `reminder_configurations` ORDER BY `reminder_configurations`.`id` ASC LIMIT 1):

plugins/redmine_reminder/app/models/reminder_configuration.rb:37:in `instance’
plugins/redmine_reminder/app/controllers/reminder_configuration_controller.rb:9:in `edit’
lib/redmine/sudo_mode.rb:63:in `sudo_mode’

Chen Snowman超过 3 年 之前添加

@cloud zack next days 是指“问题“的“计划完成日期"之后的天数。例如当next days设置为5天时,就表示在“计划完成日期“~“计划完成日期"后的5天内的超期“问题“。如果问题没有设置“计划完成日期”就不存在超期的问题,参考这个讨论

cloud zack超过 3 年 之前添加

测试后无法触发邮件提示,请问next days中是输入问题中计划完成日期的提前日期吗

Chen Snowman超过 3 年 之前添加

手动测试方法: 在redmine目录下执行:

linux:
bundle exec rake redmine:send_reminders_all RAILS_ENV=production
windows:
set RAILS_ENV=production
bundle exec rake redmine:send_reminders_all RAILS_ENV=production

匿名用户超过 3 年 之前添加

请问该如何手动执行?

Chen Snowman超过 3 年 之前添加

@cloud zack 如果是测试效果,你可以手动执行,如果生产环境周期性执行,可以把redmine task放到操作系统的计划任务里。见 https://redmineplugins.cn/projects/1/plugin_blocks/90?tab=installation_notes

cloud zack超过 3 年 之前添加

逾期的问题没有邮件提示是什么原因

cloud zack超过 3 年 之前添加

安装完成后如何测试定时发送邮件功能?

redmineplugins.cn Admin将近 4 年 之前添加

或许这个问题能有些提示 https://redmineplugins.cn/issues/45

liu wayne将近 4 年 之前添加

如果我希望指派给我的管理员,通过User from customer该如何配置呢?

liu wayne将近 4 年 之前添加

User from Customer这个怎么配置?

Chen Snowman将近 4 年 之前添加

@Zh wayne liu 你需要把rake任务放到linux的cron计划任务里,定期周期性执行。

liu wayne将近 4 年 之前添加

这个插件怎么触发定时推送邮件?
我的redmine用的docker redmine方式安装

Chen Snowman将近 4 年 之前添加

应该没有问题,你安装报错吗?

zl6536 zl6536将近 4 年 之前添加

Redmine 4.1.1現在還可以用嗎?

Smith Johnson超过 4 年 之前添加

我要测试一下,看看回复是否也能够同步提醒,
之前的方式,我不记得了