installer.pl gives 504 Gateway timeout error after DB creation

Moderator: crythias

Locked
sudipto
Znuny newbie
Posts: 2
Joined: 19 Sep 2016, 16:52
Znuny Version: 5.0.12
Real Name: Sudipto Majumdar
Company: hotellauncher.com

installer.pl gives 504 Gateway timeout error after DB creation

Post by sudipto »

Hi Experts,

I am trying to install OTRS 5.0.12 on Ubuntu 14.04 LTS/ Apache 2.4/ MySQL 5.5.
I followed the instructions, downloaded the tar file and installed all perl related libraries.
I got the installer.pl running, supplied the root password. The installer.pl checked the mysql instance (all running on the same machine), showed me the screen which would create the user "otrs" with a random password, as well as the schema named "otrs".
When I clicked on the "Next" button, after about 20 seconds, Apache threw "504 - Gateway Timeout" error.
I checked MySQL, and the user "otrs" and the schema "otrs" with 95 tables had been created.
If I try to run the installer.pl again, and select to use the previously created "otrs" schema, it would give me the error - "The schema is not empty, it has tables in it."
If I try to delete the schema and run installer.pl, then I would get the same "504 - Gateway Timeout" error.
I checked my iptables, and everything is allowed. I checked the iptables log in kern.log, and couldn't find any iptables related error either.
I checked MySQL logs, and there is no error there either.
I checked apache error log, and there I found the following message -- "Config.pm: Subroutine Load redefined at /opt/otrs/Kernel/Config.pm line 24.", which I don't think is an error because the installer.pl is supposed to write to Config.pm.

So I am at my wits' end to figure out what I am doing wrong. Could someone please help me out.
Alternatively, if there is some command line method by which I can set up the database and the configuration, I am prepared to do that too, if someone can please point me to it.

Thanks in advance,

Sudipto
sudipto
Znuny newbie
Posts: 2
Joined: 19 Sep 2016, 16:52
Znuny Version: 5.0.12
Real Name: Sudipto Majumdar
Company: hotellauncher.com

Re: installer.pl gives 504 Gateway timeout error after DB creation

Post by sudipto »

Hi All,
Could anyone please point me in any direction where I could look for a solution?

Thanks
Sudipto
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: installer.pl gives 504 Gateway timeout error after DB creation

Post by skullz »

try to increase the TimeOut variable in the Apache/httpd conf file.
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
Locked