How to upgrade from Magento 1.9.4.5 to OpenMage today #4718
Replies: 3 comments 46 replies
-
Little to go on. Tell us more about your current setup. Do you maybe have a composer based setup? |
Beta Was this translation helpful? Give feedback.
-
Upgrading to the latest OpenMage version is not complicated, if you know what to do. The database can be exported as a dump, but the problem occurs in the file system. When I upgraded a store that I haven't worked on in a while, I compared the 1.9.2.4 version provided by Magento with the installed one. I deleted everything that was common from the installed version. I checked for any other custom changes in the core files. If the core files were modified in another directory (local, community), then I analyzed the changes with the current OpenMage files. As far as I'm concerned, there were a few more changes that needed to be maintained. After this cleanup I got a skeleton from which to start any OpenMage version. I recommend a test environment, DDEV is a fantastic tool and I created a tutorial to take the benefits. You can find it here #3839. In the test environment I imported the database, copied the skeleton file system, the OpenMage files from the latest version and started installing the dependencies with Composer. The story is here #4082. The problems that appeared were in the theme and extensions, but solvable due to error messages. In the Discussions section other people asked how to upgrade and received similar answers. It is not mandatory to upgrade from version to version, but jump directly to the latest version. I would forget about OMv19 because it has not been updated for some time and will enter EOL soon. |
Beta Was this translation helpful? Give feedback.
-
May be this can help. |
Beta Was this translation helpful? Give feedback.
-
I upgrade my Magento installation from 1.9.4.2 to 1.9.4.5. Now I want to upgrade to OpenMage.
I followed the migration guide without success.
I run:
git init
inside my Magento directory to initialize the repogit checkout -b migration
git remote -v
but it didn't show any origingit remote add upstream https://github.com/OpenMage/magento-lts.git
git remote -v
which showed just theupstream
repos (fetch and push)git fetch upstream
which seems to be completed successfully (it listed all new branches and tags)git rebase -X theirs upstream/main
it threw an error:fatal: Could not resolve HEAD to a revision
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions