Upgrade Magento to OpenMage #4606
Replies: 7 comments 3 replies
-
Hi Paul, the minimum php version is 7.4 at the moment, but i suggest to upgrade to 8.1. There is no migration needed. OpenMage as fork is a drop-in replacement for Magento 1. Make sure you have not modified any files in "app/code". You can compare your install to the correspondending version from https://github.com/OpenMage/magento-mirror Maybe use https://github.com/AOEpeople/mpmd/tree/master?tab=readme-ov-file#command-mpmdcorehacks For local tests i'd recommand ddev, see https://docs.openmage.org/developers/tools/ddev/. For the database problem please search https://magento.stackexchange.com. |
Beta Was this translation helpful? Give feedback.
-
Fist I suggest you a test environment. As a recommendation, you can use DDEV, I wrote an article about how to install it and it is pinned in the Discussions section. As for the database, there will be no issue. Instead, you will have to analyze the current 1.9.2.2 installation and see if you have custom changes, extensions. I did such a migration to OpenMage last year for a medium to large store and everything went unexpectedly well. The story is also in the Discussion section. All the core files modified locally were no longer needed because OpenMage covered those problems. There are a few left but they are specific to the installation. The rest of the files I deleted and installed copied the openmage file (I didn't overwrite them). I basically started from a skeleton and eliminated everything that was 1.9.2.2. DDEV allowed me to check the shopping cart with all PHP version from 7.4 to 8.4 and the number of issues I found were around 50, all solvable. In conclusion, for a person with average Linux administration knowledge, switching from Magento to OpenMage is not very complex. In addition, it does not consume time and money, such a migration to PHP 8.4 can allow the use of the store for about 5 more years from now. I am managing stores that are still on PHP 7.4 (Debian 11). |
Beta Was this translation helpful? Give feedback.
-
Hello Sven and others,
Thanks for your answer.
Op 06-02-2025 om 12:24 schreef Sven Reichel:
Make sure you have not modified any files in "app/code". You can compare
your install to the correspondending version from https://github.com/
OpenMage/magento-mirror <https://github.com/OpenMage/magento-mirror>
The directory /app/code/core looks not very different, but I have
version 1.9.2.2, and I can compare only with version 1.9.4.4.
This is what I see in the directory app/code/community:
'$.+[.+](.*)' Aurmil Cm Hackathon MultiSafepay Phoenix
So very different as in the mirror.
And I see an extra directory app/code/local/ with many stuff.
What is your opinion?
With regards,
Paul van der Vlis
…--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/
|
Beta Was this translation helpful? Give feedback.
-
Op 08-02-2025 om 23:14 schreef Sven Reichel:
Guess more installed extensions. :) Can you share screenshot or
directory-structure?
The directory structure of app/code/local is:
Anowave Aschroder Mage Mana Samuidavid
I have removed the name of one directory, it is the name of the Firm I
am doing this for. So maybe custom code.
With regards,
Paul.
…--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/
|
Beta Was this translation helpful? Give feedback.
-
Aschroder is a comman mail-extension, the others ... "ignore" for now. BUT Mage is a rewrite for core-files! This has to be checked, This sould be avoided and put into moules if needed. Maybe post files again? Or ... dont know if its okay, i can offer to help to migrate for some threats for my doggie. |
Beta Was this translation helpful? Give feedback.
-
Op 08-02-2025 om 23:37 schreef Sven Reichel:
Or ... dont know if its okay, i can offer to help to migrate for some
threats for my doggie. <https://github.com/sponsors/sreichel>
I don't know how to contact to you in private. Maybe you could contact
me? paul at vandervlis dot nl.
With regards,
Paul
…--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/
|
Beta Was this translation helpful? Give feedback.
-
I don't get contact with Sven, does somebody know why? Or is there somebody else who could help upgrading a site from Magento 1.x to Openmage? I can do the server-side stuff like PHP etc, but I don't know much about Magento/Openmage. The customer does not have much money, but it's a nice site. They don't use it as a webshop, more as a database with all the articles they have. But maybe it could become a webshop in the future. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I would like to upgrade Magento 1.9.2.2 to Openmage. First I thought I found a simple way to upgrade, but the information seems to be outdated.
I guess it's the best way to follow this manual: https://docs.openmage.org/users/install/use-composer/
First I have to change the PHP version from 7.1 to 8.1, when I am right.
Would it be better to use Openmage 19 and then upgrade tot 20? Or can I use 20 directly?
I don't see anything about a migration in the manual. Is this really simple? Do I need to find the database username/password?
The actual Magento site has often problems. I see then "Unable to connect to Plesk Database: Too many connections". Any tips about that?
I am a Linux sysadmin for over 20 years, but I don't have much experience with composer or with Magento/Openmage. Do you have any other tips?
With regards,
Paul van der Vlis
Beta Was this translation helpful? Give feedback.
All reactions