I reinstalled Aegir 3.4 on Xenial on the weekend and to my suprise PHP5 has been dropped and PHP7 is now standard on Ubuntu 16.04
I managed to get Aegir 3.4 installed using a slightly modified Ansible role from Valkyrie
D7 & D8 platforms both verify OK
D7 core installs OK
D7 Aegir UI (Hostmaster) Flush Cache fails
Bootstrap to phase 0.
Bootstrap to phase 0.
Found command: provision-flush_cache (commandfile=provision_tasks_extra)
Unknown option: --profile. See `drush help provision-flush_cache` for available options. To suppress this error, add the option --strict=0.
D8 core install fails with
Undefined index: db_prefix install_8.inc:105
Undefined variable: config install_8.inc:112
Undefined variable: config install_8.inc:113
1 s.
DRUPAL_INSTALL_FAILED
I am planning on working through any issues, the sites run 2-3 times faster, for site building, that means a lot less click wait click, I am going to stick with it unless other big errors arise
my feeling with the D8 install issue is its minor
some relevant issues
D8 Site install fails on undefined indexes
https://www.drupal.org/node/2311005
[META] Support PHP 7
https://www.drupal.org/node/2454439
I tried to see if there where glaring PHP7 syntax changes
http://php.net/manual/en/migration70.incompatible.php
I see this comment from geerlingguy
https://www.drupal.org/node/2454439#comment-10071710
Comment | File | Size | Author |
---|---|---|---|
#10 | aegir-php7b.jpg | 1.45 MB | omega8cc |
#10 | aegir-php7a.jpg | 1.31 MB | omega8cc |
Comments
Comment #2
niccolox CreditAttribution: niccolox commentedComment #3
niccolox CreditAttribution: niccolox commentedComment #4
niccolox CreditAttribution: niccolox commentedthe Drupal 8 sites do actually seem to be created, including the drushrc.php
maybe its a false positive?
Comment #5
colanBackground info on the switch to PHP7 only can be found over at Update to php 7.0.
Would you be able to split everything you're seeing into child issues here so we can easily track? Xenial will be out in 8 days. I'll help here too once I get my hands on a VM with it.
Comment #6
niccolox CreditAttribution: niccolox commentedyes, I'll split them out, was just about to link to that core issue https://www.drupal.org/node/2454439 :>
also, on Xenial, I was going to run Drush 9-dev and Provision 3.4
https://www.drupal.org/node/2701145
for testing this I was looking at updating Valkyrie to Xenial, its mostly there, just some changes to php apt and the mysql role doesnt quite work
Comment #7
colanJust added:
Comment #8
colanI'm assuming we should wait for all of the issues over at #2656548: Fully support PHP 7.0 in Drupal 7 to get into a stable core release? It's probably okay to unpostpone if doing work on this anyway. niccolox? Maybe it's better to spin off child issues for things that we're actually working on, and keep this one postponed.
I'm assuming this is 3.x, but maybe it should be 4.x? Really depends on the release plan.
Comment #9
ergonlogicAssuming we don't need to break any APIs to support PHP 7, then 3.x should be fine.
Comment #10
omega8cc CreditAttribution: omega8cc commentedGood news! Everything works just fine in the frontend with recent patch applied to Drupal core: https://www.drupal.org/node/2656548#comment-11148293
Less good news: Provision needs some fixes to make it PHP 7 compatible (I will open separate issue to report details)
Now it is very useful that BOA allows you to run different PHP versions for PHP-FPM and PHP-CLI, so we can test frontend and backend separately.
Comment #11
niccolox CreditAttribution: niccolox commentedam testing Xenial Php7 and Ubuntu 16 with this role
https://github.com/niccolox/ansible-role-aegir
platforms and sites install fine
registry rebuild and cache clear via hostmaster fail
https://www.drupal.org/node/2726425#comment-11402495
Comment #12
colanJust added #2769587: Nginx: PHP FPM fails to detect socket mode on PHP 7 and one for Aegir HTTS (which won't show on the right as project is only on GitLab): Stop assuming PHP is always at version 5
Comment #13
colanI've been running PHP 7 exclusively for a while now, and haven't run into any new issues. Please reopen if I'm missing anything.
Comment #15
niccolox CreditAttribution: niccolox commentedhi Colan
what method of installation are you using?
I just tried the debian packages on an LXC / LXD container on Xenial and got these errors
Comment #16
colanI haven't run into that myself (using PHP 7 so I'm assuming unrelated), but it looks like #2792723: Install fails on enabling hosting-queued daemon vanilla 16.04 LTS Server.