Hello KevinTheJedi and ntozier ,
I fixed the error by upgrading to PHP7.2. Also, i did not mention earlier but the issue might have been caused by NGINX due to my www and nginx config files not being set properly. But i have no idea why it was working for the previous version 1.09 though.
For future reference, this was how i fixed it. I added the following lines in /var/run/php-fpm/www.sock
listen = /var/run/php-fpm/www.sock
listen.owner = nginx
listen.group = nginx
listen.mode = 0664
user = nginx
group = nginx
In etc/nginx/nginx conf i added
fast_cgi_pass = unix:/var/run/php-fpm/www.sock;
After that, i restarted nginx and php services and i managed to upgrade without errors.
The earlier error in mysql was:
[SELECT A1.* FROMost_translationA1 WHERE A1.lang= 'en_US' AND A1.type= 'phrase'] Table 'osticket.ost_translation' doesn't exist<br /><br /> ---- Backtrace ----<br /> #0 (root)/include/mysqli.php(200): osTicket->logDBError('DB Error #1146', '[SELECT A1.* FR...')<br /> #1 (root)/include/class.orm.php(3459): db_query('SELECT A1.* FRO...', true, true)<br /> #2 (root)/include/class.orm.php(3506): MySqlExecutor->execute()<br /> #3 (root)/include/class.orm.php(1999): MySqlExecutor->getArray()<br /> #4 (root)/include/class.orm.php(2043): ModelInstanceManager->{closure}()<br /> #5 (root)/include/class.orm.php(2022): CallbackSimpleIterator->next()<br /> #6 (root)/include/class.orm.php(2031): CallbackSimpleIterator->rewind()<br /> #7 (root)/include/class.orm.php(1703): CallbackSimpleIterator->valid()<br /> #8 (root)/include/class.orm.php(1713): CachedResultSet->fillTo(9223372036854775807)<br /> #9 (root)/include/class.orm.php(1729): CachedResultSet->asArray()<br /> #10 (root)/include/class.translation.php(899): CachedResultSet->getIterator()<br /> #11 (root)/include/class.translation.php(920): CustomDataTranslation::getTranslation('en_US')<br /> #12 (root)/include/class.list.php(396): CustomDataTranslation::translate('37eec2fe8f75003...')<br /> #13 (root)/include/class.list.php(209): DynamicList->getLocal('name_plural')<br /> #14 (root)/include/class.list.php(532): DynamicList->getPluralName()<br /> #15 [internal function]: DynamicList::getSelections()<br /> #16 (root)/include/class.forms.php(605): call_user_func(Array)<br /> #17 (root)/include/class.forms.php(613): FormField::allTypes()<br /> #18 (root)/include/class.forms.php(1117): FormField::getFieldType('text')<br /> #19 [internal function]: FormField->getImpl(Object(DynamicFormField))<br /> #20 (root)/include/class.dynamic_forms.php(606): call_user_func_array(Array, Array)<br /> #21 (root)/include/class.dynamic_forms.php(1371): DynamicFormField->__call('getImpl', Array)<br /> #22 (root)/include/class.dynamic_forms.php(1371): DynamicFormField->getImpl(Object(DynamicFormField))<br /> #23 (root)/include/class.dynamic_forms.php(967): DynamicFormEntryAnswer->getField()<br /> #24 (root)/include/class.company.php(71): DynamicFormEntry->getAnswer('name')<br /> #25 (root)/include/client/footer.inc.php(5): Company->__toString()<br /> #26 (root)/offline.php(34): require('/var/www/ostick...')<br /> #27 (root)/client.inc.php(38): include('/var/www/ostick...')<br /> #28 (root)/index.php(16): require('/var/www/ostick...')<br /> #29 {main}
AND
[SELECT A1.* FROMost_translationA1 WHERE A1.type= 'article' AND A1.object_hash= 'cc78cd3b9390da92'] Table 'osticket.ost_translation' doesn't exist<br /><br /> ---- Backtrace ----<br /> #0 (root)/include/mysqli.php(200): osTicket->logDBError('DB Error #1146', '[SELECT A1.* FR...')<br /> #1 (root)/include/class.orm.php(3459): db_query('SELECT A1.* FRO...', true, true)<br /> #2 (root)/include/class.orm.php(3506): MySqlExecutor->execute()<br /> #3 (root)/include/class.orm.php(1999): MySqlExecutor->getArray()<br /> #4 (root)/include/class.orm.php(2043): ModelInstanceManager->{closure}()<br /> #5 (root)/include/class.orm.php(2022): CallbackSimpleIterator->next()<br /> #6 (root)/include/class.orm.php(2031): CallbackSimpleIterator->rewind()<br /> #7 (root)/include/class.orm.php(1703): CallbackSimpleIterator->valid()<br /> #8 (root)/include/class.orm.php(1713): CachedResultSet->fillTo(9223372036854775807)<br /> #9 (root)/include/class.orm.php(1336): CachedResultSet->asArray()<br /> #10 (root)/include/class.translation.php(1036): QuerySet->all()<br /> #11 (root)/include/class.page.php(94): CustomDataTranslation::allTranslations('cc78cd3b9390da9...', 'article')<br /> #12 (root)/include/class.page.php(80): Page->getAllTranslations()<br /> #13 (root)/include/class.page.php(70): Page->_getLocal('body', false)<br /> #14 (root)/include/class.page.php(73): Page->getLocalBody()<br /> #15 (root)/offline.php(28): Page->getBodyWithImages()<br /> #16 (root)/client.inc.php(38): include('/var/www/ostick...')<br /> #17 (root)/index.php(16): require('/var/www/ostick...')<br /> #18 {main}
This was the error in my nginx log
[error] 23939#0: *1729 connect() failed (111: Connection refused) while connecting to upstream, client: xx.xx.xx.xx, server: _, request: "GET /favicon.ico HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "xx.xx.xx.xx", referrer: "https://xx.xx.xx.xx/"
Would appreciate if you could enlighten me about what was the initial problem there