Hi All
I'm looking at following this guide here :- http://blog.otrs.org/2010/10/22/dont-le ... ur-ticket/
In it it advises running the perl bin/otrs.RebuildConfig.pl
Can anyone tell me what this script does? Specifically is there any risk in running it? Does it cut access off?
thanks
Adam
otrs.RebuildConfig.pl What does this do
Moderator: crythias
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: otrs.RebuildConfig.pl What does this do
It does, basically, this:
Which does this:
WriteDefault()
writes the default configuration file perl cache (Kernel/Config/Files/ZZZAAuto.pm). It is the Perl representation of the default XML configuration data (Kernel/Config/Files/*.xml).
Which means, basically, unless the xml files are misconfigured, it *says* it won't do anything to any file but the file that holds the defaults: ZZZAAuto.pm.
What should you do? well, if you're paranoid, back up the Kernel/Config/Files/* before running the command. But it won't touch your custom configurations.
Code: Select all
if ( $CommonObject{SysConfigObject}->WriteDefault() ) {
exit;
}
WriteDefault()
writes the default configuration file perl cache (Kernel/Config/Files/ZZZAAuto.pm). It is the Perl representation of the default XML configuration data (Kernel/Config/Files/*.xml).
Which means, basically, unless the xml files are misconfigured, it *says* it won't do anything to any file but the file that holds the defaults: ZZZAAuto.pm.
What should you do? well, if you're paranoid, back up the Kernel/Config/Files/* before running the command. But it won't touch your custom configurations.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: otrs.RebuildConfig.pl What does this do
Great, Thanks for your help and explanation.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: otrs.RebuildConfig.pl What does this do
You're welcome. I realize I wasn't clear enough in my statement before. If your xmls are misconfigured, the rebuildconfig may not successfully write the ZZZAAuto.pm, but it still says it isn't going to touch the other xmls or other files.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask