On my local wiki I updated extensions/Flow to master and ran maintenance/update.php. But Flow wasn't actually enabled in LocalSettings.php, so I enabled it and re-ran maintenance/update.php. This time I got an error, see below.
The first bug is update.php doesn't report the script that failed. It's maintenance/FlowUpdateWorkflowPageId.php but this string doesn't appear in the output anywhere. It should.
I'm not sure why there's a failure, but it's probably a rare edge case. Note all the failed workflow updates have [workflow_title_text] => LQT_Import_NN. My Flow installation is very old and I guess I tested an early version of LQT conversion ;-) . Flow seems working OK on the talk pages I tried.
...*_from_namespace column of backlink tables already populated.
...Update 'FlowUpdateRecentChanges' already logged as completed.
...Update 'FlowSetUserIp' already logged as completed.
...Update 'FlowUpdateUserWiki' already logged as completed.
...Update 'FlowUpdateRevisionTypeId' already logged as completed.
...Update 'FlowPopulateLinksTables' already logged as completed.
Processing 15 rows
Completed
Updated 47 workflows
Failed: 4
Array
(
[0] => stdClass Object
(
[workflow_id] => $������
[workflow_wiki] => my_wiki
[workflow_namespace] => 3
[workflow_page_id] => 0
[workflow_title_text] => LQT_Import_13
[workflow_name] =>
[workflow_last_update_timestamp] => 20141108204217
[workflow_lock_state] => 0
[workflow_type] => topic
)
[1] => stdClass Object
(
[workflow_id] => $���,���1�
[workflow_wiki] => my_wiki
[workflow_namespace] => 3
[workflow_page_id] => 0
[workflow_title_text] => LQT_Import_12
[workflow_name] =>
[workflow_last_update_timestamp] => 20141107164930
[workflow_lock_state] => 0
[workflow_type] => topic
)
[2] => stdClass Object
(
[workflow_id] => &Dc����?�
[workflow_wiki] => my_wiki
[workflow_namespace] => 3
[workflow_page_id] => 0
[workflow_title_text] => LQT_Import_12
[workflow_name] =>
[workflow_last_update_timestamp] => 20141108202929
[workflow_lock_state] => 0
[workflow_type] => discussion
)
[3] => stdClass Object
(
[workflow_id] => &D��/��?�
[workflow_wiki] => my_wiki
[workflow_namespace] => 3
[workflow_page_id] => 0
[workflow_title_text] => LQT_Import_13
[workflow_name] =>
[workflow_last_update_timestamp] => 20141108204148
[workflow_lock_state] => 0
[workflow_type] => discussion
)
)
...Update 'FlowCreateMentionTemplate' already logged as completed.
Set the local repo temp zone container to be private.
Purging caches...done.