Comments on How to install OTRS (OpenSource Trouble Ticket System) on Ubuntu 16.04

In this tutorial, I will show you how to install and configure OTRS on Ubuntu 16.04. I will use PostgreSQL as the database for OTRS, and Apache web server as the web server. OTRS or Open-source Ticket Request System is an open source ticketing software used for Customer Service, Help Desk, and IT Service Management.

16 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: John

After su - otrs

crontab -e

 

touch: cannot touch '/opt/otrs/.selected_editor': Permission denied

 

Should it be done under otrs?

By: SHIJU T PUNNOOSE

Amazing document .. hats off to your for hard work!

By: Marlon

Fantastic How to.

I was able to follow this document to install the latest version (6.0.3) with a modification on "Step 8 - Configure OTRS Cronjob" In order to install the newer version of OTRS, you have to change the syntax for the cronjob:

Original:

*/2 * * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null

After:

*/2 * * * * $HOME/bin/otrs.PostMaster.pl >> /dev/null

By: Serdjio Ploxa

It's good for me!

By: Serdjio Ploxa

Is good for me !

By: Alexey Gerasimov

Step 8 - Configure OTRS Cronjob (Ubuntu 18.04)

How to fix it? Thanks!!!

$ bin/otrs.Daemon.pl startManage the OTRS daemon process.Daemon started$ ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SystemConfigurationSyncManager-10 Perl: 5.26.1 OS: linux Time: Sun May 27 14:52:22 2018 Message: There was an error executing ConfigurationDeploySync: ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SystemConfigurationSyncManager-10 Perl: 5.26.1 OS: linux Time: Sun May 27 14:52:22 2018 Message: No deployments found in Database! Traceback (27203):    Module: Kernel::System::SysConfig::ConfigurationDeploySync Line: 3722   Module: (eval) Line: 129   Module: Kernel::System::Daemon::DaemonModules::SystemConfigurationSyncManager::Run Line: 116   Module: (eval) Line: 316   Module: main::Start Line: 316   Module: bin/otrs.Daemon.pl Line: 137 Traceback (27203):    Module: Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError Line: 52   Module: Kernel::System::Daemon::DaemonModules::SystemConfigurationSyncManager::Run Line: 134   Module: (eval) Line: 316   Module: main::Start Line: 316   Module: bin/otrs.Daemon.pl Line: 137

By: phao

 Insert database and table scheme with psql command as otrs user.  (password ................?  )

By: Preetham

Hi, Thanks for this extensive document. Followed this and everything went as mentioned, except that it did not take the default password. Tried a lot but jus tdid not help. Any pointers?

Thanks 

By: Martin

I have the same problem. Can you tell me how can I fix it?

When I start the deamon:

 

Daemon started

$ ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SystemConfigurationSyncManager-10 Perl: 5.22.1 OS: linux Time: Sat Feb 23 15:24:11 2019

 

 Message: There was an error executing ConfigurationDeploySync: ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SystemConfigurationSyncManager-10 Perl: 5.22.1 OS: linux Time: Sat Feb 23 15:24:11 2019

 

 Message: No deployments found in Database!

 

 Traceback (14479):

   Module: Kernel::System::SysConfig::ConfigurationDeploySync Line: 3741

   Module: (eval) Line: 129

   Module: Kernel::System::Daemon::DaemonModules::SystemConfigurationSyncManager::Run Line: 116

   Module: (eval) Line: 314

   Module: main::Start Line: 314

   Module: bin/otrs.Daemon.pl Line: 135

 

 

 

 Traceback (14479):

   Module: Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError Line: 52

   Module: Kernel::System::Daemon::DaemonModules::SystemConfigurationSyncManager::Run Line: 134

   Module: (eval) Line: 314

   Module: main::Start Line: 314

   Module: bin/otrs.Daemon.pl Line: 135

 

By: Larry Braziel

I'm also having that same error when starting the Daemon.  When I try to pull up OTRS in the web browser, it won't load.  Any idea on how to fix this?  Something broke somewhere along the way.

By: Zee

Hi, any resolution for this issue? I am hitting the same error. installed Otrs 6 on Ubuntu 16.04

By: Hardi

Hi,

i did the DB configuration based on the provided instruction from this article, but when i exicute the following DB commands & insert otrs DB user i receives the following error message;

 

su - postgrescd /opt/otrs/thenpsql -U otrs -W -f scripts/database/otrs-schema.postgresql.sql otrspsql -U otrs -W -f scripts/database/otrs-initial_insert.postgresql.sql otrspsql -U otrs -W -f scripts/database/otrs-schema-post.postgresql.sql otrserror message is:psql: FATAL: Peer authentication failed for user "otrs"however i reviewed the user configuration still the same pssword (myotrspw) was configured.tappreciate your advice

 

By: Hardi

Hi  when run the following command, there is no information dispays from the page

vim /etc/postgresql/9.5/main/pg_hba.conf

By: Yellowbird

A blank page in this case means the file doesnt exist.  It could mean that you're using a different version of postgres.  Navigate to /etc/postgresql and type the ls command.  See whether there is a /9.5 folder or if it has another number.  Navigate into that folder (whatever number it is), then main, then you should find the pg_hba.conf file.

By: Silvio Moreira Santana

Amazing document ... excellent configuration job. Clap my hands to you for hard work!

Thank you a lot! It work's at first in Ubuntu 19.04 too.

By: Jaka

ANOTHER TROUBLESHOOT INFO:

in case you come to the far end and when starting the otrs.Daemon.pl you get "Use of uninitialized value in lc at bin/otrs.Daemon.pl line XXX" try to execute "perl bin/otrs.Console.pl Maint::Config::Rebuild". I had the error on either 575 or 518 for the log rotation but I couldn't find any answers. Ran the command and the daemon started without any problems. Also if you are using a different server and the above link for OTRS won't work DON'T forget the "/" at the end. Also gave me problems for some time (i had myip/otrs and it didn't work, apache gave out error. tried myip/otrs/ and it worked)

(bold text for main problems)

Hope it helps!!