Upgrading 1.6.6 to 2.2.0, the ‘weblog_id’ column in exp_comments does not get renamed to ‘channel_id’. This generates this error directly after the Survey screen at the end of the 2.2.0 upgrade:
{"error":"
Error Number: 1072<\/p>\n\n
Key column 'channel_id' doesn't exist in table<\/p>\n\n
ALTER TABLE `exp_comments` ADD KEY (`channel_id`)<\/p>\n\n
Filename: /ee220a\/system\/expressionengine\/modules\/comment\/upd.comment.php<\/p>\n\n
Line Number: 256<\/p>"}I checked a backup of a 1.6.6 to 2.1.3 upgrade, and that column was properly updated from weblog_id to channel_id.
As a test, just before clicking past the Survey screen, I manually updated the column name, and then continued the install. It completed successfully.
I have never used the comments module, so that may or may not be related to this issue.
I have also made sure to download the post-hotfixed 2.2.0 install files.
Since I can manually get around this issue, I don’t need assistance. Just wanted to let you know this is occurring, and for anyone else who may be searching on this error message. 😊