Having the same issue here but can't progress the update even after deleting the database entry in the plugin table, reverting to 1.16.5, and then overwriting with the 1.17.2 upload files again. The upgrade script is stuck but it doesn't seem to be retrying the install - it's as if the failed state is recorded somewhere and it won't progress even with the db table fixed.
osTicket works again when I overwrite the application root with the 1.16.5 upload/* files but I need 1.17 for the OAuth2 plugin.
Any help appreciated.
Software versions:
PHP 8.0.26 (cli) (built: Dec 3 2022 19:20:25) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.26, Copyright (c) Zend Technologies
with Zend OPcache v8.0.26, Copyright (c), by Zend Technologies
mysql Ver 14.14 Distrib 5.7.40, for Linux (x86_64) using EditLine wrapper
Ubuntu 18.04.5