-
-
Notifications
You must be signed in to change notification settings - Fork 645
Break all the things! #609
Comments
I'm running through all the different addons to see what I can get working easily, what is partially-broken, and what just plain won't install. Surprisingly, 16.04 includes a working Memcached PHP extension! |
And php-redis. Nice! http://packages.ubuntu.com/xenial/php/php-redis |
Xdebug works with no changes required. |
Working on XHProf here: geerlingguy/ansible-role-php-xhprof#14 |
Have you already made changes re the PHP role then? I have been building fine and suddenly today I get this: ==> dpsubsvm: TASK [geerlingguy.php : Ensure PHP packages are installed.] ******************** Running under Windows 8.1 (yes Windows!), latest version of DrupalVM, latest version of Vagrant and VirtualBox (although I don't think it is anything to do with Vagrant or VB) Problem is, it breaks everything downstream, including my own post provisioning playbook! I took a look at the geerlingguy.php role and I can see see recent changes, but not proficient enough to work out what I can change to get it to run through (without removing the check) not sure what effect that would have further on. |
Sorry running under PHP5.6 as prod site uses that for the moment. |
To get back the previous versions of the roles you need the last few commits to Drupal VM. So either update drupal vm or just apply these two particular changes if you're in a hurry:
Once you've done that it should work as before for you. And from now on these types of problems will never happen again thanks to those two commits :) |
Mmmm - thanks for that. I am on Windows and therefore the provisioning is being done 'In VM'. I'll update and take a look! |
I just realized! Sorry for my hasty response. I edited my previous comment with a third commit which you need. Probably easiest just to update Drupal VM to the current master and everything should work. With those 3 commits the following things will happen:
|
Many thanks - I can confirm all is good. I was a too complacent anyway - I should have kept more of an eye on this from a config management point of view as it affects the team (of 3 of us). Trouble is there are multiple dependencies - the DrupalVM repo, the role repos and also, the Box itself updates. It is a huge time saver though, so the efforts are much appreciated! It has made our lives much easier as we were managing individual build envs before. Nightmare My longer term aim is to get this all working natively for HyperV for us Windies, rather than use VirtualBox - now there is a challenge... Thanks again guys |
Glad you solved it! Good news it that from now on all versions are locked in. So unless you upgrade Drupal VM things shouldn't break. And once you do upgrade, you will receive the roles locked to that particular Drupal VM version. |
That is good news indeed. You realise just how important these dev envs are when they break. I'll let you know how I get on with HyperV in the future :-) |
This is interesting... please let me know if there's anything I can do to help you work towards this goal, or if you find anything that can make Drupal VM potentially work inside HyperV more easily. |
Will do. I think there are quite a few people that just use Virtual Box because of the effort, but I think it is worth a go. I'll let you know for sure. Thanks for a great project - it works really well for us and I suspect many others as well. |
I get the following error after fetched the latest commits: I'm running Drupal VM on my mac. Note: I'm still running php 5.6. Thank you in advance for your help. |
For redis in 5.6, you need to install |
Thank you for your quick reply. I've also added "php_redis_install_from_source == false" (to meet the condition in #32 here)....not sure this is needed. Attaching the config.yaml file in case it helps. Thank you P.S: the error I get is the following _TASK [geerlingguy.php-redis : Install PhpRedis extension (Debian).] ************ NO MORE HOSTS LEFT ************************************************************* PLAY RECAP ********************************************************************* Ansible failed to complete successfully. Any error output should be UPDATE |
Here are some things I'm going to do now that I'm committing to dropping some cruft and updating all the things—especially since 2.5.1 locks in role dependencies at specific versions:
The text was updated successfully, but these errors were encountered: