VirtueMart Forum

VirtueMart 2 + 3 => Installation, Migration & Upgrade => Topic started by: hk on January 01, 2019, 15:15:03 pm

Title: Upgrade from VM 2.0.26d to latest
Post by: hk on January 01, 2019, 15:15:03 pm
Hi,

I'm running my site with Joomla 2.5.20 and Virtuemart 2.0.26d, I want to upgrade to latest version of Joomla and Virtuemart.
Can you let me know what should be upgraded first, Joomla or Virtuemart?
Also, let me know if we can upgrade VM directly, I need to retain the settings/products/media/orders/users etc..

Thanks.
Title: Re: Upgrade from VM 2.0.26d to latest
Post by: jenkinhill on January 01, 2019, 15:46:41 pm
Easiest way to update sites is to use this migrator:  https://extensions.virtuemart.net/back-office/import-export/virtuemart-migrator-detail

To do it manually I would update Joomla first to 2.5.28 then VM to 3.2 followed by Joomla to 3.5.1 and then to latest, followed by updating VM to latest. Then sort out template and other extension updates followed by fixing issues that have arisen.
Info on Joomla updating is on https://docs.joomla.org/Joomla_2.5_to_3.x_Step_by_Step_Migration
Title: Re: Upgrade from VM 2.0.26d to latest
Post by: GJC Web Design on January 01, 2019, 20:22:24 pm
Agree with Jenks ... to be honest I normally see more problems with J2.5->J3 than with VM updates
Once u get J2.5 to some flavour of J3 then the J auto updater works in the correct sequence 3.51->then onwards
I always use the manual installs or if this is always failing just unzip the manual joomla full installer in the root , delete the installation folder and run the DB updater (Joomla) and discover/install.
Disable everything non VM or core joomla before hand.

One thing that can go badly wrong IMHO is if there are updater sql files in
\administrator\components\com_admin\sql\updates\mysql\ for less than J2.5  - if it has been a J1.6/1.7 before there will be sql files for these there and I have seen them cause problems.
Just delete them.

maybe also  Virtuemart 2.0.26d->  http://dev.virtuemart.net/attachments/download/981/com_virtuemart.2.6.22.zip then VM3.2

But take proper backups .. experiment ..
Title: Re: Upgrade from VM 2.0.26d to latest
Post by: hk on January 04, 2019, 16:04:57 pm
Thanks for the tips!

I am thinking to start a fresh site with installation of latest version of Joomla, followed by latest Virtuemart and then copy VM data from previous site.

Not sure if VM table structure of 2.0.26d and latest version remains same, else the data load might mess up.
Title: Re: Upgrade from VM 2.0.26d to latest
Post by: jenkinhill on January 04, 2019, 16:28:53 pm
The table structure is very different. Far easier and quicker to use a migrator.
Title: Re: Upgrade from VM 2.0.26d to latest
Post by: hk on January 05, 2019, 15:29:14 pm
The Joomla and Virtuemart are available for Free, but not sure about the migrator. Is there any free migrator tool available?
Title: Re: Upgrade from VM 2.0.26d to latest
Post by: GJC Web Design on January 05, 2019, 16:38:40 pm
It isn't necessary .. just do the normal upgrade as described

copy the 2.0.26d site ...  run the VM upgrade .. u then have a set of valid VM3 tables to transfer to the new build even if the upgrade goes badly