I'm in the same situation here. Unable to update, on sitting on database version 1.5.9 as well.
I use nginx + php-fpm, but it's the same errors as above.
EDIT: Updated the logs to be more complete, there's a sequence of errors not just a single error.
2024/10/30 10:22:01 [error] 587965#587965: *76723 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined variable $comments in /opt/itflow/post/admin_update.php on line 206" while reading response header from upstream, client: ::150:e527:a37d:a68f:620f, server: domain.com, request: "GET /post.php?update HTTP/3.0", upstream: "fast>2024/10/30 10:22:03 [error] 587965#587965: *76727 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught mysqli_sql_exception: Incorrect integer value: 'Closed' for column 'ticket_status' at row 42 in /opt/itflow/database_updates.php:2304
Stack trace:
#0 /opt/itflow/database_updates.php(2304): mysqli_query()
#1 /opt/itflow/post/admin_update.php(292): require_once('...')
#2 /opt/itflow/post.php(63): require_once('...')
#3 {main}
thrown in /opt/itflow/database_updates.php on line 2304" while reading response header from upstream, client: ::150:e527:a37d:a68f:620f, server: domain.com, request: "GET /post.php?update_db HTTP/3.0", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", referrer: "https://domain.com/admin_update.php"
2024/10/30 10:22:06 [error] 587965#587965: *76730 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_REFERER" in /opt/itflow/post.php on line 17; PHP message: PHP Fatal error: Uncaught mysqli_sql_exception: Duplicate column name 'login_folder_id' in /opt/itflow/database_updates.php:2296
Stack trace:
#0 /opt/itflow/database_updates.php(2296): mysqli_query()
#1 /opt/itflow/post/admin_update.php(292): require_once('...')
#2 /opt/itflow/post.php(63): require_once('...')
#3 {main}
thrown in /opt/itflow/database_updates.php on line 2296" while reading response header from upstream, client: ::150:e527:a37d:a68f:620f, server: domain.com, request: "GET /post.php?update_db HTTP/3.0", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:"
2024/10/30 10:22:22 [error] 587965#587965: *76737 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught mysqli_sql_exception: Duplicate column name 'login_folder_id' in /opt/itflow/database_updates.php:2296
Stack trace:
#0 /opt/itflow/database_updates.php(2296): mysqli_query()
#1 /opt/itflow/post/admin_update.php(292): require_once('...')
#2 /opt/itflow/post.php(63): require_once('...')
#3 {main}
thrown in /opt/itflow/database_updates.php on line 2296" while reading response header from upstream, client: ::150:e527:a37d:a68f:620f, server: domain.com, request: "GET /post.php?update_db HTTP/3.0", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", referrer: "https://domain.com/admin_update.php"
2024/10/30 10:22:31 [error] 587965#587965: *76741 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught mysqli_sql_exception: Duplicate column name 'login_folder_id' in /opt/itflow/database_updates.php:2296
Stack trace:
#0 /opt/itflow/database_updates.php(2296): mysqli_query()
#1 /opt/itflow/post/admin_update.php(292): require_once('...')
#2 /opt/itflow/post.php(63): require_once('...')
#3 {main}
thrown in /opt/itflow/database_updates.php on line 2296" while reading response header from upstream, client: ::150:e527:a37d:a68f:620f, server: domain.com, request: "GET /post.php?update_db HTTP/3.0", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", referrer: "https://domain.com/admin_update.php"