Help Migration OTRS5 TO OTRS ¨6

Moderator: crythias

Post Reply
AndreMedeiros
Znuny newbie
Posts: 7
Joined: 08 Feb 2018, 18:37
Znuny Version: 6.00.4
Company: TCEPE

Help Migration OTRS5 TO OTRS ¨6

Post by AndreMedeiros »

Hi

I do upgrade otrs 5 to otrs 6. However some modules are not compatible with otrs 6. Then some modules/packages like DYNAMICFIELD::DRIVER::FILE (exgtension File.pm to upload files) and other components add-ons ProductNews were not upgrade and installed on otrs 6 plataform. These components were uninstalled manually of otrs 6 via console comand ./otrs.Console.pl Admin::Package::Uninstall

Although modules and packages has been uninstalled ( we dont wish these components), the system keeps a reference to these
modules packages

Question: How to remove definitely or suspend system to try load theses modules inexistents ?
Errors messages below:

[Thu Feb 8 14:21:53 2018][Error][Kernel::System::DynamicField::Backend::new][87] Can't load dynamic field backend module for field type File!
[Thu Feb 8 14:21:53 2018][Error][Kernel::System::ObjectManager::_DieWithError][628] The constructor of Kernel::System::DynamicField::Backend returned undef.
[Thu Feb 8 14:22:03 2018][Error][Kernel::System::DynamicField::Backend::new][86] Can't locate Kernel/System/DynamicField/Driver/File.pm in @INC (you may need to install the Kernel::System::DynamicField::Driver::File module) (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /opt/otrs/Kernel/System/Main.pm line 81.


Message: Can't locate Kernel/Output/HTML/FilterElementPost/ProductNews.pm in @INC (you may need to install the Kernel::Output::HTML::FilterElementPost::ProductNews module) (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl . /etc/apache2) at /opt/otrs/Kernel/System/Main.pm line 81.
AndreMedeiros
Znuny newbie
Posts: 7
Joined: 08 Feb 2018, 18:37
Znuny Version: 6.00.4
Company: TCEPE

Re: Help Migration OTRS5 TO OTRS ¨6

Post by AndreMedeiros »

Packages installed on otrs 6

otrs@otrsinterna2:~/bin$ ./otrs.Console.pl Admin::Package::List
Listing all installed packages...
+----------------------------------------------------------------------------+
| Name: FAQ
| Version: 6.0.2
| Vendor: xxx
| URL: http://otrs.org/
| License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The FAQ/knowledge base.
+----------------------------------------------------------------------------+
| Name: GeneralCatalog
| Version: 6.0.4
| Vendor: xxx
| URL: http://otrs.org/
| License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The General Catalog package.
+----------------------------------------------------------------------------+
| Name: ImportExport
| Version: 6.0.4
| Vendor: xxx
| URL: http://otrs.org/
| License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The ImportExport package.
+----------------------------------------------------------------------------+
| Name: ITSMConfigurationManagement
| Version: 6.0.4
| Vendor: xxx
| URL: http://otrs.org/
| License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The OTRS::ITSM Configuration Management package.
+----------------------------------------------------------------------------+
| Name: ITSMCore
| Version: 6.0.4
| Vendor: xxx
| URL: http://otrs.org/
| License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The OTRS::ITSM Core package.
+----------------------------------------------------------------------------+
| Name: ITSMIncidentProblemManagement
| Version: 6.0.4
| Vendor: xxx
| URL: http://otrs.org/
| License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The OTRS::ITSM Incident and Problem Management package.
+----------------------------------------------------------------------------+
| Name: ITSMServiceLevelManagement
| Version: 6.0.4
| Vendor: xxx
| URL: http://otrs.org/
| License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The OTRS::ITSM Service Level Management package.
+----------------------------------------------------------------------------+
| Name: Survey
| Version: 6.0.2
| Vendor: xxx
| URL: http://otrs.org/
| License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: A customer survey tool.
+----------------------------------------------------------------------------+
Done.
AndreMedeiros
Znuny newbie
Posts: 7
Joined: 08 Feb 2018, 18:37
Znuny Version: 6.00.4
Company: TCEPE

Re: Help Migration OTRS5 TO OTRS ¨6

Post by AndreMedeiros »

How is it correct sintaxe for command

otrs.Console Admin::Package::Uninstall <PackageName>

or

otrs.Console Admin::Package::Uninstall //path/to/<packageFile>.opm

I used the command
otrs.Console Admin::Package::Uninstall <PackageName>
to uninstall package

Now I have observed there is uninstall sections on packagefile.opm

Could be this the cause of my issue?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Help Migration OTRS5 TO OTRS ¨6

Post by reneeb »

Did you restart the webserver after you've uninstalled the packages? Did you run

Code: Select all

perl bin/otrs.Console.pl Maint::Config::Rebuild --cleanup
?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
AndreMedeiros
Znuny newbie
Posts: 7
Joined: 08 Feb 2018, 18:37
Znuny Version: 6.00.4
Company: TCEPE

Re: Help Migration OTRS5 TO OTRS ¨6

Post by AndreMedeiros »

Hi

Executing the comand, an error is presented:



otrs@otrsinterna2:~/bin$ ./otrs.Console.pl Maint::Config::Rebuild --cleanup
Rebuilding the system configuration...
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-01 Perl: 5.18.2 OS: linux Time: Fri Feb 9 10:51:41 2018

Message: Setting Ticket::Frontend::AgentTicketFreeText###DynamicField Effective value is not correct: 'GITI' option not found in Select!

Traceback (32354):
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3450
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 69
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
Module: ./otrs.Console.pl Line: 38

Error: There was a problem writing ZZZAAuto.pm.
AndreMedeiros
Znuny newbie
Posts: 7
Joined: 08 Feb 2018, 18:37
Znuny Version: 6.00.4
Company: TCEPE

Re: Help Migration OTRS5 TO OTRS ¨6

Post by AndreMedeiros »

Hi

It works.

I edited xml file Ticket.xml and set tting Ticket::Frontend::AgentTicketFreeText###DynamicField to validity equal to zero.
After it, the rebuild command works.
Post Reply