Fix to Errors

Moderator: crythias

Locked
spinaldf
Znuny newbie
Posts: 48
Joined: 29 Apr 2019, 16:29
Znuny Version: 6community
Real Name: Luiz Guilherme

Fix to Errors

Post by spinaldf »

Dears,

I need to help fix the problems. Any suggestion?

#######################################################################################################
# First Error

Aug 20 09:28:26 machine journal: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SystemConfigurationSyncManager-
3[101446]: [Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][Line:49]: There was an error executing Configur
ationDeploySync: Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1978.


Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs//Kernel/Config/Defaults.pm line 1977.

#######################################################################################################
# Second Error
ERROR: OTRS-CGI-3 Perl: 5.16.3 OS: linux Time: Thu Aug 20 09:32:44 2020

Message: Need GroupName!

RemoteAddress: 10.1.0.106
RequestURI: /otrs/index.pl?Action=Admin

Traceback (102578):
Module: Kernel::System::Group::PermissionCheck Line: 945
Module: Kernel::Output::HTML::NavBar::ModuleAdmin::Run Line: 77
Module: Kernel::Output::HTML::Layout::NavigationBar Line: 3297
Module: Kernel::Modules::Admin::Run Line: 35
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1135
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
#######################################################################################################
root
Administrator
Posts: 4250
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Fix to Errors

Post by root »

spinaldf wrote: 20 Aug 2020, 14:42 Dears,

I need to help fix the problems. Any suggestion?

#######################################################################################################
# First Error

Aug 20 09:28:26 machine journal: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SystemConfigurationSyncManager-
3[101446]: [Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][Line:49]: There was an error executing Configur
ationDeploySync: Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1978.


Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs//Kernel/Config/Defaults.pm line 1977.

Hi,

Let's start with the first error. Please provide a list of all installed modules including their version. Do you have any file modified manually?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
spinaldf
Znuny newbie
Posts: 48
Joined: 29 Apr 2019, 16:29
Znuny Version: 6community
Real Name: Luiz Guilherme

Re: Fix to Errors

Post by spinaldf »

List packages

Detail: I only upgrade otrs 5 to 6 and upgrade packages

I don't modify any file of packages or XML.

| Name: DynamicFieldITSMConfigItem
| Version: 6.0.1
| Name: DynamicFieldRemoteDB
| Version: 6.0.3
| Name: FAQ
| Version: 6.0.27
| Name: GeneralCatalog
| Version: 6.0.28
| Name: ITSM
| Version: 6.0.28
| Name: ITSM-CIAttributeCollection
| Version: 6.0.2
| Name: ITSMChangeManagement
| Version: 6.0.28
| Name: ITSMConfigurationManagement
| Version: 6.0.28
| Name: ITSMCore
| Version: 6.0.28
| Name: ITSMIncidentProblemManagement
| Version: 6.0.28
| Name: ITSMServiceLevelManagement
| Version: 6.0.28
| Name: ImportExport
| Version: 6.0.28
| Name: OTRSMasterSlave
| Version: 6.0.25
| Name: Survey
| Version: 6.0.19
| Name: SystemMonitoring
| Version: 6.0.13
| Name: TemplateX
| Version: 5.0.1
| Name: TimeAccounting
| Version: 6.0.17
| Name: Znuny4OTRS-AutoSelect
| Version: 6.0.7
| Name: Znuny4OTRS-CISearch
| Version: 6.0.3
| Name: Znuny4OTRS-CTI
| Version: 6.0.8
| Name: Znuny4OTRS-EscalationSuspend
| Version: 6.0.6
| Name: Znuny4OTRS-Repo
| Version: 6.0.61
root
Administrator
Posts: 4250
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Fix to Errors

Post by root »

Hi,

Your daemon was stopped during migration?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
spinaldf
Znuny newbie
Posts: 48
Joined: 29 Apr 2019, 16:29
Znuny Version: 6community
Real Name: Luiz Guilherme

Re: Fix to Errors

Post by spinaldf »

Yes, I did stop daemon, cron and apache (This 3 services). I also checked the process during the migration.
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Fix to Errors

Post by skullz »

For second one,

As the log not showing which effected configuration setting, i suggest to using 'Export Out current configuration'.
This file should contains modified system configuration value and structure.
Then you can trace it out which configuration that not compatible with otrs v6 (keyword: GroupName).

Then, reset the effected system configuration as its modified value with structure perhaps still based on v5.

However, this is based on the expectation, the xml configuration itself is from OTRS package / installer.

Good luck.


Edit: I think the addon TemplateX is based on OTRS v5. You have to upgrade it or remove it.
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
spinaldf
Znuny newbie
Posts: 48
Joined: 29 Apr 2019, 16:29
Znuny Version: 6community
Real Name: Luiz Guilherme

Re: Fix to Errors

Post by spinaldf »

Well, I don't have idea as I do.

Can send a example?
Locked