Setting being overridden in Kernel/Config.pm

Moderator: crythias

Locked
ingmar
Znuny newbie
Posts: 5
Joined: 23 Jan 2018, 19:36
Znuny Version: OTRS 6
Real Name: Ingmar

Setting being overridden in Kernel/Config.pm

Post by ingmar »

Hello,
I tried to update a setting, but the deployment failed with a database error at the time. The setting is now stuck on "overridden in Kernel/Config.pm". I tried to remove the lines corresponding to this setting from the file, but to no effect.
Is there perhaps an additional step I need to take?
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: Setting being overridden in Kernel/Config.pm

Post by reneeb »

Did you run "bin/otrs.Console.pl Maint::Config::Rebuild"?
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
ingmar
Znuny newbie
Posts: 5
Joined: 23 Jan 2018, 19:36
Znuny Version: OTRS 6
Real Name: Ingmar

Re: Setting being overridden in Kernel/Config.pm

Post by ingmar »

reneeb wrote:Did you run "bin/otrs.Console.pl Maint::Config::Rebuild"?
I tried that now, first it said there was an error about parsing XML. Once I fixed that, running the command you mentioned provides the following output:

Code: Select all

Rebuilding the system configuration...
Done.
However the setting still says it is overridden.
zzz
Znuny superhero
Posts: 914
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Setting being overridden in Kernel/Config.pm

Post by zzz »

Hello ingmar,

you can also try: Maint::Config::Rebuild --cleanup

Best regards
Emin
Professional Znuny and OTRS services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
ingmar
Znuny newbie
Posts: 5
Joined: 23 Jan 2018, 19:36
Znuny Version: OTRS 6
Real Name: Ingmar

Re: Setting being overridden in Kernel/Config.pm

Post by ingmar »

zzz wrote:Hello ingmar,

you can also try: Maint::Config::Rebuild --cleanup

Best regards
Emin
This removed the settings from the UI entirely (most likely due to the fact I had deleted them from the file), however I was able to restore them to the file by hand.
Thank you, Emin, this solved my problem!
Locked