This question may be related to a resolved thread.
And resolved thread.
And resolved thread 211658.
Hi All,
I attempted an upgrade to 2.4 over the weekend and had it fail with the same multiple db errors seen in thread 211658 above.
I made multiple attempts to step through the install with manual db changes to exp_files, exp_file_watermarks and exp_ip2nation_countries tables. I’d get all changes ok in exp_files and exp_file_watermarks but exp_ip2nation_countries would then fail again.
Finally I reverted back to 2.3.1 and the original functioning database.
However when I reverted to 2.3.1 I checked on the ip2nations module, clicked on the “show module” link on “IP to Nation” text and then got the same errors I saw in the upgrade.
Can’t DROP ‘code’; check that column/key exists
ALTER TABLE `exp_ip2nation_countries` DROP KEY `code`
Filename: /var/clients/client4/web3/web/system/expressionengine/modules/ip_to_nation/upd.ip_to_nation.phpWhich leads me to believe that the upgrade _may_ have failed because the iptonation db tables were already corrupt. (possibly thru a previous upgrade?)
I then uninstalled and reinstalled the IP to Nation module and the module now works fine under 2.3.1 and the tables look ok in db.
I’m (understandably ) a little gun shy on redoing the update as it burnt hours of my time stepping through errors and the manual db changes.
If only i’d seen resolved thread 211658 before my adventure!
Which brings me to my question, what other steps should I take to ensure a seamless upgrade?
I note that Willem solved his update problem by - in part - deleting the IP to nation module & tables.
I’m not sure if I need to do this as well since the errors in 2.3.1 are gone.
I’ve turned off extensions. What other add-ons, modules and fieldtypes(?) should i turn off?
Given the errors encountered what else should I be watching for?
pls advise
thx!
//Andreas
tech deets
Plesk Linux server running Apache/2.2.3 (CentOS), PHP 5.1.6 and MySQL 5.0.45
MSM active (I have downloaded correct updates to this for 2.4 compatibility )
(And yes i did read the guide. 3 times at least.
And I also went through the troubleshooting guide on the wiki. )