Error when updating

Permalink
I am getting the following error when upgrading from 5.6.1.2 to 5.6.3.2. Does anyone know what the issue is?

An Unexpected Error occurred while upgrading: #0 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/libraries/3rdparty/adodb/adodb.inc.php(641): adodb_throw('mysqlt', 'DOQUOTE', -9999, 'Numeric field t...', '', false, Object(ADODB_mysqlt)) #1 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/core/libraries/model.php(44): ADOConnection->outp_throw('Numeric field t...', 'DOQUOTE') #2 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/libraries/3rdparty/adodb/adodb-active-record.inc.php(845): Concrete5_Library_Model->doquote(Object(ADODB_mysqlt), true, 'I') #3 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/core/models/block_types.php(763): ADODB_Active_Record->Replace() #4 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/core/models/block_types.php(671): Concrete5_Model_BlockType->doInstallBlockType('guestbook', Object(BlockType), '/home8/peacefy7...', '16', '/home8/peacefy7...') #5 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/core/models/block_types.php(632): Concrete5_Model_BlockType->installBlockType('guestbook', '16') #6 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/helpers/concrete/upgrade/version_563.php(17): Concrete5_Model_BlockType->refresh() #7 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/core/controllers/single_pages/upgrade.php(272): ConcreteUpgradeVersion563Helper->run() #8 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/core/controllers/single_pages/upgrade.php(64): Concrete5_Controller_Upgrade->do_upgrade() #9 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/core/libraries/controller.php(267): Concrete5_Controller_Upgrade->view('tools', 'required', 'upgrade.php') #10 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/core/libraries/controller.php(237): Concrete5_Library_Controller->runTask(Array, Array) #11 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/core/libraries/view.php(787): Concrete5_Library_Controller->setupAndRun('view', Array) #12 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/tools/upgrade.php(6): Concrete5_Library_View->render() #13 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/startup/tools_upgrade_check.php(9): include('/home8/peacefy7...') #14 /home8/peacefy7/public_html/staging/updates/concrete5.6.3.2/concrete/dispatcher.php(105): require('/home8/peacefy7...') #15 /home8/peacefy7/public_html/staging/concrete/startup/updated_core_check.php(6): require('/home8/peacefy7...') #16 /home8/peacefy7/public_html/staging/concrete/dispatcher.php(20): require('/home8/peacefy7...') #17 /home8/peacefy7/public_html/staging/index.php(2): require('/home8/peacefy7...') #18 {main}

 
WebcentricLtd replied on at Permalink Reply
are you able to change your site.php in the /config directory to remove the pointer to the upgrade version?

Did you take a backup before upgrading?
gocabraless replied on at Permalink Reply
gocabraless
Hi; IMHO looks like a failed upgrade.
Edit the file in /config/site.php
- remove the directory directive
- remove at /updates all the files and directories
- and please, before execute and upgrade
"take a database and files backup"
let me know what happen,
Mnkras replied on at Permalink Best Answer Reply
Mnkras
There is currently a bug with 5.6.3.2, to work around this you can edit 1 file

in /updates/concrete5.6.3.2/concrete/core/libraries/model.php

delete everything and replace it with the following:

https://raw.githubusercontent.com/concrete5/concrete5/master/web/con...

Then run the upgrade tool at /index.php/tools/required/upgrade
cottersci replied on at Permalink Reply
+1 to Mnkras. That change saved me hours of troubleshooting this morning.

Thanks.
orisinal replied on at Permalink Reply
orisinal
Hi! Haven't tested this out yet, but I'm quite sure Mnkras got that right. Just a tiny correction... Mnkras linked directly to the master branch, so the content of the file can change at some point and it leads to new problems. Here is a link to the exact commit that Mnkras referenced:

https://raw.githubusercontent.com/concrete5/concrete5/7b2a4a8de5b845...