Clean installation OTRS 6 Beta 1

Moderator: crythias

Post Reply
SuperDOS
Znuny newbie
Posts: 93
Joined: 17 Apr 2012, 16:16
Znuny Version: 6.0.3
Real Name: A!

Clean installation OTRS 6 Beta 1

Post by SuperDOS »

Hi,

Just installed Otrs 6 Beta 1 one on a new system to test it out.

It's on CentOS 7 with local mysql with LDAP/AD integration for users/agents.

The issues I get is when trying to create a new ticket and it do a lookup of users (typeahead) I get an error.
Also when you try to logon the customer portal I get error 500.

The apachelog looks like this:

Code: Select all

[Thu Sep  7 21:34:06 2017] -e: Use of uninitialized value $UserMailStringParts[1] in join or string at /opt/otrs//Kernel/System/CustomerUser/LDAP.pm line 1442.
[Thu Sep 07 21:34:06.098322 2017] [:error] [pid 1407] Can't locate object method "toString" via package "Kernel::System::DateTime" at /opt/otrs//Kernel/System/CustomerUser/LDAP.pm line 1464.\n
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Clean installation OTRS 6 Beta 1

Post by root »

Hi,

I've got the rpm running without any issues on EL7. Did you checked /opt/otrs/bin/otrs.CheckModules.pl ?

- Roy
Znuny and Znuny LTS running on 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 ?
SuperDOS
Znuny newbie
Posts: 93
Joined: 17 Apr 2012, 16:16
Znuny Version: 6.0.3
Real Name: A!

Re: Clean installation OTRS 6 Beta 1

Post by SuperDOS »

Yes all modules up to date, are you running with AD integration?
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Clean installation OTRS 6 Beta 1

Post by jojo »

I guess you might have an issue with your LDAP connection
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
SuperDOS
Znuny newbie
Posts: 93
Joined: 17 Apr 2012, 16:16
Znuny Version: 6.0.3
Real Name: A!

Re: Clean installation OTRS 6 Beta 1

Post by SuperDOS »

the ldap works fine I can do a lookup of users (until I get the error) and also login with AD credentials.
SuperDOS
Znuny newbie
Posts: 93
Joined: 17 Apr 2012, 16:16
Znuny Version: 6.0.3
Real Name: A!

Re: Clean installation OTRS 6 Beta 1

Post by SuperDOS »

Code: Select all

# /opt/otrs/bin/otrs.CheckModules.pl
  o Apache::DBI......................ok (v1.12)
  o Apache2::Reload..................ok (v0.13)
  o Archive::Tar.....................ok (v2.26)
  o Archive::Zip.....................ok (v1.30)
  o Crypt::Eksblowfish::Bcrypt.......ok (v0.009)
  o Crypt::SSLeay....................ok (v0.64)
  o Date::Format.....................ok (v2.24)
  o DateTime.........................ok (v1.04)
  o DBI..............................ok (v1.627)
  o DBD::mysql.......................ok (v4.023)
  o DBD::ODBC........................ok (v1.50)
  o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
  o DBD::Pg..........................Not installed! Use: 'yum install "perl(DBD::Pg)"' (optional - Required to connect to a PostgreSQL database.)
  o Digest::SHA......................ok (v5.97)
  o Encode::HanExtra.................ok (v0.23)
  o IO::Socket::SSL..................ok (v1.94)
  o JSON::XS.........................ok (v3.04)
  o List::Util::XS...................ok (v1.48)
  o LWP::UserAgent...................ok (v6.26)
  o Mail::IMAPClient.................ok (v3.37)
    o IO::Socket::SSL................ok (v1.94)
    o Authen::SASL...................ok (v2.15)
    o Authen::NTLM...................ok (v1.09)
  o ModPerl::Util....................ok (v2.000010)
  o Net::DNS.........................ok (v0.72)
  o Net::LDAP........................ok (v0.56)
  o Template.........................ok (v2.24)
  o Template::Stash::XS..............ok (undef)
  o Text::CSV_XS.....................ok (v1.00)
  o Time::HiRes......................ok (v1.9746)
  o XML::LibXML......................ok (v2.0018)
  o XML::LibXSLT.....................ok (v1.80)
  o XML::Parser......................ok (v2.41)
  o YAML::XS.........................ok (v0.66)
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Clean installation OTRS 6 Beta 1

