There is an error updating the system configuration! Red error

Moderator: crythias

Post Reply
quadrivium
OTRS newbie
Posts: 35
Joined: 23 Mar 2020, 10:36
OTRS 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
Moderator
Posts: 2222
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
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
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

quadrivium
OTRS newbie
Posts: 35
Joined: 23 Mar 2020, 10:36
OTRS 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
Moderator
Posts: 2222
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
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
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

quadrivium
OTRS newbie
Posts: 35
Joined: 23 Mar 2020, 10:36
OTRS 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
Moderator
Posts: 2222
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
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
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

quadrivium
OTRS newbie
Posts: 35
Joined: 23 Mar 2020, 10:36
OTRS 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
Moderator
Posts: 2222
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

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

Post by root »

Hi,

Then start thee databasee

- Roy
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

Post Reply