How to automate installer.pl & bypass manual steps [Solved]

Moderator: crythias

Locked
kyousry
Znuny newbie
Posts: 7
Joined: 25 Apr 2014, 22:04
Znuny Version: 6.0.12
Real Name: Khaled Yousry
Company: Next-Levels

How to automate installer.pl & bypass manual steps [Solved]

Post by kyousry »

After installing otrs 3.3.6 from source
you have to access http://server_ip/otrs/installer.pl
and enter some data manually in 4 screens (db creation, email settings, ....)
on each step you press next.
After that the system is ready to be used.

I am asking, is there is a way to automate this process
some kind of script, bash or perl to pass parameters and invoke actions needed for the above.
Last edited by kyousry on 24 May 2014, 20:11, edited 1 time in total.
OTRS 6.0.12, Ubuntu 18.04.1 LTS, Apache/2.4.29 , mysqld 5.7.24, Perl v5.26.1
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to automate installer.pl & bypass manual steps

Post by crythias »

A base install of the database (mysqldump) Config.pm, other configs from Kernel/Config/Files and you don't have to go there.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
kyousry
Znuny newbie
Posts: 7
Joined: 25 Apr 2014, 22:04
Znuny Version: 6.0.12
Real Name: Khaled Yousry
Company: Next-Levels

Re: How to automate installer.pl & bypass manual steps

Post by kyousry »

Thanks for your fast response

just to make sure

so the list of required files are
/opt/otrs/Kernel/Config/Files/ZZZAuto.pm
/opt/otrs/Kernel/Config/Files/ZZZAAuto.pm
/opt/otrs/Kernel/Config.pm

will those 3 files be enough, plus the DB dump?
OTRS 6.0.12, Ubuntu 18.04.1 LTS, Apache/2.4.29 , mysqld 5.7.24, Perl v5.26.1
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to automate installer.pl & bypass manual steps

Post by crythias »

kyousry wrote:so the list of required files are
/opt/otrs/Kernel/Config/Files/ZZZAuto.pm
/opt/otrs/Kernel/Config/Files/ZZZAAuto.pm
/opt/otrs/Kernel/Config.pm

will those 3 files be enough, plus the DB dump?
I think so. They would be enough to replicate *configuration* and *data*. (application specific changes - customizations and modules, as well as any filesystem storage are not included.)

Note that, within the database server, database creation, database credentials, and dbhost will need to be addressed in some manner that may not be identical to that which is stored in Config.pm for additional installs.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked