Hi,
I have read many posts about users facing issues when they migrate the MySQL database from one server to another but could not find the answer. Hope to get some good pointers to my problem. Here is the situation.
Old Server
osTicket Version - v1.12 (a076918)
MySQL Version - 10.3.16
PHP Version - 7.3.7
New Server
Ubuntu 20.04 with latest release & updates with osTicket V15.2.
Apache running on port 8081 because NGINX is already running serving another application on port 80.
New installation with new database testing and found to be working fine. I managed to import the old MySQL database from the old server. Copied over the ost-config.php and restarted Apache2 as well as MySQL services.
Nothing happens if I try http://my_domain.com:8081. It gives me a 404 error. It is definitely something in the DB but unable to figure out the problem. This is the extract from /var/log/apache2/osticket_error.log.
[Tue Jul 06 12:54:35.060119 2021] [php7:error] [pid 44263] [client 172.25.1.1:1027] PHP Fatal error: Uncaught Error: Call to undefined function _S() in /var/www/osticket/upload/include/class.mailer.php:612\nStack trace:\n#0 /var/www/osticket/upload/include/class.mailer.php(632): Mailer->send()\n#1 /var/www/osticket/upload/bootstrap.php(316): Mailer::sendmail()\n#2 /var/www/osticket/upload/bootstrap.php(201): Bootstrap::croak()\n#3 /var/www/osticket/upload/main.inc.php(28): Bootstrap::connect()\n#4 /var/www/osticket/upload/client.inc.php(21): require_once('/var/www/ostick...')\n#5 /var/www/osticket/upload/index.php(16): require('/var/www/ostick...')\n#6 {main}\n thrown in /var/www/osticket/upload/include/class.mailer.php on line 612
It is something to do with sendmail not being able to email the administrator is what I vaguely found out. Any ideas how to get through this?
Thanks in advance.
Regards,
Anand