So, I've came a long way since the previous post.First, the issue described here was with my dump, I had to include --hex-blob option to import it right later at AWS.Then, I've installed osTicket 1.10 latest release, imported the database, and on the first upgrade screen, the upgrade failed.So, I've reverted to another solution, and that would be to install 1.7.0 that I already have on Windows. So, again, I've found 1.7.0 online, installed it, imported the DB once again (I read that the DB is changed during upgrades, so I've reimported the dump from my 1.7.0 version) and that one worked, and I had all my tickets and all of my settings. Then I proceeded to install latest 1.9.15 release, upgrade went well, and everything was swell, but one thing, and that was e-mail fetching.I can send e-mails, but it cannot fetch them. Cron job is there, set up to run every 2 minutes with /usr/bin/php/var/www/html/osticket/api/cron.phpSince that version didn't work for me, I proceeded to try to update to 1.10, and the update went fine, but the problem is the same.When I manually cron.php, I get the following as a mail to root, in /var/spool/mail/rootPHP Fatal error: Uncaught exception 'Exception' with message 'Unable to index content' in /opt/osticket/upload/include/class.search.phpStack trace:#0 /opt/osticket/upload/include/class.search.php(516): MysqlSearchBackend->__index(Array)#1 : MysqlSearchBackend->IndexOldStuff(NULL, Array)#2 /opt/osticket/upload/include/class.signal.php(98): call_user_func_array(Array, Array)#3 /opt/osticket/upload/include/class.cron.php(110): Signal:('cron', NULL, Array)#4 /opt/osticket/upload/include/api.cron.php(19): Cron->run()#5 /opt/osticket/upload/include/api.cron.php(40): CronApiController->run()#6 /opt/osticket/upload/api/cron.php(23): LocalCronApiController:()#7 {main} thrown in /opt/osticket/upload/include/class.search.php on line 621Fatal error: Uncaught exception 'Exception' with message 'Unable to index content' in /opt/osticket/upload/include/class.search.phpStack trace:#0 /opt/osticket/upload/include/class.search.php(516): MysqlSearchBackend->__index(Array)#1 : MysqlSearchBackend->IndexOldStuff(NULL, Array)#2 /opt/osticket/upload/include/class.signal.php(98): call_user_func_array(Array, Array)#3 /opt/osticket/upload/include/class.cron.php(110): Signal:('cron', NULL, Array)#4 /opt/osticket/upload/include/api.cron.php(19): Cron->run()#5 /opt/osticket/upload/include/api.cron.php(40): CronApiController->run()#6 /opt/osticket/upload/api/cron.php(23): LocalCronApiController:()#7 {main} thrown in /opt/osticket/upload/include/class.search.php on line 621This is the snippet of that code: $sql = 'INSERT INTO `'.TABLE_PREFIX.'_search` (`object_type`, `object_id`, `title`, `content`) VALUES '.implode(',', $queue); if (!db_query($sql, false) || count($queue) != db_affected_rows()) throw new Exception('Unable to index content');I didn't try e-mail fetching in 1.7.0 so I don't know if it's broken right from the install, but the thing is that the fetching doesn't work for us currently on 1.7.0 on Windows, since we use Office 365, and we need to run additional SM