Fixed Error upgrading from 2.2 to 2.3b8

duderuud

Well-known member
Affected version
2.3b8
CLI upgrade from 2.2.15 to 2.3 b8:

Code:
MySQL statement prepare error [1054]: Unknown column 'priority' in 'field list'

INSERT  INTO `xf_job` (`execute_class`, `execute_data`, `unique_key`, `manual_execute`, `trigger_date`, `priority`) VALUES (?, ?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE 
                        execute_class = VALUES(execute_class),
                        execute_data = VALUES(execute_data),
                        manual_execute = VALUES(manual_execute),
                        trigger_date = VALUES(trigger_date),
                        last_run_date = NULL,
                        priority = VALUES(priority)

Rerunning the upgrade and the install continues normally (as it seems).
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.0 Release Candidate 3).

Change log:
Ensure xf_job table structure is correct when doing an upgrade via the command line.
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom