There is an error updating the system configuration! Red error

Moderator: crythias

Post Reply
quadrivium
Znuny newbie
Posts: 35
Joined: 23 Mar 2020, 10:36
Znuny Version: 6.0.10
Real Name: Paolo Ponzano
Company: Quadrivium

There is an error updating the system configuration! Red error

Post by quadrivium »

Hello,
I've successfully run the updated version but I got this error
otrs_1.PNG
Where I should look for the cause?

Thanks in advance

Paolo

UPDATE1

Looking around , seems to be a problem of SystemConfigurationOutOfSyncCheck.pm file, in the specific those steps won't match

Code: Select all

  # Quit silently if the DeploymentID from configuration match the latest from DB.
    return '' if !%LastDeployment;
    return '' if $CurrentDeploymentID == $LastDeployment{DeploymentID};
You do not have the required permissions to view the files attached to this post.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: There is an error updating the system configuration! Red error

Post by root »

quadrivium wrote: 31 Mar 2020, 11:15 Where I should look for the cause?
Hi,

Maybe in the OTRS log?

- 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 ?
quadrivium
Znuny newbie
Posts: 35
Joined: 23 Mar 2020, 10:36
Znuny Version: 6.0.10
Real Name: Paolo Ponzano
Company: Quadrivium

Re: There is an error updating the system configuration! Red error

Post by quadrivium »

I've tried looking at the variables contained inside SystemConfigurationOutOfSyncCheck.pm

The $CurrentDeploymentID is 20 while the $LastDeployment{DeploymentID} is 23 .... I don't know who should have updated this value... I've done it following the guide...

HTH
Paolo
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: There is an error updating the system configuration! Red error

Post by root »

Hi,

Is there a problem to look into the OTRS log? I'm pretty sure there's no need to fiddle with any code to find the cause and fix it.

- 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 ?
quadrivium
Znuny newbie
Posts: 35
Joined: 23 Mar 2020, 10:36
Znuny Version: 6.0.10
Real Name: Paolo Ponzano
Company: Quadrivium

Re: There is an error updating the system configuration! Red error

Post by quadrivium »

I've checked the /opt/otrs/var/log but It's empty.. since this is an old installation that started in 2013 with version 3 and has been upgraded to 6.0.10 and now by me to .27 maybe something went wrong in the past

I've posted you those value since looking at the code that's the reason why it show that error

-Paolo
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: There is an error updating the system configuration! Red error

Post by root »

Hi,

Code: Select all

bin/otrs.Console.pl Maint::Log::Print
- 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 ?
quadrivium
Znuny newbie
Posts: 35
Joined: 23 Mar 2020, 10:36
Znuny Version: 6.0.10
Real Name: Paolo Ponzano
Company: Quadrivium

Re: There is an error updating the system configuration! Red error

Post by quadrivium »

Thanks Roy,
Here's the output
root@otrs:/opt/otrs# su -c "bin/otrs.Console.pl Maint::Log::Print" -s /bin/bash otrs
Tue Mar 31 10:16:40 2020;;error;;OTRS-CGI-10;;Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
Tue Mar 31 10:16:34 2020;;error;;OTRS-CGI-10;;Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
root@otrs:/opt/otrs#
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: There is an error updating the system configuration! Red error

Post by root »

Hi,

Then start thee databasee

- 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 ?
Post Reply