cancel
Showing results for 
Search instead for 
Did you mean: 

How to Convert from Github clone to release version

How to Convert from Github clone to release version

Migrated from magento 1.9 to Magento 2.3.0, when I installed magento 2.3.0 I FTP a zip file to my server that was entitled magento2-2.3.0.zip not realising it was a github release. The correct file being Magento-CE-2.3.0-2018-11-27-10-23-08.zip on examination the first zip file is missing the update directory

 

As such I have spent the last month working with what I thought was a production release version..there is nothing to indicate that it is a development branch when you install it or when you work with it indeed it works fine until you want to upgrade it and you get this message:

"We're sorry, no components are available because you cloned the Magento 2 GitHub repository. You must manually update components as discussed in the Installation Guide."

The site is now deployed and it is taking orders....(even though the doco states that it cant well...it does and you cant tell its a github release)

 

I really do not want to reinstall it and start again as way way too much time has gone into customisations, importing data from the old magento instance as well as plug ins, themeing etc..not to mention its now live and new data being added every day.

Is there an easy way of going from a Github release that appears to be 2.3.0 to a release version. I found this

https://devdocs.magento.com/guides/v2.3/install-gde/install/cli/dev_downgrade.html

But it does not give any real clear directions that me as a hack can follow. its been hard enough to get this far!! and I have had to modify some core files just to make 2.3.0 run (problems fixed in 2.3.1 apparently...but i am sure there will be a bunch of new ones )

 

I can take a whole snapshot of the server as a backup. I was considering FTP the real version over writing the old one which should leave the plugins that I installed in tact..run install, point it at the existing database...then assuming it sort of works...go and make the changes I made previously to the core files...then upgrade to 2.3.1

 

If there is a better way please tell me.

 

Thanks in advance.

1 REPLY 1

Re: How to Convert from Github clone to release version

Hello @modspace 

 

There is two way you can install it magento

1) using git

2) using composer

 

if you are going to git then you need to do using git, don't do using download and install it.

 

so you can get update easily by git pull your_branch_name

 

hope you like my answer.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer