Re: Upgrade fail [Function](): Stage2 failed... Exit Code: 254
Posted: Thu Nov 30, 2017 12:47 pm
I do see this one repeat a few times before it finally gets to the last part posted
DEBUG [L0186] [12506ms]: InstallSchema_Base::removeSchemaSQLFileComments(): Skipping SQL Comment: --Fix invalid time default values that prevent altering the table later on;
DEBUG [L0241] [12513ms]: InstallSchema_Base::_InstallSchema(): No previous Schema failure state file: c:\temp\timetrex_2\tt_schema_failure.state
DEBUG [L0248] [12522ms]: InstallSchema_Base::_InstallSchema(): Schema SQL has data, executing commands! Version: 1100A
DEBUG [L0269] [12523ms]: InstallSchema_Base::_InstallSchema(): Executing SQL command: 0 of: 1806
DEBUG [L0269] [12523ms]: InstallSchema_Base::_InstallSchema(): Executing SQL command: 1 of: 1806
DEBUG [L0273] [12529ms]: InstallSchema_Base::_InstallSchema(): SQL Command failed on line: 1 of: 1100A
DEBUG [L0062] [12533ms]: DBError::__construct(): Begin Exception...
DEBUG [L0063] [12533ms] Array: DBError::__construct(): BackTrace:
string(910) "#1.Debug::backTrace() C:\wamp\www\TimeTrex\classes\modules\core\Exception.class.php:63
#2.DBError->__construct(Object(ADODB_Exception)) C:\wamp\www\TimeTrex\classes\modules\install\InstallSchema_Base.class.php:275
#3.InstallSchema_Base->_InstallSchema() C:\wamp\www\TimeTrex\classes\modules\install\InstallSchema_Base.class.php:325
#4.InstallSchema_Base->InstallSchema() N/A:N/A
#5.call_user_func_array(Array(2), Array(0)) C:\wamp\www\TimeTrex\classes\modules\install\InstallSchema.class.php:131
#6.InstallS"...
DEBUG [L0084] [12533ms]: DBError::__construct(): Code: DBError(1067) Message: mysqli error: [1067: Invalid default value for 'start_time'] in adodb_throw(
ALTER TABLE `recurring_schedule` CHANGE `start_time` `start_time` timestamp DEFAULT '1970-01-0
DEBUG [L0084] [12533ms]: DBError::__construct(): 1 00:00:00',
CHANGE `end_time` `end_time` timestamp DEFAULT '1970-01-01 00:00:00', )
DEBUG [L0091] [12534ms] Array: DBError::__construct(): Exception...
string(1268) " ADOConnection._Execute( ALTER TABLE `recurring_schedule` CHANGE `start_time` `start_time` timestamp DEFAULT '1970-01-01 00:00:00', CHANGE `end_time` ..., false)% line 1229, file
: C:\wamp\www\TimeTrex\classes\adodb\adodb.inc.php
ADOConnection.Execute( ALTER TABLE `recurring_schedule` CHANGE `start_time` `start_time` timestamp DEFAULT '1970-01-01 00:00:00', CHANGE `end
_time` ...)% line 270, file: C:\wamp\www\TimeTrex\classes\modules\install\InstallSchema_Base.class.php
InstallSchema_Bas"...
DEBUG [L0094] [12534ms]: DBError::__construct(): End Exception...
DEBUG [L0281] [12765ms] Array: TTMail::Send(): Attempting to send email To:
string(19) "errors@timetrex.com"
------------------------------------------------------------
DEBUG [L0662] [149438ms]: [Function](): Stage2 failed... Exit Code: 254
DEBUG [L0051] [149448ms] Array: SystemSettingFactory::isUniqueName(): Unique Name: auto_upgrade_failed
string(2) "13"
DEBUG [L0184] [149448ms]: SystemSettingFactory::setSystemSetting(): Key: auto_upgrade_failed Value: 1 isNew: 0
DEBUG [L1864] [149448ms]: Factory::StartTransaction(): StartTransaction(): Transaction: Count: 0 Off: 0 OK: 0
DEBUG [L2002] [149448ms]: Factory::Save(): Calling preSave()
DEBUG [L2060] [149448ms]: Factory::Save(): Updating...
DEBUG [L1833] [149449ms]: Factory::getUpdateQuery(): Data changed, set updated date:
DEBUG [L0072] [149453ms]: Debug::Shutdown(): PHP ERROR - FATAL(1): Class 'TTUUID' not found File: C:\wamp\www\TimeTrex\classes\modules\core\TTLog.class.php Line: 72
DEBUG [L0433] [149453ms]: Debug::Shutdown(): Detected PHP errors (1), emailing log...
DEBUG [L0434] [149453ms]: Debug::Shutdown(): ---------------[ 29-Nov-2017 3:32:47 +0000 [1511926367.4441] (PID: 6888) ]---------------
DEBUG [L0281] [149478ms] Array: TTMail::Send(): Attempting to send email To:
string(19) "errors@timetrex.com"
DEBUG [L0186] [12506ms]: InstallSchema_Base::removeSchemaSQLFileComments(): Skipping SQL Comment: --Fix invalid time default values that prevent altering the table later on;
DEBUG [L0241] [12513ms]: InstallSchema_Base::_InstallSchema(): No previous Schema failure state file: c:\temp\timetrex_2\tt_schema_failure.state
DEBUG [L0248] [12522ms]: InstallSchema_Base::_InstallSchema(): Schema SQL has data, executing commands! Version: 1100A
DEBUG [L0269] [12523ms]: InstallSchema_Base::_InstallSchema(): Executing SQL command: 0 of: 1806
DEBUG [L0269] [12523ms]: InstallSchema_Base::_InstallSchema(): Executing SQL command: 1 of: 1806
DEBUG [L0273] [12529ms]: InstallSchema_Base::_InstallSchema(): SQL Command failed on line: 1 of: 1100A
DEBUG [L0062] [12533ms]: DBError::__construct(): Begin Exception...
DEBUG [L0063] [12533ms] Array: DBError::__construct(): BackTrace:
string(910) "#1.Debug::backTrace() C:\wamp\www\TimeTrex\classes\modules\core\Exception.class.php:63
#2.DBError->__construct(Object(ADODB_Exception)) C:\wamp\www\TimeTrex\classes\modules\install\InstallSchema_Base.class.php:275
#3.InstallSchema_Base->_InstallSchema() C:\wamp\www\TimeTrex\classes\modules\install\InstallSchema_Base.class.php:325
#4.InstallSchema_Base->InstallSchema() N/A:N/A
#5.call_user_func_array(Array(2), Array(0)) C:\wamp\www\TimeTrex\classes\modules\install\InstallSchema.class.php:131
#6.InstallS"...
DEBUG [L0084] [12533ms]: DBError::__construct(): Code: DBError(1067) Message: mysqli error: [1067: Invalid default value for 'start_time'] in adodb_throw(
ALTER TABLE `recurring_schedule` CHANGE `start_time` `start_time` timestamp DEFAULT '1970-01-0
DEBUG [L0084] [12533ms]: DBError::__construct(): 1 00:00:00',
CHANGE `end_time` `end_time` timestamp DEFAULT '1970-01-01 00:00:00', )
DEBUG [L0091] [12534ms] Array: DBError::__construct(): Exception...
string(1268) " ADOConnection._Execute( ALTER TABLE `recurring_schedule` CHANGE `start_time` `start_time` timestamp DEFAULT '1970-01-01 00:00:00', CHANGE `end_time` ..., false)% line 1229, file
: C:\wamp\www\TimeTrex\classes\adodb\adodb.inc.php
ADOConnection.Execute( ALTER TABLE `recurring_schedule` CHANGE `start_time` `start_time` timestamp DEFAULT '1970-01-01 00:00:00', CHANGE `end
_time` ...)% line 270, file: C:\wamp\www\TimeTrex\classes\modules\install\InstallSchema_Base.class.php
InstallSchema_Bas"...
DEBUG [L0094] [12534ms]: DBError::__construct(): End Exception...
DEBUG [L0281] [12765ms] Array: TTMail::Send(): Attempting to send email To:
string(19) "errors@timetrex.com"
------------------------------------------------------------
DEBUG [L0662] [149438ms]: [Function](): Stage2 failed... Exit Code: 254
DEBUG [L0051] [149448ms] Array: SystemSettingFactory::isUniqueName(): Unique Name: auto_upgrade_failed
string(2) "13"
DEBUG [L0184] [149448ms]: SystemSettingFactory::setSystemSetting(): Key: auto_upgrade_failed Value: 1 isNew: 0
DEBUG [L1864] [149448ms]: Factory::StartTransaction(): StartTransaction(): Transaction: Count: 0 Off: 0 OK: 0
DEBUG [L2002] [149448ms]: Factory::Save(): Calling preSave()
DEBUG [L2060] [149448ms]: Factory::Save(): Updating...
DEBUG [L1833] [149449ms]: Factory::getUpdateQuery(): Data changed, set updated date:
DEBUG [L0072] [149453ms]: Debug::Shutdown(): PHP ERROR - FATAL(1): Class 'TTUUID' not found File: C:\wamp\www\TimeTrex\classes\modules\core\TTLog.class.php Line: 72
DEBUG [L0433] [149453ms]: Debug::Shutdown(): Detected PHP errors (1), emailing log...
DEBUG [L0434] [149453ms]: Debug::Shutdown(): ---------------[ 29-Nov-2017 3:32:47 +0000 [1511926367.4441] (PID: 6888) ]---------------
DEBUG [L0281] [149478ms] Array: TTMail::Send(): Attempting to send email To:
string(19) "errors@timetrex.com"