Magento Upgrade from 1.9.4.5 to Openmage 20.x

540 views Asked by At

I need to upgrade my Magento 1.9.4.5 site to Openmage 20.x

I followed the guides https://www.openmage.org/magento-lts/migration-guide.html for the migration or the guide in https://github.com/OpenMage/magento-lts to install it with composer but I'm not understanding what is the best / cleaner method to do this update.

I did this:

  • I downloaded the openmage 20.x zip and unzipped it in my Magento 1.9.4.5 root folder
  • I changed the php version to 8.0
  • I updated all the various functions of the plugins and of my custom theme that weren't compatible with php 8.0

So now my site work correctly with Openmage version 20.x and PHP 8.0

But now, I'm not sure if update flow, is correct.

For example, I've read here: https://github.com/OpenMage/magento-lts that Between Magento 1.9.4.5 and OpenMage 19.x there are some removed modules: Mage_Backup (#2811), Mage_Compiler, Mage_GoogleBase, Mage_PageCache (#2258), Mage_Xmlconnect, Phoenix_Moneybookers. but I still have these modules active in my installation because I have only overwritten the files and folders.

So i have two questions:

  1. Now i need to remove manually this modules?
  2. How i can understand if there are some others modules removed by Openmage 20.x?
1

There are 1 answers

1
kiatng On BEST ANSWER

OpenMage is actively maintained, the code base is constantly being updated for bugs, security, and PHP compatibility; for ver 20.x, new features.

Answer 1: as you have discovered, OpenMage works when you migrate by overwriting the existing code with ver20. There is no need to remove unused or deprecated modules. It is fine to keep the old modules. It is also fine to remove them, which you have to do manually. Take Mage_Backup as an example, the following files and folders can be removed:

  1. app\etc\modules\Mage_Backup
  2. app\code\core\Mage\Backup\
  3. app\locale\en_US\Mage_Backup.csv
  4. app\code\core\Mage\Adminhtml\Block\Backup\
  5. app\design\adminhtml\default\default\template\backup\
  6. lib\Mage\Backup.php
  7. lib\Mage\Backup\

For other modules, the tables in the database can be removed.

IMHO, I do not recommend removing the modules if you have no experience in developing OpenMage.

Answer 2: To know which modules are removed, read the doc here