Author Topic: Upgrade from VM 2.0.26d to latest  (Read 1008 times)

hk

  • Jr. Member
  • **
  • Posts: 124
Upgrade from VM 2.0.26d to latest
« 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.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27605
  • Always on vacation
    • Jenkin Hill Internet
Re: Upgrade from VM 2.0.26d to latest
« Reply #1 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
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9245
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Upgrade from VM 2.0.26d to latest
« Reply #2 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 ..
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

hk

  • Jr. Member
  • **
  • Posts: 124
Re: Upgrade from VM 2.0.26d to latest
« Reply #3 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.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27605
  • Always on vacation
    • Jenkin Hill Internet
Re: Upgrade from VM 2.0.26d to latest
« Reply #4 on: January 04, 2019, 16:28:53 pm »
The table structure is very different. Far easier and quicker to use a migrator.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33

hk

  • Jr. Member
  • **
  • Posts: 124
Re: Upgrade from VM 2.0.26d to latest
« Reply #5 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?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9245
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Upgrade from VM 2.0.26d to latest
« Reply #6 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

GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation