2

I am trying to upgrade Magento version 1.4.1 to 1.9 with the stranded process.

1) Clean all your log tables. This will increase the speed of your upgrade

2) Get current database dump of your website.

3) Setup a local environment and restore you CE-1.4 database to a newly created database

4) Create you local.xml on your new CE 1.9 environment.

5) Start the upgrade process by either opening your site in your browser

but I am getting foreign key constraint error in customer and catalog tables during the database upgrade.

Can anyone help me to fix this issue? or any other best way to upgrade the magento version?

3
  • Is this a programming-related question? Sep 5, 2015 at 0:39
  • Can i get any resources for an upgrade from Magento 1.9 to Magento 2.3, thanks @Lalit Kaushik
    – Gem
    Aug 9, 2019 at 7:50
  • sure, please contact here Aug 10, 2019 at 8:05

2 Answers 2

2

I believe the problem is that making such a large leap in versions is not possible in one upgrade.

The answer here has info relevant to upgrading from 1.4.1.1: How to upgrade magento 1.4 1.1 to 1.7.0.2

Specifically:

Database structure has major changes from 1.4.1.1 to 1.4.2 so you need to upgrade first to 1.4.2 then you can upgrade to 1.7.0.2 directly.

I think your best option is to upgrade in smaller steps until you get where you want to be. The last such upgrade I did included the following steps:

  1. 1.3.2.4
  2. 1.4.2.0
  3. 1.7.2.0
  4. 1.8.1.0

1.8 was the goal, but I had to get to 1.4.2.0 and then 1.7.2.0 before I could proceed.

My git log also shows that some additional code patches were required after upgrading to 1.4.2.0. You could probably find more detailed answers if you search for info on upgrading to that specific version.

0

Great solution provided by BonnevillSlim. Thanks!

I have followed the these steps 1.4.1 > 1.4.2 > 1.6.2 > 1.9.2 .

During the up-gradation I have got an error QLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '0-98' for key 'UNQ_BY_CUSTOMER' .

To resolve this error I have follow this post link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.