magento - clean installation with products, customers and orders from old installation - magento

i have magento 1.6.2 running on a dedicated server (ubuntu 10.04 lts)
I have tried various ways to upgrade magento to 1.7.0.2, but with no success.
Now i am thinking of installing a fresh magento 1.7.0.2 and rebuilding the shop.
This way i don't have the litter anymore of old deleted extensions.
But i want all my current data like products, orders, customers, mailinglist etc. imported in my new fresh installation.
How can i do this? Or isn't this a good idea?
I hope someone can help me ...

Try the Magento database repair tool:
http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/db-repair-tool
I would install over what you have got after removing tables/keys that don't need to be there. The above tool will enable you to identify what is to be deleted. It will also give you confidence in your db build.

Not upgrading to latest version rather having a free install is doesn't seem to be a good idea because you can import all the products & Customers but there is no direct way to import the orders and other information on the fresh Installation.
I would personally suggest that you should once more try to upgrade to the latest version as I have upgraded several projects from Magento ver 1.6.2 to the latest and no such big issue occurred while upgrading.
Basic things you just need to keep in mind like keeping the back-up before upgrade and all..
Use the latest connect20 key for the upgrade i.e.
http://connect20.magentocommerce.com/community/Mage_All_Latest
Hope this helps or you can tell the errors that you are facing during the upgrade.

I have found it ...
A new installation will work in the following way ...
copy your db-base
copy your media folder to a new folder
than copy the fresh files downloaded from magento OS commerce to the server
install magento and fill in your db base credentials from point 1 ...
now you have a fresh installation, but with all your data (orders, customers, products, newsletters etc.)

Related

Best way to upgrade Magento from 1.4.1 to 1.9

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?
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.3.2.4
1.4.2.0
1.7.2.0
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.
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

How to upgrade magento 1.8.0.1 to magento 1.9.0.1 version

I want to upgrade my magento v1.8 to magento v1.9.I put backup of my files and database. then install a new magento v1.9 and replaced my 1.8 data to 1.9 as well as database tables also. But it is showing error and site is not at all opening and database tables are also not upgrading as well.
I am facing a lot of problems to upgrade magento 1.8 to 1.9. I checked all stuffs but didn't find any clue for upgrading 1.8 to 1.9.
If anyone knows this,please help me out.
Thanks!
I had a similar problem on running from a backup.. Did you drop all data from the tables before you run the restore?... If not it can cause a similar problem ?
There might also be database structure differences?.. between the 2 versions.. That would be extra mean by Magento tho.

Magento upgrade from 1.5 to 1.7

I am upgrading magento version 1.5 store to magento version 1.7. Current store has more than 1000 products, more than 100 categories, more than 20 attribute sets, more than 500 customers,more than 500 orders and Database size is more than 600MB.
Above details are mentioned in order to have the idea of store size. Furthermore, I am trying it on local machine with wamp server installed.
Here are the steps involved to upgrade:
Export Current Database (Imported it in gzipped format with option "Disable foreign key checks" checked). As I was unable to export it in normal sql formate due to large size of database.
Created new database and imported the Database exported.
Downloaded fresh 1.7 stable version from magentocommerce.com
Tried to install this fresh magento 1.7 in newly created Database, in which exported database was recently imported.
Next steps were to install theme, copy extensions and copy media folders.
But when I tried to install magento 1.7, it always give me this error :
"This webpage has a redirect loop
The webpage at http://localhost/magento17/index.php/install/ has resulted in too many redirects. "
Here is the link to which I was following:
Link I followed
Note that my main focus is upgrading from 1.5 to 1.7, so much focus must be on that rather then resolving this issue if it is not the right way to do.
And If there is any better and proven way to upgrade to 1.7 from 1.5, kindly share it.
If you want to upgrade you dont need to install and move DB and theme.
Refer this link.
http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/upgrading_magento
Note: If you followed best practices in Magento and didn't modify core code then upgrade should run smoothly.
Expected issues are that your Local and Community folder modules might need some fixes.

Should I upgrade Magento before changing the theme?

I have a Magento store running on 1.3.2.4 and the client wants to give the site a facelift. Would it be better to stay with the current version and just modify the current version or should I migrate to a newer version?
Additionally, is it possible to backup the existing store on ver. 1.3.2.4 and just do a fresh install of a newer version and restore?
Upgrading from 1.3.x to 1.6.x will not be as straight forward as you may think.
My suggestion is to setup a copy of your existing site, and attempt the upgrade BEFORE a redesign. Unless your client is okay with staying with the same version of Magento.
You can also create a copy of the database and upload the latest version of Magento, you'll then need to copy over your app/etc/local.xml file from your installation and modify it to use your duplicate database.
More reading:
http://www.nicksays.co.uk/2010/03/fool-proof-magento-upgrades/
http://magentoexpert.com/upgrading-magento-from-1-3-2-4-to-1-5-or-1-6/
http://www.magentocommerce.com/boards/viewthread/263068/#t355374
Would it be better to stay with the current version and just modify the current version or should I migrate to a newer version?
Modify the current version unless your client can pay you to perform the upgrade.
Additionally, is it possible to backup the existing store on ver. 1.3.2.4 and just do a fresh install of a newer version and restore?
Of course.
A bunch of stuff changed in 1.4 with regards to the layout/design system. We had to change several things to get the update right so I'd suggest you upgrade first.

Upgrading Magento from 1.1.8 to 1.5 stable

Am looking to upgrade Mangeto from version 1.1.8 to version 1.5.
This is a quite a leap I am taking I know, but and I have tried the following already (as some one else had suggested on another site):
dump v1.1.8 database, restore it in a new database.
install magento 1.5 pointing on the restored v1.1.8 database
let the upgrader run
add the old theme files
test that it all works.
When doing that, the upgrader kept saying some tables already existed.
Can anyone help me out?
Thanks
It's fine now, basically make sure you're using the same server environment.

Resources