Cannot login to OTRS after update to OTRS 4

Symptom: Upgrade OTRS 3 to OTRS 4.

Problem:

After update to OTRS 4, I cannot login with agent role. Website address: http://server:port/otrs/index.pl

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Solution:

Check log file of apache in the system to understand what is the problem.

Example:

$tail -f /var/log/httpd/error_log

[Mon Dec 22 16:05:52 2014] -e: (in cleanup) Can’t call method “Get” on an undefined value at /opt/otrs//Kernel/System/AuthSession/FS.pm line 547.
[Mon Dec 22 16:06:09 2014] -e: (in cleanup) Can’t call method “Get” on an undefined value at /opt/otrs//Kernel/System/AuthSession/FS.pm line 547.
[Mon Dec 22 16:06:43 2014] -e: (in cleanup) Can’t call method “Get” on an undefined value at /opt/otrs//Kernel/System/AuthSession/FS.pm line 547.
[Mon Dec 22 16:06:43 2014] [error] [Mon Dec 22 16:06:43 2014] -e: Got no DBObject at /opt/otrs//Kernel/System/Stats/Static/FAQAccess.pm line 26.\n\t(in cleanup) Can’t call method “Get” on an undefined value at /opt/otrs//Kernel/System/AuthSession/FS.pm line 547.\n

It it maybe error on FAQ modules. So I have solution follow

Download lastest FAQ module and install manually, because i cannot login to OTRS web agent with administrative role.

1. Download FAQ 4.0.1 from http://www.otrs.com/homepage/try/

2. Install module manually from root account.

su -c “./otrs.PackageManager.pl -a install -p /tmp/FAQ-4.0.1.opm” -s /bin/bash otrs

3. Try to login again, it will be successfull.

4. After login to web agent, i can remove and install OTRS extension.