Upgrading 4.0.12 to 5.0.10

Moderator: crythias

Post Reply
djcaetano
Znuny newbie
Posts: 17
Joined: 31 May 2016, 16:19
Znuny Version: 5.0.19
Real Name: Daniel Caetano
Company: Universidade de São Paulo

Upgrading 4.0.12 to 5.0.10

Post by djcaetano »

Hi there,

I have been able to set up a test copy of our production OTRS (version 4.0.12) and tried to perform the update to 5.0.10 following the steps described on the webpage ( https://otrs.github.io/doc/manual/admin ... ading.html ). The fact is, after step 8 (restarting cron, apache, etc), I tried to access the test system, which started to load the agent login page, but gave me the following error in an alert window:

"Namespace Core.UI.Dialog could not be initialized, because Core.UI.InputFields could not be found."

After that, anoter alert window appears, as the attached image.

Any clues?
You do not have the required permissions to view the files attached to this post.
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Upgrading 4.0.12 to 5.0.10

Post by RStraub »

Please provide the apache log while the error occurrs
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
djcaetano
Znuny newbie
Posts: 17
Joined: 31 May 2016, 16:19
Znuny Version: 5.0.19
Real Name: Daniel Caetano
Company: Universidade de São Paulo

Re: Upgrading 4.0.12 to 5.0.10

Post by djcaetano »

RStraub wrote:Please provide the apache log while the error occurrs
I restored the previous virtual machine state and executed all install steps again, making sure to not copy *anything* unwanted from previous installation. After that, things are "somewhat" working. At least I could log to the customer interface and there is no errors on agent logon screen...
Except, however, by the fact the "login" button is not working (it is not possible to logon as an agent).
Errors pointed by Chrome are in the attached image. It seems the script was not able to find JQuery.js, but as far as I could check, it is at /opt/otrs/var/httpd/htdocs/js/thirdparty/jquery-2.1.4/jquery.js .
On Kernel::Config::Default it is defined as
# Customer Common JS
$Self->{'Loader::Customer::CommonJS'}->{'000-Framework'} = [
'thirdparty/jquery-2.1.4/jquery.js',
.....
No modifications regarding this path are made on Config.pm.

Apache error log shows the following:

[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('CGILogPrefix') --> OTRS-CGI
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('WebMaxFileUpload') --> 24000000
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('SessionName') --> OTRSAgentInterface
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('SessionUseCookie') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('HttpType') --> http
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DatabaseDSN') --> DBI:mysql:database=otrs;host=************
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DatabaseUser') --> otrs
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DatabasePw') --> **************
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::SlowLog') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::Type') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::ShellOutput') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::Type') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::Limit') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::DirectBlob') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::Attribute') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::QuoteSingle') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::QuoteBack') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::Connect') --> SET NAMES utf8
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Conf
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] ig.pm ->Get('Database::Connect') --> SET NAMES utf8
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::Encode') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::CaseSensitive') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Database::LcaseLikeInLargeText') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('TimeZone') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::CommonParam') --> HASH(0x27767f0)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('SessionModule') --> Kernel::System::AuthSession::DB
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('SessionTable') --> sessions
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('SystemID') --> 31
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AgentSessionLimit') --> 200
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AgentSessionPerUserLimit') --> 20
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('CustomerSessionLimit') --> 500
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('CustomerSessionPerUserLimit') --> 20
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('SessionActiveTime') --> 5000
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DatabaseUserTable') --> users
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DatabaseUserTableUserID') --> id
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DatabaseUserTableUserPW') --> pw
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DatabaseUserTableUser') --> lo
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] gin
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule') --> Kernel::System::Auth::DB
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DatabaseUserTable') --> users
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DatabaseUserTableUserID') --> id
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DatabaseUserTableUserPW') --> pw
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DatabaseUserTableUser') --> login
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule1') --> Kernel::System::Auth::LDAP
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::Die1') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::Host1') --> ****************
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::Host1') --> *******************
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::BaseDN1') --> DC=dt,DC=sibi,DC=usp,DC=br
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::BaseDN1') --> DC=dt,DC=sibi,DC=usp,DC=br
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::UID1') --> sAMAccountName
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::UID1') --> sAMAccountName
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::SearchUserDN1') --> CN=zabbix,OU=Contas,OU=DT.SIBI.USP.BR,DC=dt,DC=sibi,DC=usp, DC=br
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthMo
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] dule::LDAP::SearchUserPw1') --> **************
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::GroupDN1') --> CN=OTRS Atendimento,OU=Grupos,OU=DT.SIBI.USP.BR,DC=dt,DC=sibi,DC=usp,DC=br
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::AccessAttr1') --> member
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::UserAttr1') --> DN
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::UserSuffix1') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::UserLowerCase1') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::Charset1') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::AlwaysFilter1') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule::LDAP::Params1') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule2') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule3') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule4') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule5') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule6') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule7') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule8') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule9
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] ') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthModule10') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule1') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule2') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule3') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule4') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule5') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule6') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule7') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule8') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule9') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule10') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule') --> Kernel::System::Auth::Sync::LDAP
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::Host') --> *************************
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::BaseDN') --> DC=dt,DC=sibi,DC=usp,DC=br
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::UID') --> sAMAccountName
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] De
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] bug: Config.pm ->Get('AuthSyncModule::LDAP::Die') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::Host') --> *********************
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::BaseDN') --> DC=dt,DC=sibi,DC=usp,DC=br
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::UID') --> sAMAccountName
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::SearchUserDN') --> CN=zabbix,OU=Contas,OU=DT.SIBI.USP.BR,DC=dt,DC=sibi,DC=usp,DC=br
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::SearchUserPw') --> *************
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::GroupDN') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::AccessAttr') --> member
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::UserAttr') --> DN
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::Charset') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::AlwaysFilter') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule::LDAP::Params') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule1') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule2') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Conf
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] ig.pm ->Get('AuthSyncModule3') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule4') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule5') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule6') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule7') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule8') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule9') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthSyncModule10') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DefaultTheme') --> Standard
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('TimeZoneUser') --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DefaultUsedLanguages') --> HASH(0x2a91960)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('LanguageDebug') --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DefaultUsedLanguages') --> HASH(0x2a91960)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Home') --> /opt/otrs
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::Output::FilterElementPost') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::Output::FilterContent') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::Output::FilterText') --> HASH(0x2a7c1f8)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::RichText') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Con
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] fig.pm ->Get('SpellChecker') --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DefaultTheme::HostBased') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('TemplateDir') --> /opt/otrs/Kernel/Output
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('TemplateDir') --> /opt/otrs/Kernel/Output
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('CustomTemplateDir') --> /opt/otrs/Custom/Kernel/Output
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('CustomTemplateDir') --> /opt/otrs/Custom/Kernel/Output
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('TemplateDir') --> /opt/otrs/Kernel/Output
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('LoginURL') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('SessionUseCookie') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('HttpType') --> http
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('ScriptAlias') --> dt/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('SessionUseCookie') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('ShowMotd') --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Loader::Agent::DefaultSelectedSkin::HostBased') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Loader::Agent::DefaultSelectedSkin') --> ivory
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Home') --> /opt/otrs
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Loader::Enabled::CSS') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::ToolBarM
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] odule') --> HASH(0x2a2bd38)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::CustomerUser::Item') --> HASH(0x2a2bb40)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Loader::Agent::CommonCSS') --> HASH(0x2770bf8)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Loader::Agent::Skin') --> HASH(0x2a63590)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Home') --> /opt/otrs
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::Module') --> HASH(0x2779488)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Loader::Agent::ResponsiveCSS') --> HASH(0x2770f88)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Home') --> /opt/otrs
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Loader::Enabled::JS') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Loader::Agent::CommonJS') --> HASH(0x2771348)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::ToolBarModule') --> HASH(0x2a2bd38)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::Module') --> HASH(0x2779488)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AgentLogo') --> HASH(0x2a8e928)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AgentLogo') --> HASH(0x2a8e928)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AgentLoginLogo') --> HASH(0x2a91750)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AgentLoginLogo') --> HASH(0x2a91750)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: C
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] onfig.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Cache::Module') --> Kernel::System::Cache::FileStorable
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('TempDir') --> /opt/otrs/var/tmp
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Cache::SubdirLevels') --> 2
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Cache::InMemory') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Cache::InBackend') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule1') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule2') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule3') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule4') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule5') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule6') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule7') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule8') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule9') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AuthTwoFactorModule10') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('LostPassword')
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('CheckEmailAddresses') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::TemplateCache') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::Template::GenerateBlockHooks') --> <undef>
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Secure::DisableBanner') --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Product') --> OTRS
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Version') --> 5.0.10
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('DisableIFrameOriginRestricted') --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::ImagePath') --> /otrs-web/skins/Agent/default/img/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::ImagePath') --> /otrs-web/skins/Agent/default/img/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] > /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('ProductName') --> Sistema de Atendimento - DT/SIBiUSP
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('ProductName') --> Sistema de Atendimento - DT/SIBiUSP
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('ProductName') --> Sistema de Atendimento - DT/SIBiUSP
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::JavaScriptPath') --> /otrs-web/js/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::JavaScriptPath') --> /otrs-web/js/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::WebPath') --> /otrs-web/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('SessionName') --> OTRSAgentInterface
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('CustomerPanelSessionName') --> OTRSCustomerInterface
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::ImagePath') --> /otrs-web/skins/Agent/default/img/
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('SpellChecker') --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] ->Get('Ticket::Frontend::NeedSpellCheck') --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::RichText') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('CheckEmailAddresses') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::AnimationEnabled') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Frontend::MenuDragDropEnabled') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('OpenMainMenuOnHover') --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Ticket::Frontend::CustomerInfoCompose') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Ticket::IncludeUnknownTicketCustomers') --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Ticket::SearchIndex::WarnOnStopWordUsage') --> 0
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('ModernizeFormFields') --> 1
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('AgentLogo') --> HASH(0x2a8e928)
[Tue Jun 14 12:09:47 2016] [error] [client 200.144.210.112] Debug: Config.pm ->Get('Secure::DisableBanner') --> 0
[Tue Jun 14 12:09:47 2016] [debug] mod_deflate.c(700): [client 200.144.210.112] Zlib: Compressed 17013 to 4983 : URL /dt/index.pl
You do not have the required permissions to view the files attached to this post.
djcaetano
Znuny newbie
Posts: 17
Joined: 31 May 2016, 16:19
Znuny Version: 5.0.19
Real Name: Daniel Caetano
Company: Universidade de São Paulo

