TheDMSGroup / mautic-eb

Mautic + Elastic Beanstalk = Scalable marketing automation
https://www.mautic.org
GNU General Public License v3.0
104 stars 27 forks source link

Upgrade to 2.16 #113

Open deggertsen opened 4 years ago

deggertsen commented 4 years ago

What type of report is this: Enhancement

Description:

I'm running into many of the bugs and issues reports in 2.15 that are now supposedly fixed in 2.16. I'd like to make this upgrade asap and am not exactly sure where to start.

Log errors:

Here are some of the errors I'm running into on 2.15 that are fixed by the referenced issues: https://github.com/mautic/mautic/issues/7106 https://github.com/mautic/mautic/issues/3655 https://github.com/mautic/mautic/issues/7756

heathdutton commented 4 years ago

You could use patches (like we did) or run ./scripts/build-upgrade.sh and specify the github hash of the version you wish to upgrade to (this is intended for local use, prior to commit and deployment). Note, you may want to edit that script before running, if you aren't using composer.custom.dev for example, then remove lines 20-23.

In general reading that script should point you in the right direction to upgrade your mautic core.

deggertsen commented 4 years ago

Alright, that's helpful. Thank you! Can you help me know where I would find the github hash though? I think I can figure out everything else.

deggertsen commented 4 years ago

Nevermind. It looks like the most recent SHA or hash is f0a17c80062aaee50d12e8f4097f7aa6a3d6c390

Now I'm just running into a composer running out of memory error. I'll figure it out though...

deggertsen commented 4 years ago

Still haven't been able to get the upgrade to work. I keep running into error after error. Things like:

Script @php ./mautic/app/console mautic:iplookup:download handling the iplookup event returned with error code 255 Script @iplookup was called via post-install-cmd

ERROR: CommandError - An error occurred while handling git command. Error code: 128 Error: fatal: No url found for submodule path 'vendor/willdurand/oauth-server-bundle' in .gitmodules

There are others, but they all seem to be similar. When I fix one it seems to spawn another. Is there a best way to just fix this all in general?