News:

Support the VirtueMart project and become a member

Main Menu

Upgrade from VM 2.0.26d to latest

Started by hk, January 01, 2019, 15:15:03 PM

Previous topic - Next topic

hk

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.

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

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 ..
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

hk

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.

jenkinhill

The table structure is very different. Far easier and quicker to use a migrator.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

hk

The Joomla and Virtuemart are available for Free, but not sure about the migrator. Is there any free migrator tool available?

GJC Web Design

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

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation