While upgrading from 1.39h to 1.5.5f, during the database update this error posted:

Could not update to version 1.5.3. We detect that you currently have v1.5.1, and must perform the updates to get to version 1.5.2 first

The last three consecutive log files contain errors. Logs are below.

Plugins: FEC, Super Orders, ENDICIA XML EXPORTER
PHP version: 5.5

I once attempted to update to 1.5.5e and I don't recall running into this issue. I ultimately did not update to 1.5.5e for other reasons. So we are still on 1.3.9h

Any idea what the issue is?


PHP Code:
[21-Jun-2018 13:37:10 America/PhoenixMySQL error 1146 encountered during zc_install:
Table 'ZenDB.sessions' doesn't exist
ALTER TABLE sessions MODIFY COLUMN sesskey varchar(255) NOT NULL default '';
---------------


[21-Jun-2018 13:37:10 America/Phoenix] MySQL error 1146 encountered during zc_install:
Table '
ZenDB.whos_online' doesn't exist
ALTER TABLE whos_online MODIFY COLUMN session_id varchar
(255NOT NULL default '';
---------------


[
21-Jun-2018 13:37:10 America/PhoenixMySQL error 1146 encountered during zc_install:
Table 'ZenDB.paypal_payment_status_history' doesn't exist
ALTER TABLE paypal_payment_status_history MODIFY pending_reason varchar(32) default NULL;
---------------


[21-Jun-2018 13:37:10 America/Phoenix] MySQL error 1146 encountered during zc_install:
Table '
ZenDB.sessions' doesn't exist
ALTER TABLE sessions MODIFY sesskey varchar
(255NOT NULL default '';
---------------


[
21-Jun-2018 13:37:10 America/PhoenixMySQL error 1146 encountered during zc_install:
Table 'ZenDB.whos_online' doesn't exist
ALTER TABLE whos_online MODIFY session_id varchar(255) NOT NULL default ''; 

PHP Code:
[21-Jun-2018 13:37:09 America/PhoenixMySQL error 1146 encountered during zc_install:
Table 'ZenDB.whos_online' doesn't exist
ALTER TABLE whos_online CHANGE COLUMN ip_address ip_address varchar(45) NOT NULL default '';
--------------- 

PHP Code:
[21-Jun-2018 13:37:08 America/PhoenixMySQL error 1146 encountered during zc_install:
Table 'ZenDB.sessions' doesn't exist
ALTER TABLE sessions CHANGE COLUMN sesskey sesskey varchar(64) NOT NULL default '';
---------------


[21-Jun-2018 13:37:08 America/Phoenix] MySQL error 1091 encountered during zc_install:
Can'
t DROP 'page_accessed'check that column/key exists
ALTER TABLE zen_admin_activity_log DROP INDEX page_accessed
;
---------------


[
21-Jun-2018 13:37:08 America/PhoenixMySQL error 1091 encountered during zc_install:
Can't DROP 'access_date'; check that column/key exists
ALTER TABLE zen_admin_activity_log DROP INDEX access_date;
---------------


[21-Jun-2018 13:37:08 America/Phoenix] MySQL error 1061 encountered during zc_install:
Duplicate key name '
idx_page_accessed_zen'
ALTER TABLE zen_admin_activity_log ADD INDEX idx_page_accessed_zen (page_accessed);
---------------


[21-Jun-2018 13:37:08 America/Phoenix] MySQL error 1061 encountered during zc_install:
Duplicate key name '
idx_access_date_zen'
ALTER TABLE zen_admin_activity_log ADD INDEX idx_access_date_zen (access_date);
---------------


[21-Jun-2018 13:37:08 America/Phoenix] MySQL error 1146 encountered during zc_install:
Table '
ZenDB.whos_online' doesn't exist
ALTER TABLE whos_online CHANGE COLUMN ip_address ip_address varchar
(20NOT NULL default '';
---------------