- Used Zammad version: 3.6
- Used Zammad installation source: package
- Operating system: Ubuntu 20.04
I’ve installed zammad and the plugins in the OTRS side, launch the import process from the console and it stops after some seconds, this is the output:
Setting.reset_change_id: set new cache, 42098222
Setting.set('http_type', "http")
Setting.reset_change_id: set new cache, 394443406
Setting.set('organization', "xxxx")
Setting.reset_change_id: set new cache, 482468028
Setting.set('system_id', "92")
Setting.reset_change_id: set new cache, 847080485
Setting.set('ticket_hook', "Ticket#")
Setting.reset_change_id: set new cache, 720167411
Setting.set('ticket_number', "Ticket::Number::Date")
Setting.reset_change_id: set new cache, 938787108
Setting.set('ticket_number_date', {:checksum=>true})
thread#-: loading DynamicField...
thread#-: POST: http://crm.xxx.com/otrs/public.pl?Action=ZammadMigrator
thread#-: PARAMS: {:Subaction=>"Export", :Object=>"DynamicField", :Limit=>"", :Offset=>"", :Diff=>0, :Action=>"ZammadMigrator", :Key=>"xxx"}
thread#-: loading State...
thread#-: POST: http://crm.xxx.com/otrs/public.pl?Action=ZammadMigrator
thread#-: PARAMS: {:Subaction=>"Export", :Object=>"State", :Limit=>"", :Offset=>"", :Diff=>0, :Action=>"ZammadMigrator", :Key=>"xxxx"}
thread#-: ERROR: Server Error: #<Net::HTTPInternalServerError 500 Internal Server Error readbody=true>!
thread#-: POST: http://crm.xxx.com/otrs/public.pl?Action=ZammadMigrator
thread#-: PARAMS: {:Subaction=>"Export", :Object=>"State", :Limit=>"", :Offset=>"", :Diff=>0, :Action=>"ZammadMigrator", :Key=>"xxx"}
thread#-: ERROR: Server Error: #<Net::HTTPInternalServerError 500 Internal Server Error readbody=true>!
thread#-: POST: http://crm.xxx.com/otrs/public.pl?Action=ZammadMigrator
thread#-: PARAMS: {:Subaction=>"Export", :Object=>"State", :Limit=>"", :Offset=>"", :Diff=>0, :Action=>"ZammadMigrator", :Key=>"xxx"}
thread#-: ERROR: Server Error: #<Net::HTTPInternalServerError 500 Internal Server Error readbody=true>!
Traceback (most recent call last):
9: from (irb):4
8: from lib/import/otrs.rb:49:in `start'
7: from lib/import/otrs.rb:169:in `updateable_objects'
6: from lib/import/otrs.rb:79:in `import'
5: from lib/import/otrs.rb:150:in `import_action'
4: from lib/import/otrs/requester.rb:35:in `load'
3: from lib/import/otrs/requester.rb:80:in `request_result'
2: from lib/import/otrs/requester.rb:93:in `request_json'
1: from lib/import/otrs/requester.rb:133:in `post'
RuntimeError (Zammad Migrator returned an error)
On the OTRS side the apache logs show also errors:
[Fri Nov 20 18:46:46 2020] -e: Use of uninitialized value in concatenation (.) or string at /opt/otrs/Kernel/Output/HTML/Layout.pm line 951.
ERROR: OTRS-CGI-92 Perl: 5.18.2 OS: linux Time: Fri Nov 20 18:46:46 2020
Message: Can't locate object method "new" via package "Kernel::Output::Template::Document" at /opt/otrs/Kernel/Output/Template/Provider.pm line 125.
RemoteAddress: 192.168.100.254
RequestURI: /otrs/index.pl?Action=AgentTicketSearch;Subaction=OpenSearchDescriptionTicketNumber
Traceback (12907):
Module: Kernel::Output::HTML::Layout::Template::Output Line: 203
Module: Kernel::Output::HTML::Layout::Footer Line: 1619
Module: Kernel::Output::HTML::Layout::FatalError Line: 952
Module: Kernel::Output::HTML::Layout::Template::Output Line: 207
Module: Kernel::Output::HTML::Layout::Login Line: 881
Module: Kernel::System::Web::InterfaceAgent::Run Line: 812
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 40
Module: (eval) (v1.99) Line: 206
Module: ModPerl::RegistryCooker::run (v1.99) Line: 206
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 172
Module: ModPerl::Registry::handler (v1.99) Line: 31
[Fri Nov 20 18:46:46 2020] -e: Use of uninitialized value in substitution (s///) at /opt/otrs/Kernel/Output/HTML/FilterElementPost/Znuny4OTRSRemoveBSAdvertisements.pm line 602.
[Fri Nov 20 18:46:46 2020] -e: Use of uninitialized value in concatenation (.) or string at /opt/otrs/Kernel/Output/HTML/Layout.pm line 952.
[Fri Nov 20 18:46:46.437740 2020] [core:error] [pid 12907] [client 192.168.100.254:52086] malformed header from script 'index.pl': Bad header:
[Fri Nov 20 18:46:46.437803 2020] [perl:warn] [pid 12907] /otrs/index.pl did not send an HTTP header
[Fri Nov 20 18:46:47 2020] Znuny4OTRSRepo.pm: Subroutine new redefined at /opt/otrs/Kernel/Output/HTML/FilterElementPost/Znuny4OTRSRepo.pm line 18.
[Fri Nov 20 18:46:47 2020] Znuny4OTRSRepo.pm: Subroutine Run redefined at /opt/otrs/Kernel/Output/HTML/FilterElementPost/Znuny4OTRSRepo.pm line 28.
[Fri Nov 20 18:46:47 2020] Znuny4OTRSRepoAdminPackageManager.pm: Subroutine new redefined at /opt/otrs/Kernel/Output/HTML/FilterElementPost/Znuny4OTRSRepoAdminPackageManager.pm line 20.
[Fri Nov 20 18:46:47 2020] Znuny4OTRSRepoAdminPackageManager.pm: Subroutine Run redefined at /opt/otrs/Kernel/Output/HTML/FilterElementPost/Znuny4OTRSRepoAdminPackageManager.pm line 29.
[Fri Nov 20 18:48:06.169017 2020] [:error] [pid 12728] Can't locate object method "Export" via package "Kernel::System::Zammad::Migrator::State" at /opt/otrs/Kernel/System/Zammad/Migrator.pm lin$
[Fri Nov 20 18:48:36.243527 2020] [:error] [pid 8995] Can't locate object method "new" via package "Kernel::System::Zammad::Migrator::State" at /opt/otrs/Kernel/System/ObjectManager.pm line 306.$
[Fri Nov 20 18:48:46.058478 2020] [:error] [pid 12271] Can't locate object method "Export" via package "Kernel::System::Zammad::Migrator::State" at /opt/otrs/Kernel/System/Zammad/Migrator.pm lin$
[Fri Nov 20 18:49:16.109265 2020] [:error] [pid 12595] Can't locate object method "Export" via package "Kernel::System::Zammad::Migrator::State" at /opt/otrs/Kernel/System/Zammad/Migrator.pm lin$
[Fri Nov 20 18:49:21.308990 2020] [:error] [pid 12645] Can't locate object method "new" via package "Kernel::System::Zammad::Migrator::State" at /opt/otrs/Kernel/System/ObjectManager.pm line 306$
Any idea?