Re: Upgrading 4.0.12 to 5.0.10

Post by djcaetano »

It seems my /opt/otrs/Kernel/Config/Files/ZZZAuto.pm we not propperly updated.
I noticed it references libraries from older version... (jquery 1.11.1, for instance, instead of jaquer 2.1.4).

Is there a console command to check/adjust it?
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Upgrading 4.0.12 to 5.0.10

Post by RStraub »

You could try to execute the rebuild config:
~otrs/bin/otrs.Console.pl Maint::Config::Rebuild

if that fails, you might try to manually edit the ZZZ files (but make sure to backup them first!).
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
djcaetano
Znuny newbie
Posts: 17
Joined: 31 May 2016, 16:19
Znuny Version: 5.0.19
Real Name: Daniel Caetano
Company: Universidade de São Paulo

Re: Upgrading 4.0.12 to 5.0.10

Post by djcaetano »

Hi again,
I think I spotted the problem.

ZZZAAuto.pm is a "compilation" of all config XML files and include perl variable/array definitions for every default OTRS configuration. It seems the system call ZZZAAuto.pm so all variables are set to default values and, after that, ZZZAuto.pm (user defined) is loaded and redefine some variable values.

Well, the problem is: our OTRS configuration use additional javascript files, added via web interface ( Framework -> Core::Web // Loader::Agent::CommonJS###000-Framework ). Since we added something in the list, an array was added to ZZZAuto.pm ( $Self->{'Loader::Agent::CommonJS'}->{'000-Framework'} = [ ...] ), including ALL basic .js files from OTRS 4.x. The problem is: this definition, on my personal ZZZAuto.pm, is replacing the default js library list defined on ZZZAAuto.pm (default configuration), so OTRS5 try to load every OTRS4 library and do not load any of OTRS5 libraries.

The solution for this specific issue was remove the $Self->{'Loader::Agent::CommonJS'}->{'000-Framework'} = [ ...] definition on our ZZZAuto.pm, load OTRS without our customized javascripts and then, use the web system configuration to re-add our javascript libraries to the system.

This experience, however, reveals what seems to be a bug in the design: considering the way ZZZAAuto.pm e ZZZAuto.pm are loaded, there should be two different variables to define common js libraries: one for system libraries (which should not be messed by the user - and should not be present on ZZZAuto.pm) and another that the user could use to add his own libraries (which would be added to ZZZAuto.pm).
Post Reply