Error upgrading OTRS 4 to 5.0.6

Moderator: crythias

Post Reply
RodrigoPetter
Znuny newbie
Posts: 51
Joined: 10 Aug 2015, 20:02
Znuny Version: 5.0.0

Error upgrading OTRS 4 to 5.0.6

Post by RodrigoPetter »

I did the upgrate to OTRS 5.0.6 following the documentation (https://otrs.github.io/doc/manual/admin ... ading.html).

I did everything without errors until the Step 8. When I opened the browser the first time i got severals errors related to JQuery version.

After changing the path in ZZZAuto.pm for the new version of JQuery used in OTRS 5.0.6 I still with the following error (full console message in attachments):
Uncaught Namespace Core.UI.Dialog could not be initialized, because Core.UI.InputFields could not be found.


If I delete the ZZZAuto.pm and execute "bin/otrs.Console.pl Maint::Config::Rebuild" the application works fine, but i lost all configs that i have before.

Can some one help me? Am I doing something wrong? How can I keep my config from OTRS 4 in the OTRS 5?
You do not have the required permissions to view the files attached to this post.
Last edited by RodrigoPetter on 12 Feb 2016, 15:13, edited 1 time in total.
jjurkus
Znuny newbie
Posts: 54
Joined: 29 Jan 2016, 15:36
Znuny Version: 6.0.17

Re: Error upgrading OTR 4 to 5.0.6

Post by jjurkus »

Uhhh, rebuilding the config without deleting/changing ZZZAuto.pm? Or have you tried that?

Maybe a similar case: viewtopic.php?f=62&t=31426
OTRS 6.0.x on CentOS 7 with a PostgreSQL database.
RodrigoPetter
Znuny newbie
Posts: 51
Joined: 10 Aug 2015, 20:02
Znuny Version: 5.0.0

Re: Error upgrading OTR 4 to 5.0.6

Post by RodrigoPetter »

Yes, i did that and I got the errors in the attachments of the first post.
jjurkus
Znuny newbie
Posts: 54
Joined: 29 Jan 2016, 15:36
Znuny Version: 6.0.17

Re: Error upgrading OTR 4 to 5.0.6

Post by jjurkus »

Have you also ran any of these?
Maint::Loader::CacheCleanup - Cleanup the CSS/JS loader cache.
Maint::Loader::CacheGenerate - Generate the CSS/JS loader cache.
OTRS 6.0.x on CentOS 7 with a PostgreSQL database.
RodrigoPetter
Znuny newbie
Posts: 51
Joined: 10 Aug 2015, 20:02
Znuny Version: 5.0.0

Re: Error upgrading OTR 4 to 5.0.6

Post by RodrigoPetter »

Just found the problem.

We have a row in the "Loader::Agent::CommonJS###000-Framework" configuration to include a custom JS file. This made the OTRS 4 write all the itens in the option "Loader::Agent::CommonJS###000-Framework" in the ZZZAuto.pm.

So when we upgraded to OTRS 5 some new JS was missing like "Core.UI.InputFields.js".

Thanks for the help jjurkus.
Post Reply