No sending of e-mail after server migration possible

Hello,

I have moved my system to another server, there the sending of the mails does not work anymore. Receiving is possible.
I do not get any error message in Zammad or in the logs.

I have also already deleted and recreated the email accounts.

Does anyone have any idea?

Here is an excerpt of my log with some errors.

I, [2021-08-03T05:38:23.605687 #792-46953528772620]  INFO -- : fetching imap (outlook.office365.com/my@mail.com port=993,ssl=true,starttls=false,folder=Zammad,keep_on_server=true,auth_type=XOAUTH2)
I, [2021-08-03T05:38:24.841211 #792-46953528772620]  INFO -- :  - message 1/1
I, [2021-08-03T05:38:26.924196 #792-46953528772620]  INFO -- : Process email with msgid '<sender@mail.com'
I, [2021-08-03T05:38:26.973493 #792-46953528772620]  INFO -- : set_attributes_by_x_headers header x-zammad-ticket-customer_id found. Assign customer_id=119
I, [2021-08-03T05:38:27.166050 #792-46953528772620]  INFO -- : set_attributes_by_x_headers header x-zammad-article-preferences found. Assign preferences={"send-auto-response"=>true, "is-auto-response"=>false}
W, [2021-08-03T05:38:28.009155 #792-46953528772620]  WARN -- : Scoped order is ignored, it's forced to be batch order.
I, [2021-08-03T05:38:28.140085 #792-46953528310260]  INFO -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job TransactionJob [4e2d8318-99eb-4fa3-a6d3-48d6760e203f] from DelayedJob(default) with arguments: [{"object"=>"Ticket", "object_id"=>1385, "user_id"=>119, "created_at"=>{"_aj_globalid"=>"gid://zammad/Time/2021-08-03T05%3A38%3A27Z"}, "type"=>"create", "article_id"=>4794, "_aj_symbol_keys"=>["object", "object_id", "user_id", "created_at", "type", "article_id"]}, {"interface_handle"=>"scheduler", "disable"=>[], "_aj_symbol_keys"=>["interface_handle", "disable"]}] (id=689993) (queue=default) RUNNING
E, [2021-08-03T05:38:28.151874 #792-46953528310260] ERROR -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job TransactionJob [4e2d8318-99eb-4fa3-a6d3-48d6760e203f] from DelayedJob(default) with arguments: [{"object"=>"Ticket", "object_id"=>1385, "user_id"=>119, "created_at"=>{"_aj_globalid"=>"gid://zammad/Time/2021-08-03T05%3A38%3A27Z"}, "type"=>"create", "article_id"=>4794, "_aj_symbol_keys"=>["object", "object_id", "user_id", "created_at", "type", "article_id"]}, {"interface_handle"=>"scheduler", "disable"=>[], "_aj_symbol_keys"=>["interface_handle", "disable"]}] (id=689993) (queue=default) FAILED (0 prior attempts) with NoMethodError: undefined method `max_run_time' for TransactionJob:Class
E, [2021-08-03T05:38:28.152016 #792-46953528310260] ERROR -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job TransactionJob [4e2d8318-99eb-4fa3-a6d3-48d6760e203f] from DelayedJob(default) with arguments: [{"object"=>"Ticket", "object_id"=>1385, "user_id"=>119, "created_at"=>{"_aj_globalid"=>"gid://zammad/Time/2021-08-03T05%3A38%3A27Z"}, "type"=>"create", "article_id"=>4794, "_aj_symbol_keys"=>["object", "object_id", "user_id", "created_at", "type", "article_id"]}, {"interface_handle"=>"scheduler", "disable"=>[], "_aj_symbol_keys"=>["interface_handle", "disable"]}] (id=689993) (queue=default) FAILED permanently because of 1 consecutive failures
I, [2021-08-03T05:38:28.171203 #792-46953528310260]  INFO -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job TicketUserTicketCounterJob [05730087-a05e-451a-af27-99770a637e1e] from DelayedJob(default) with arguments: [119, 119] (id=689994) (queue=default) RUNNING
E, [2021-08-03T05:38:28.181219 #792-46953528310260] ERROR -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job TicketUserTicketCounterJob [05730087-a05e-451a-af27-99770a637e1e] from DelayedJob(default) with arguments: [119, 119] (id=689994) (queue=default) FAILED (0 prior attempts) with NoMethodError: undefined method `max_run_time' for TicketUserTicketCounterJob:Class
E, [2021-08-03T05:38:28.181529 #792-46953528310260] ERROR -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job TicketUserTicketCounterJob [05730087-a05e-451a-af27-99770a637e1e] from DelayedJob(default) with arguments: [119, 119] (id=689994) (queue=default) FAILED permanently because of 1 consecutive failures
I, [2021-08-03T05:38:28.205096 #792-46953528310260]  INFO -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job SearchIndexAssociationsJob [9d96e6f4-7b69-466a-bbcf-10c9709e543a] from DelayedJob(default) with arguments: ["Ticket", 1385] (id=689990) (queue=default) RUNNING
E, [2021-08-03T05:38:28.213794 #792-46953528310260] ERROR -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job SearchIndexAssociationsJob [9d96e6f4-7b69-466a-bbcf-10c9709e543a] from DelayedJob(default) with arguments: ["Ticket", 1385] (id=689990) (queue=default) FAILED (0 prior attempts) with NoMethodError: undefined method `max_run_time' for SearchIndexAssociationsJob:Class
E, [2021-08-03T05:38:28.214136 #792-46953528310260] ERROR -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job SearchIndexAssociationsJob [9d96e6f4-7b69-466a-bbcf-10c9709e543a] from DelayedJob(default) with arguments: ["Ticket", 1385] (id=689990) (queue=default) FAILED permanently because of 1 consecutive failures
I, [2021-08-03T05:38:28.245111 #792-46953528310260]  INFO -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job SearchIndexJob [e3f38cdb-0bd1-4b50-a7b5-e1136984cd24] from DelayedJob(default) with arguments: ["User", 119] (id=689991) (queue=default) RUNNING
E, [2021-08-03T05:38:28.251391 #792-46953528310260] ERROR -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job SearchIndexJob [e3f38cdb-0bd1-4b50-a7b5-e1136984cd24] from DelayedJob(default) with arguments: ["User", 119] (id=689991) (queue=default) FAILED (0 prior attempts) with NoMethodError: undefined method `max_run_time' for SearchIndexJob:Class
E, [2021-08-03T05:38:28.251534 #792-46953528310260] ERROR -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job SearchIndexJob [e3f38cdb-0bd1-4b50-a7b5-e1136984cd24] from DelayedJob(default) with arguments: ["User", 119] (id=689991) (queue=default) FAILED permanently because of 1 consecutive failures
I, [2021-08-03T05:38:28.302243 #792-46953528772620]  INFO -- : fetching imap (outlook.office365.com/other@mail.com port=993,ssl=true,starttls=false,folder=Zammad,keep_on_server=true,auth_type=XOAUTH2)
I, [2021-08-03T05:38:28.430005 #792-46953528310260]  INFO -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job SearchIndexJob [50846eb9-403d-4018-b1cc-154eabcd614b] from DelayedJob(default) with arguments: ["Organization", 40] (id=689992) (queue=default) RUNNING
E, [2021-08-03T05:38:28.439528 #792-46953528310260] ERROR -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job SearchIndexJob [50846eb9-403d-4018-b1cc-154eabcd614b] from DelayedJob(default) with arguments: ["Organization", 40] (id=689992) (queue=default) FAILED (0 prior attempts) with NoMethodError: undefined method `max_run_time' for SearchIndexJob:Class
E, [2021-08-03T05:38:28.439745 #792-46953528310260] ERROR -- : 2021-08-03T05:38:28+0000: [Worker(host:zammadvm pid:792)] Job SearchIndexJob [50846eb9-403d-4018-b1cc-154eabcd614b] from DelayedJob(default) with arguments: ["Organization", 40] (id=689992) (queue=default) FAILED permanently because of 1 consecutive failures

Methods missing sounds like a unclean migration.
Hard to tell without the missing template and stuff.

You may want to ensure you did follow the restore guide:
https://docs.zammad.org/en/latest/appendix/backup-and-restore.html

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.