Does this have do with Drupal 8 settings.php settings not allowing for a $db_url ?
db/Provision/Service/db/pdo.php
- has no $creds['pass'] available Undefined index: pass
This seems not to be fatal while it should IMHO
Checking for setters show we use urldecode.
~/.drush/provision$ grep -ri '\->creds =' .
./db/Provision/Service/db.php: $this->creds = array_map('urldecode', parse_url($this->server->master_db));
platform/drupal/install_8.inc
- has no $db_spec['db_prefix'] = $GLOBALS['db_prefix']; <Undefined index: db_prefix install_8.inc:12x
- now and then error: if ($db_spec['driver'] == 'mysqli') { <Undefined index: driver install_8.inc:12x
Array
(
[driver] => mysql
[database] => drupal8dummyclem
[username] => drupal8dummyclem
[password] => MD8D54LHGs
[host] => localhost
[port] => 3306
[prefix] => Array
(
[default] =>
)
)
provision_drushrc_site.tpl.php
This file may need changes for Drupal 8
./Provision/Config/Drushrc/provision_drushrc_site.tpl.php
provision_drupal_settings.tpl.php
This file needs changing and/or splitting out into version specific templates.
Run failing task manually
Fill in the correct number for failing task (230 below)
drush @hostmaster hosting-task --force --debug --verbose 230
Comment | File | Size | Author |
---|---|---|---|
#10 | d8_install-2311005-10.patch | 9.31 KB | Deciphered |
#9 | d8_install-2311005-9.patch | 9.39 KB | Deciphered |
#7 | d8_install-2311005-7.patch | 8.16 KB | Deciphered |
#4 | d8_install-2311005-4.patch | 692 bytes | Deciphered |
#1 | d8_site_install_fails-2311005-1.patch | 659 bytes | clemens.tolboom |
Comments
Comment #1
clemens.tolboomAttached patch makes the call to get the current config Drush 7 specific as Drupal 8 requires.
Comment #2
helmo CreditAttribution: helmo commentedComment #3
Deciphered CreditAttribution: Deciphered commentedComment #4
Deciphered CreditAttribution: Deciphered commentedUpdated version of patch from #1, keeps the legacy methods (for old versions of drush) and ensures the file containing the function is included.
Additional changes related to this install are coming.
Comment #5
helmo CreditAttribution: helmo commentedI doubt that Drush 6 will support Drupal 8 ;)
Comment #6
Deciphered CreditAttribution: Deciphered commented@helmo, The legacy support isn't so Drush 6 can support Drupal 8, it's so if someone running Drush 6 can still create Drupal 7 sites if using the latest version of Provision. But it maybe that that isn't something we need to deal with.
Comment #7
Deciphered CreditAttribution: Deciphered commentedBrainfart, only for D8.
Updated with that as well as a few other to get a working site, now time to clean it up.
Comment #8
helmo CreditAttribution: helmo commentedfirst install attempt via the ui failed... sites/default/settings.php ...
run via drush and it worked.. site install task green.
Now when i visit the new site I get "If you have just changed code (for example deployed a new module or moved an existing one".
With "PHP Fatal error: Call to a member function get() on a non-object in /var/aegir/platforms/drupal-8/core/lib/Drupal.php on line 632" in the apache logs.
Comment #9
Deciphered CreditAttribution: Deciphered commentedUpdated patch with proper generation of hash salt.
Not certain if that other issue is directly related, digging.
Comment #10
Deciphered CreditAttribution: Deciphered commentedLeft a debug function in there. OOps.
Comment #13
helmo CreditAttribution: helmo commentedhas been committed a while ago