Post by root »

Hi,

I'm sorry but I can't reproduce the error. Anything special you did? I use CentOS 7 minimal installation, SELINUX disabled, EPEL activated and OTRS RPM installation.

- Roy
Znuny and Znuny LTS running on 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 ?
SuperDOS
Znuny newbie
Posts: 93
Joined: 17 Apr 2012, 16:16
Znuny Version: 6.0.3
Real Name: A!

Re: Clean installation OTRS 6 Beta 1

Post by SuperDOS »

CentOS 7 minimal installation, SELINUX disabled, EPEL activated and OTRS RPM installation.
yes that's exactly how I did the installation.

If I go to User administration I get ton of the same error

Code: Select all

[Mon Sep 11 12:37:36 2017] -e: Use of uninitialized value $UserMailStringParts[1] in join or string at /opt/otrs//Kernel/System/CustomerUser/LDAP.pm line 1442
Could there be something with the mapping of the users

from Config.pm:

Code: Select all

# customer unique id
    CustomerKey => 'sAMAccountName',
    # customer #
    CustomerID => 'mail',
        CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],
    CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
    CustomerUserSearchPrefix           => '*',
    CustomerUserSearchSuffix           => '*',
    CustomerUserSearchListLimit        => 100,
    CustomerUserPostMasterSearchFields => ['mail'],
    CustomerUserNameFields => ['givenname', 'sn'],
   Map => [
        # note: Login, Email and CustomerID are mandatory!
        # var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly, http-link-target, link class(es)
        [ 'UserTitle',      'Title',      'title',           1, 0, 'var', '', 0 ],
        [ 'UserFirstname',  'Firstname',  'givenname',       1, 1, 'var', '', 0 ],
        [ 'UserLastname',   'Lastname',   'sn',              1, 1, 'var', '', 0 ],
        [ 'UserLogin',      'Username',   'sAMAccountName',             1, 1, 'var', '', 0 ],
        [ 'UserEmail',      'Email',      'mail',            1, 1, 'var', '', 0 ],
        [ 'UserCustomerID', 'CustomerID', 'sAMAccountName',            0, 1, 'var', '', 0 ],
#        [ 'UserCustomerIDs', 'CustomerIDs', 'second_customer_ids', 1, 0, 'var', '', 0 ],
        [ 'UserPhone',      'Phone',      'telephonenumber', 1, 0, 'var', '', 0 ],
        [ 'UserAddress',    'Address',    'postaladdress',   1, 0, 'var', '', 0 ],
        [ 'UserComment',    'Comment',    'description',     1, 0, 'var', '', 0 ],
    ],
SuperDOS
Znuny newbie
Posts: 93
Joined: 17 Apr 2012, 16:16
Znuny Version: 6.0.3
Real Name: A!

Re: Clean installation OTRS 6 Beta 1

Post by SuperDOS »

Works now in Otrs 6 Beta 2
got error these errors:

Code: Select all

  Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
   Module: /opt/otrs/bin/otrs.Console.pl Line: 38

ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-09 Perl: 5.16.3 OS: linux Time: Tue Sep 19 09:05:50 2017

 Message: Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!

 Traceback (7050):
   Module: Kernel::System::YAML::Load Line: 138
   Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1078
   Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5148
   Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3204
   Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 69
   Module: (eval) Line: 460
   Module: Kernel::System::Console::BaseCommand::Execute Line: 454
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
   Module: /opt/otrs/bin/otrs.Console.pl Line: 38

Post Reply