BrianGilbert / OSXAegirInstaller

This script installs aegir on OSX using Homebrew
30 stars 10 forks source link

Errors when installed on clean El Capitan 10.11 #49

Closed webfed closed 8 years ago

webfed commented 8 years ago

Things go wrong when installing composer. Do you need more info?

https://gist.github.com/webfed/f0de69193619ffaac037#file-aegir-install-logfile-2015-10-log

BrianGilbert commented 8 years ago

It looks like the issue was caused because you have php56 installed..?

webfed commented 8 years ago

Yes, like the previous issue. That must be standard with 10.11 since the only thing I installed after the OS is Xcode. Maybe add uninstall to the script? I can test it on a clean install. First I will reinstall 10.11 and see what is installed.

BrianGilbert commented 8 years ago

it's erroring on 'php56' (which means it was installed via homebrew not just present in OS X)..

you can rerun the script to uninstall.

I'll add check at some stage.. but I have paid work tasks that are higher on my priority list atm.. your welcome to submit a pull request with fix

webfed commented 8 years ago

And after that rerun the script to install Aegir you mean?

BrianGilbert commented 8 years ago

yep, run once to install, run again to uninstall..

webfed commented 8 years ago

But then php56 will be installed again, it happened during install of Aegir. Shouldn't there be made a change in the script to prevent this happening?

BrianGilbert commented 8 years ago

Impossible for it to install php56, unless something in homebrew has added it as a dependancy (Looks like it may be a dependancy of composer installed via homebrew) .. if thats the case it may not be fixable very quickly.

webfed commented 8 years ago

That must be it. However it says version required is 5.3.2 https://getcomposer.org/doc/00-intro.md Strange

BrianGilbert commented 8 years ago

I looks like it php56 should only get installed if no other version is linked.. https://github.com/Homebrew/homebrew-php/blob/master/Requirements/php-meta-requirement.rb

webfed commented 8 years ago

So I should have the installer install at least 2 versions op php?

BrianGilbert commented 8 years ago

I think I see the issue.. give me a tic (tic = minute.. eg. ticking of arm on an analogue clock)

webfed commented 8 years ago

I am not a native english speaker, what does give me a tic mean :-)

BrianGilbert commented 8 years ago

You'll need to uninstall, then re-download the script before installing again..

I think it was possibly because drush master branch is for Drupal 8 now.. updated it to install 7.x

webfed commented 8 years ago

Thanks! Will try and report

webfed commented 8 years ago

Installing only one version of php fails, so uninstalled and reinstalled. It stopped at mysql configuration, I had to enter this to continue in another terminal window: aegir:~ gerard$ touch /tmp/mysql.sock aegir:~ gerard$ mysql.server start Starting MySQL . SUCCESS!

After that when starting with provision drush could not be found.

https://gist.github.com/webfed/04db005bc3332e7e68e7#file-aegir-install-logfile-2015-10-06-07-51-16-log

BrianGilbert commented 8 years ago

As is usually the cause with this script, the problem is upstream with homebrew.. Issue created their queue: https://github.com/Homebrew/homebrew-php/issues/2437

BrianGilbert commented 8 years ago

Confirmed as an issue with home-brew-php repo.

michaeljs1990 commented 8 years ago

I posted how to fix this in the issue you opened if you want to move forward and not wait for upstream to fix it @webfed

webfed commented 8 years ago

@michaeljs1990 thanks, much appreciated

BrianGilbert commented 8 years ago

@webfed The issue is now fixed upstream