Update OTRS 6.0.28

Moderator: crythias

Post Reply
mehdiabd
Znuny newbie
Posts: 13
Joined: 12 Jun 2020, 15:49
Znuny Version: 5.0.37
Real Name: Mehdi ABDENNADHER

Update OTRS 6.0.28

Post by mehdiabd »

Good morning all,

I am trying to migrate from OTRS to 6.0.28. After performing the configuration I have an error in Rebuild config:

Rebuilding the system configuration...
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-10 Perl: 5.20.2 OS: linux Time: Thu Jul 16 16:22:06 2020

Message: Setting ITSMChange::NumberGenerator Effective value is not correct: Kernel::System::ITSMChange::Number::DateChecksum doesn't satisfy ValueFilter(Kernel/System/ITSMChange/Number/*.pm)!

Traceback (28953):
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3485
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 137
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
Module: bin/otrs.Console.pl Line: 36

Error: There was a problem writing ZZZAAuto.pm.

and when i type the url of my otrs i have a message

Forbidden
You don't have permission to access this resource.slurp_filename('/opt/otrs-6/bin/cgi-bin/index.pl') / opening: (13) Permission denied at /usr/lib/x86_64-linux-gnu/perl5/5.20/ModPerl/RegistryCooker.pm line 545

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Can you help me please?

Thanks in advance for your return,

Best Regards,

Mehdi
wurzel
Znuny guru
Posts: 3232
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Update OTRS 6.0.28

Post by wurzel »

Hi,

your permissions might be not correct - run the script as otrs user and make sure proper permissions are set.
Re-Install Packages
Which docs did you follow? I guess, not the official ones and/or you missed some points.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
mehdiabd
Znuny newbie
Posts: 13
Joined: 12 Jun 2020, 15:49
Znuny Version: 5.0.37
Real Name: Mehdi ABDENNADHER

Re: Update OTRS 6.0.28

Post by mehdiabd »

Yes I followed the procedure on the official site of OTRS, I executed as you asked me for the script with the correct user otrs and now I can rebuild the configuration but I have a 500 internal error server error.


Below are the error logs:

[Fri Jul 17 16:19:46.616989 2020] [:error] [pid 29242] Can't locate Kernel/System/Web/InterfaceAgent.pm in @INC (you may need to install the Kernel::System::Web::InterfaceAgent module) (@INC contains: /usr/sbin/../../Custom /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl . /etc/apache2) at /opt/otrs-6/bin/cgi-bin/index.pl line 32.\nBEGIN failed--compilation aborted at /opt/otrs-6/bin/cgi-bin/index.pl line 32.\n


Thank you again for your help

Regards,

Mehdi
wurzel
Znuny guru
Posts: 3232
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Update OTRS 6.0.28

Post by wurzel »

Do you have any packages installed?
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
mehdiabd
Znuny newbie
Posts: 13
Joined: 12 Jun 2020, 15:49
Znuny Version: 5.0.37
Real Name: Mehdi ABDENNADHER

Re: Update OTRS 6.0.28

Post by mehdiabd »

Yes I typed the following 2 lines to have all the packages:


sudo -u otrs /opt/otrs/bin/otrs.Console.pl Admin :: Package :: ReinstallAll
sudo -u otrs /opt/otrs/bin/otrs.Console.pl Admin :: Package :: UpgradeAll


Can you help me please?

Best Regards,

Mehdi
Post Reply