Update from OTRS 6.0.28 to Znuny LTS 6.0.36

Moderator: crythias

Post Reply
Psycho007
Znuny newbie
Posts: 3
Joined: 07 May 2021, 11:33
Znuny / OTRS Version: 6.0.30
Real Name: Jan Peterhänsel
Company: Secure Cloud Services

Update from OTRS 6.0.28 to Znuny LTS 6.0.36

Post by Psycho007 »

Hello,

I have a problem when updating from OTRS 6.0.28 to Znuny LTS 6.0.36.

The update itself works, but when you try to open the site you cant login. The Loginbutton from the index.pl doesnt have any effect. In the web console we can see following errors pointing towards a javascript error:

Code: Select all

CommonJS_1650841395fcb41ae949fa53b4362ee8.js:1 Uncaught ReferenceError: jQuery is not defined
    at CommonJS_1650841395fcb41ae949fa53b4362ee8.js:1
TranslationJS_en_abd949a48bf9713d4a0659519d5d5fb9.js:2 Uncaught TypeError: Cannot read property 'Load' of undefined
    at TranslationJS_en_abd949a48bf9713d4a0659519d5d5fb9.js:2
Uncaught TypeError: Cannot read property 'Load' of undefined
    at TemplateJS_e4204db315da1df6a77406a758ec0c6b.js:2
Uncaught TypeError: Cannot read property 'RegisterNamespace' of undefined
    at ModuleJS_c8fb98ba923d86229dd34bc395930e94.js:12
    at ModuleJS_c8fb98ba923d86229dd34bc395930e94.js:12
index.pl:257 Uncaught TypeError: Cannot read property 'ExecuteInit' of undefined
    at index.pl:257
index.pl:276 Uncaught TypeError: Core.App.Ready is not a function
    at index.pl:276 
Can someone help us with this error?
root
Administrator
Posts: 2924
Joined: 18 Dec 2007, 12:23
Znuny / OTRS Version: Znuny LTS and 4/5/6
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Update from OTRS 6.0.28 to Znuny LTS 6.0.36

Post by root »

Hi,

It looks like you have a cache JS file or some changes in the system configuration with an outdated path to a Javascript file are there.

Try in this order and check after every step with a fresh browser (empty cache, wo/ cookies, private window preferred):

# execute as app user (otrs)
- bin/otrs.Console.pl Maint::Loader::CacheCleanup && bin/otrs.Console.pl Maint::Loader::CacheGenerate
- bin/otrs.Console.pl Admin::Config::FixInvalid
- bin/otrs/Console.pl Znuny4OTRS::Repo::Admin::Config::MissingFiles

if the last command not run install Znuny4OTRS-Repo

- Roy
Znuny LTS and ((OTRS) Community Edition CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Psycho007
Znuny newbie
Posts: 3
Joined: 07 May 2021, 11:33
Znuny / OTRS Version: 6.0.30
Real Name: Jan Peterhänsel
Company: Secure Cloud Services

Re: Update from OTRS 6.0.28 to Znuny LTS 6.0.36

Post by Psycho007 »

Thank you very much. It did work.
Post Reply