Custom folder

Moderator: crythias

Post Reply
ruzzetto

Custom folder

Post by ruzzetto »

Hi,
probably it's my fault but i installed a new otrs environment (for production purpose) and under /opt/otrs/Custom i cannot find any subfolder , while they're present on the old environment.... i don't remember i created them..... have i to enable them?
thanks
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Custom folder

Post by zzz »

Hello ruzzetto,

did you install all packages from your old environment into your new one?
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
ruzzetto

Re: Custom folder

Post by ruzzetto »

sure, i checked again and i installed the same packages
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Custom folder

Post by zzz »

What files are in "Custom" or do you only have empty folders on your old system?
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
ruzzetto

Re: Custom folder

Post by ruzzetto »

i have the entire tree for Modules, Output and System subfolders....and obviously some custom files, for example CustomerHeader.tt
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Custom folder

Post by zzz »

How about you just open these files and check the copyrights so you know the origin.
Nobody can tell you what you changed on your old system :P
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
ruzzetto

Re: Custom folder

Post by ruzzetto »

for example i created a copy of CustomerHeader.tt located in

Code: Select all

/opt/otrs/Kernel/Output/HTML/Templates/Standard
in

Code: Select all

/opt/otrs/Custom/Kernel/Output/HTML/Templates/Standard
but i didn't create subfolders ../Output/HTML/Templates/Standard...
:)
Giulio Soleni
Znuny wizard
Posts: 392
Joined: 30 Dec 2010, 14:35
Znuny Version: 6.0.x and 5.0.x
Real Name: Giulio Soleni
Company: IKS srl

Re: Custom folder

Post by Giulio Soleni »

ciao
/opt/otrs/Custom/ folder is empty by design when you install OTRS from scratch.
here you may specify any custom code or template file that you may have changed to be more suitable for your needs or requirements, and it is not necessary to replicate the whole set of files that made up the entire OTRS application.

If you would like to restore a test implementation on a new production environment, you may get through the ordinary backup and restore procedure (with /opt/otrs/scripts/backup.pl and restore.pl scripts that are provided) or you may chose to port them manually one by one from the old environment to the new one.

Also do not forget to run /opt/otrs/bin/otrs.SetPermissions.pl script to restore the correct file ownership and permissions of all the OTRS files (code and data).
The parameters of this command may vary with the release of your specific Operating System ... with CentOS or RedHat the command to use should be:

Code: Select all

./otrs.SetPermissions.pl --otrs-user=otrs --web-group=apache /opt/otrs
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
Post Reply