Forum archive
[Solved] Upgrading Magento (how to?)
Main Solution is numbered in the last set of replies. What follows is the process of getting there.
I have been trying to move Magento build to 1.5.1 from 1.4.2.
http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/u...
Tips for a successful upgrade; Definitely dumping some stuff here. Not sure where it is really going right now.
Backup your database
- In Magento go to Admin, System → Tools → Backups
(redundant -skipped because #2 above and TKLBAM)- You can use PHPMyAdmin (but this may fail due to time-limits on php scripts)
- (skipped) You can export in SSH by typing...
- (skipped) mysqldump -u USER -p DBNAME > dump.sql
- (skipped) Reimport using mysql -u USER -p DBNAME < dump.sql
Backup all the code you modified yourself, and don’t forget to keep the original installation archive (TKLBAM)
Take care of saving the media directory that contains all the uploaded product/category images (TKLBAM)
Create a backup copy of app/etc/local.xml file (DID THIS!)
Download a new installation archive or run SVN update if you checked it out from the Magento repository
First added Subversion in order to gt a Download -
Used: apt-get install subversion
then ran the following:
svn checkout http://svn.magentocommerce.com/source/branches/1.5Everything dropped into a new folder 1.5 in my Magento Folder.
Extract and upload all the files it contains to your server
I did this by moveing everything from /magento/1.5 Folder straight into /magento folder.
Delete var/cache and var/session directories
Point your browser to any Magento page
Database upgrades should happen automatically
You are done!
NO CHANGES SEEM TO HAVE OCCURRED. I am still seeing 1.42 in the Page Footers. Everything opens. Only in Magento Connect does it seem that I have 1.5 extentions installed. Tried Using Magento Connect to Upgrade full system earlier, but no luck. ..
"Release Notes in Magento Folder indicate all the files did move.
==== 1.5.0.1 =====
=== Major Highlights ===
How to get the Upgrade to "Take"... I would imaging there needs to be a script be run to implement database cahnges (see #10 above).
Thanks in advance for any help.
L. Arnold
Just downloaded the full 1.5.1 Tarball.
Installed new TKL Magento 11.1 build.
Before running anything I dropped the Tarball onto the Magento folder then expanded.
TKL FileManager warned that this might overwrite some files.
Now when I run Magento, it is still indicating version 1.42 in the Footer. I don't believe this is TKL's footer, but rather the standard Magento Footer.
How to accomplish an upgrade?