Help Migration OTRS5 TO OTRS ¨6

Moderator: crythias

AndreMedeiros
OTRS newbie
Posts: 7
Joined: 08 Feb 2018, 18:37
OTRS Version?: 6.00.4
Company: TCEPE

Help Migration OTRS5 TO OTRS ¨6

Postby AndreMedeiros » 08 Feb 2018, 19:27

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
OTRS newbie
Posts: 7
Joined: 08 Feb 2018, 18:37
OTRS Version?: 6.00.4
Company: TCEPE

Re: Help Migration OTRS5 TO OTRS ¨6

Postby AndreMedeiros » 08 Feb 2018, 19:27

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: OTRS AG
| 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: OTRS AG
| 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: OTRS AG
| 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: OTRS AG
| 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: OTRS AG
| 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: OTRS AG
| 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: OTRS AG
| 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: OTRS AG
| URL: http://otrs.org/
| License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: A customer survey tool.
+----------------------------------------------------------------------------+
Done.

AndreMedeiros
OTRS newbie
Posts: 7
Joined: 08 Feb 2018, 18:37
OTRS Version?: 6.00.4
Company: TCEPE

Re: Help Migration OTRS5 TO OTRS ¨6

Postby AndreMedeiros » 09 Feb 2018, 02:55

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
OTRS guru
Posts: 4534
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: Help Migration OTRS5 TO OTRS ¨6

Postby reneeb » 09 Feb 2018, 08:24

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 / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

AndreMedeiros
OTRS newbie
Posts: 7
Joined: 08 Feb 2018, 18:37
OTRS Version?: 6.00.4
Company: TCEPE

Re: Help Migration OTRS5 TO OTRS ¨6

Postby AndreMedeiros » 09 Feb 2018, 16:23

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
OTRS newbie
Posts: 7
Joined: 08 Feb 2018, 18:37
OTRS Version?: 6.00.4
Company: TCEPE

Re: Help Migration OTRS5 TO OTRS ¨6

Postby AndreMedeiros » 19 Feb 2018, 14:36

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.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 6 guests