After migration from Magento 1.9.2.3 to Magento 2.3.4 most of the files missing from vendor/magento.
But all the files located under app/code/Magento
Is this safe, shall i run my Magento 2.3.4 in this situation?
What about my future version upgrade?
Hello,
I will suggest you try the below steps:
1. Rename vendor folder like rename it to vendor_old
2. Replace composer.json with your desired Magento version composer.json in the root.
3. Also, run the composer update command
i want to develop my eCommerce website. can i develop on magento. kindly check meracoaching
you have migrated to Magento 2 GIT Version
GIT version has Magento files inside app/code folder
it's not recommended for production, GIT version installation is recommended for development and contributions.
you can update to composer installation with :
Step1. backup your app/code/env.php
Step2. install Magento via the following methods
Step3. Replace your current app/code/env.php with the backup and
Step4. Update the URLs in core_config_data ( if required )
@amitsamsukha Last 5 months my website running like this, there is no issue, where will i get an issue in the future? Version upgrade no issue right?
Hello @Aveeva
The GIT version Magento is used for Contributors who contribute core fixes so they can push their fix in app/code.
Here is the difference :
https://devdocs.magento.com/mftf/docs/guides/git-vs-composer-install.html
Hope it helps !
@gaurav_harsh1 No issue used this right? What about the version upgrade?
@Aveeva ,
for version upgrade you need to set up 2 GIT origins
1. origin to your git
2. upstream to https://github.com/magento/magento2.git
to upgrade you need to follow these steps :
git checkout development
-> checkout to your development branch
git fetch upstream
-> fetch all branches upstream Magento git repo
git merge upstream/2.4 --ff-only
-> this will merge 2.4 branch from magento repo to your development branch if there are no conflicts
than you can review and merge to your master branch