During upgrade I have not seen any error.After upgrade I tried to issue a new ticket and did not receive it.Dashboard/Syslog showed these entries while upgrading:System logsUpgrader - d51f303a appliedPatch 16fcef4a-d51f303a applied successfully (v1.8.0) Upgrader - dad45ca2 appliedPatch d51f303a-dad45ca2 applied successfully (1.8.0 - HTML ticket thread) Upgrader - dad45ca2 (task pending).The NewHtmlTemplate task reports there is work to doDB Error #1054 Unknown column 'key' in 'field list'---- Backtrace ----#0 (root)/include/mysqli.php(138): osTicket->logDBError('DB Error #1054', '[SELECT id, `ke...')#1 (root)/include/class.file.php(322): db_query('SELECT id, `key...')#2 (root)/include/class.file.php(490): AttachmentFile:(Array)#3 (root)/include/upgrader/streams/core/d51f303a-dad45ca2.task.php(21): AttachmentFile:(Array, Array)#4 (root)/include/class.upgrader.php(371): NewHtmlTemplate->run(30)#5 (root)/include/class.upgrader.php(122): StreamUpgrader->doTask()#6 (root)/include/ajax.upgrader.php(35): Upgrader->doTask()#7 : UpgraderAjaxAPI->upgrade()#8 (root)/include/class.dispatcher.php(145): call_user_func_array(Array, Array)#9 (root)/include/class.dispatcher.php(38): UrlMatcher->dispatch('/upgrader', NULL)#10 (root)/scp/ajax.php(114): Dispatcher->resolve('/upgrader')#11 {main}DB Error #1054 Unknown column 'key' in 'field list'---- Backtrace ----#0 (root)/include/mysqli.php(138): osTicket->logDBError('DB Error #1054', '[INSERT INTO os...')#1 (root)/include/class.file.php(348): db_query('INSERT INTO ost...')#2 (root)/include/class.file.php(490): AttachmentFile:(Array)#3 (root)/include/upgrader/streams/core/d51f303a-dad45ca2.task.php(21): AttachmentFile:(Array, Array)#4 (root)/include/class.upgrader.php(371): NewHtmlTemplate->run(30)#5 (root)/include/class.upgrader.php(122): StreamUpgrader->doTask()#6 (root)/include/ajax.upgrader.php(35): Upgrader->doTask()#7 : UpgraderAjaxAPI->upgrade()#8 (root)/include/class.dispatcher.php(145): call_user_func_array(Array, Array)#9 (root)/include/class.dispatcher.php(38): UrlMatcher->dispatch('/upgrader', NULL)#10 (root)/scp/ajax.php(114): Dispatcher->resolve('/upgrader')#11 {main}DB Error #1054 Unknown column 'key' in 'field list'---- Backtrace ----#0 (root)/include/mysqli.php(138): osTicket->logDBError('DB Error #1054', '[SELECT id, `ke...')#1 (root)/include/class.file.php(322): db_query('SELECT id, `key...')#2 (root)/include/class.file.php(490): AttachmentFile:(Array)#3 (root)/include/upgrader/streams/core/d51f303a-dad45ca2.task.php(21): AttachmentFile:(Array, Array)#4 (root)/include/class.upgrader.php(371): NewHtmlTemplate->run(30)#5 (root)/include/class.upgrader.php(122): StreamUpgrader->doTask()#6 (root)/include/ajax.upgrader.php(35): Upgrader->doTask()#7 : UpgraderAjaxAPI->upgrade()#8 (root)/include/class.dispatcher.php(145): call_user_func_array(Array, Array)#9 (root)/include/class.dispatcher.php(38): UrlMatcher->dispatch('/upgrader', NULL)#10 (root)/scp/ajax.php(114): Dispatcher->resolve('/upgrader')#11 {main}DB Error #1054 Unknown column 'key' in 'field list'---- Backtrace ----#0 (root)/include/mysqli.php(138): osTicket->logDBError('DB Error #1054', '[INSERT INTO os...')#1 (root)/include/class.file.php(348): db_query('INSERT INTO ost...')#2 (root)/include/class.file.php(490): AttachmentFile:(Array)#3 (root)/include/upgrader/streams/core/d51f303a-dad45ca2.task.php(21): AttachmentFile:(Array, Array)#4 (root)/include/class.upgrader.php(371): NewHtmlTemplate->run(30)#5 (root)/include/class.upgrader.php(122): StreamUpgrader->doTask()#6 (root)/include/ajax.upgrader.php(35): Upgrader->doTask()#7 : UpgraderAjaxAPI->upgrade()#8 (root)/include/class.dispatcher.php(145): call_user_func_array(Array, Array)#9 (root)/include/class.dispatcher.php(38): UrlMatcher->dispatch('/upgrader', NULL)#10 (root)/scp/ajax.php(114): Dispatcher->resolve('/upgrader')#11 {main}DB Error #1062 Duplicate entry '0-0-D' for key 'PRIMARY'---- Backtrace ----#0 (root)/include/mysqli.php(138): osTicket->logDBError('DB Error #1062', '[INSERT INTO os...')#1 (root)/include/upgrader/streams/core/d51f303a-dad45ca2.task.php(27): db_query('INSERT INTO ost...')#2 (root)/include/class.upgrader.php(371): NewHtmlTemplate->run(30)#3 (root)/include/class.upgrader.php(122): StreamUpgrader->doTask()#4 (root)/include/ajax.upgrader.php(35): Upgrader->doTask()#5 : UpgraderAjaxAPI->upgrade()#6 (root)/include/class.dispatcher.php(145): call_user_func_array(Array, Array)#7 (root)/include/class.dispatcher.php(38): UrlMatcher->dispatch('/upgrader', NULL)#8 (root)/scp/ajax.php(114): Dispatcher->resolve('/upgrader')#9 {main}Upgrader - 61c9d5d7 appliedPatch dad45ca2-61c9d5d7 applied successfully (v1.8.0-dpr1 Dynamic Forms) Upgrader - 61c9d5d7 (task pending).The DynamicFormLoader task reports there is work to doUpgrader - dad45ca2-61c9d5d7 cleanupApplied cleanup script /var/www/support.elmit.com/include/upgrader/streams/core/dad45ca2-61c9d5d7.cleanup.sqlUpgrader - 6de40a4d appliedPatch 61c9d5d7-6de40a4d applied successfully (1.8-stable) Upgrader - 6de40a4d (task pending).The CompanyFormLoader task reports there is work to doUpgrader - 1b0fce99 appliedPatch 6de40a4d-1b0fce99 applied successfully (v1.8.1 - Plugins) Upgrader - ed60ba20 appliedPatch 1b0fce99-ed60ba20 applied successfully (v1.8 - Collaboration) Upgrader - 934954de appliedPatch ed60ba20-934954de applied successfully (v1.8.1) Upgrader - f1ccd3bb appliedPatch 934954de-f1ccd3bb applied successfully (v1.8.1) Upgrader - f5692e24 appliedPatch f1ccd3bb-f5692e24 applied successfully (v1.8.1) Upgrader - f5692e24 (task pending).The DropTicketEmailInfoPk task reports there is work to doUpgrader - f1ccd3bb-f5692e24 cleanupApplied cleanup script /var/www/support.elmit.com/include/upgrader/streams/core/f1ccd3bb-f5692e24.cleanup.sqlWhat might be the reason, and how to fix it?