Hi,
I'm trying to do a clean install of v1.16.1
PHP 8.1.3
IIS on Windows 11
MySQL 8.0.28
The installer fails when submitting the "osTicket Basic Installation" page in the installer w/ an HTTP 500 error.
PHP log:
[19-Feb-2022 18:41:47 UTC] PHP Fatal error: Uncaught mysqli_sql_exception: Table 'osticket.ost_config' doesn't exist in C:\inetpub\wwwroot\osticket\include\mysqli.php:189
Stack trace:
#0 C:\inetpub\wwwroot\osticket\include\mysqli.php(189): mysqli->query()
#1 C:\inetpub\wwwroot\osticket\setup\inc\class.installer.php(106): db_query()
#2 C:\inetpub\wwwroot\osticket\setup\install.php(52): Installer->install()
#3 {main}
thrown in C:\inetpub\wwwroot\osticket\include\mysqli.php on line 189
It seems that the installer for some reason doesn't like the fact that there aren't any tables in the DB, when in fact the very task of the installer is to create them... So, anyone know why the installer behaves like this? Shouldn't it create all the DB resources? Or, do I in some way need to pre-create the complete DB schema beforehand, prior to running the installer?
Kind regards,
Peter