-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running blt local:setup fails #635
Comments
Please share:
|
Thanks @grasmash - I've included this information below. name : acquia/blt
descrip. : BLT
keywords : automation, deployment, drupal, template, testing
versions : * 8.5.1
type : composer-plugin
license : GNU General Public License v2.0 only (GPL-2.0) (OSI approved) https://spdx.org/licenses/GPL-2.0.html#licenseText
source : [git] https://github.com/acquia/blt.git d9caf298fd6288db811f8a149696e114396884e5
dist : [zip] https://api.github.com/repos/acquia/blt/zipball/d9caf298fd6288db811f8a149696e114396884e5 d9caf298fd6288db811f8a149696e114396884e5
names : acquia/blt
autoload
psr-4
Acquia\Blt\ => src/
Acquia\Blt\Tests\ => tests/phpunit/src/
requires
composer-plugin-api ^1.0.0
composer/installers ^1.2.0
dflydev/dot-access-data ^1.0
drupal/coder ^8.2.8
drupal/console 1.0.0-beta5
phing/phing ^2.15.0
php >=5.6
phpunit/phpunit ^5.5.4
squizlabs/php_codesniffer ^2.7
symfony/console ^2.8.11
symfony/twig-bridge ^2.8.11
symfony/yaml ^2.8.11
suggests
hirak/prestissimo ^0.3
conflicts
drupal/core 7.* rlg-mbp:gryzyngercom robertgryzynger$ blt local:setup -verbose
Buildfile: /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing/build.xml
Override ignored for user property phing.file
Override ignored for user property phing.dir
Overriding previous definition of reference to phing.file
parsing buildfile build.xml
Project base dir set to: /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing
Property ${phing.dir} => /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing
[includepath] Prepending new include_path components: /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing
[taskdef] Task behat will be handled by class phingcludes.BehatTask
[taskdef] Task drush will be handled by class phingcludes.DrushTask
[taskdef] Task randomstring will be handled by class phingcludes.RandomStringTask
[taskdef] Task disabletargets will be handled by class phingcludes.DisableTargetsTask
[taskdef] Task filterFileListByFileSet will be handled by class phingcludes.FilterFileListByFileSetTask
[taskdef] Task verbosityTask will be handled by class phingcludes.VerbosityTask
[taskdef] Task phpVariable will be handled by class phingcludes.PhpVariableTask
[Available] Unable to load extension xdebug to set property xdebug.enabled
[php] Evaluating PHP expression: ini_set('memory_limit', '1G');
Property ${phing.dir} => /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing
[import] Importing file from /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing/tasks/properties.xml
parsing buildfile properties.xml
Property ${phing.dir} => /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing
Property ${repo.root.relative} => /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing/../../../..
[resolvepath] Resolved /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing/../../../.. to /Users/robertgryzynger/Sites/gryzyngercom
Property ${phing.dir} => /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing
Property ${blt.root.relative} => /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing/..
[resolvepath] Resolved /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing/.. to /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt
Property ${phing.dir} => /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing
[property] Loading /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing/build.yml
Property ${drush.alias} has not been set.
Property ${drush.alias} has not been set.
Property ${drush.alias} has not been set.
Property ${drush.alias} has not been set.
Property ${drush.alias} has not been set.
Property ${project.local.protocol} has not been set.
Property ${project.local.hostname} has not been set.
Property ${project.local.protocol} has not been set.
Property ${project.local.hostname} has not been set.
Property ${project.local.protocol} has not been set.
Property ${project.local.hostname} has not been set.
Property ${project.local.protocol} has not been set.
Property ${project.local.hostname} has not been set.
Property ${project.local.protocol} has not been set.
Property ${project.local.hostname} has not been set.
Property ${repo.root} => /Users/robertgryzynger/Sites/gryzyngercom
[property] Loading /Users/robertgryzynger/Sites/gryzyngercom/project.yml
Property ${repo.root} => /Users/robertgryzynger/Sites/gryzyngercom
Property ${repo.root} => /Users/robertgryzynger/Sites/gryzyngercom
[property] Loading /Users/robertgryzynger/Sites/gryzyngercom/project.local.yml
Overriding previous definition of property drush.default_alias
Overriding previous definition of reference to drush.default_alias
Overriding previous definition of property drush.aliases.local
Overriding previous definition of reference to drush.aliases.local
Property ${blt.level} => info
blt > local:setup:
blt > setup:git-hooks:
[echo] Removing /Users/robertgryzynger/Sites/gryzyngercom/.git/hooks, if it exists.
[delete] Deleting: /Users/robertgryzynger/Sites/gryzyngercom/.git/hooks
[echo] Symlinking /Users/robertgryzynger/Sites/gryzyngercom/scripts/git-hooks to /Users/robertgryzynger/Sites/gryzyngercom/.git/hooks.
hooks -> ../vendor/acquia/blt/scripts/git-hooks
[echo] Making git hooks executable.
[chmod] Changed file mode on '/Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/scripts/git-hooks/commit-msg' to 755
[chmod] Changed file mode on '/Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/scripts/git-hooks/pre-commit' to 755
[chmod] Changed file mode on '/Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/scripts/git-hooks/' to 755
blt > setup:drupal:settings:
[echo] Making /Users/robertgryzynger/Sites/gryzyngercom/docroot/sites/default writable.
[chmod] Changed file mode on '/Users/robertgryzynger/Sites/gryzyngercom/docroot/sites/default' to 755
[echo] Making /Users/robertgryzynger/Sites/gryzyngercom/docroot/sites/default/settings.php writable.
[chmod] Changed file mode on '/Users/robertgryzynger/Sites/gryzyngercom/docroot/sites/default/settings.php' to 644
[echo] Ensuring that blt.settings.php is required by settings.php
[exec] require DRUPAL_ROOT . "/../vendor/acquia/blt/settings/blt.settings.php";
[echo] Generating local settings files.
blt > setup:behat:
[echo] Attempting to generate tests/behat/local.yml.
[copy] example.local.yml omitted, is up to date
blt > setup:composer:install:
Gathering patches for root package.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
blt > frontend:setup:
blt > target-hook:invoke:
[echo] Executing command in /Users/robertgryzynger/Sites/gryzyngercom/docroot:
No frontend-setup configured.
blt > frontend:build:
blt > target-hook:invoke:
[echo] Executing command in /Users/robertgryzynger/Sites/gryzyngercom/docroot:
No frontend-build configured.
blt > frontend:
blt > setup:build:
blt > target-hook:invoke:
[echo] Executing command in /Users/robertgryzynger/Sites/gryzyngercom/docroot:
No post-setup build configured.
blt > setup:drush:settings:
[echo] Expanding Phing variables in /Users/robertgryzynger/Sites/gryzyngercom/docroot/sites/default/local.drushrc.php.
[reflexive] Applying reflexive processing to 1 files.
blt > setup:hash-salt:
[echo] Checking for hash salt in /Users/robertgryzynger/Sites/gryzyngercom/salt.txt
[echo] /Users/robertgryzynger/Sites/gryzyngercom/salt.txt already exists.
blt > setup:drupal:install:
[echo] Installing Drupal.
[drush] Changing working directory to: /Users/robertgryzynger/Sites/gryzyngercom/docroot
[drush] Executing: /Users/robertgryzynger/Sites/gryzyngercom/vendor/bin/drush @gryzyngercom.local --site-name="gryzyngercom" --site-mail="no-reply@acquia.com" --account-name="admin" --account-pass="admin" --account-mail="no-reply@acquia.com" --uri=default --yes --verbose site-install "" "install_configure_form.update_status_module='array(FALSE,FALSE)'"
Loaded alias @gryzyngercom.local from file /Users/robertgryzynger/Sites/gryzyngercom/docroot/../drush/site-aliases/aliases.drushrc.php [notice]
Begin redispatch via drush_invoke_process(). [notice]
Calling proc_open(ssh -o PasswordAuthentication=no -i /Users/robertgryzynger/.vagrant.d/insecure_private_key vagrant@gryzyngercom.local 'env COLUMNS=193 drush --uri=default --yes --verbose --root=/var/www/gryzyngercom/docroot site-install '\''install_configure_form.update_status_module='\''\'\'''\''array(FALSE,FALSE)'\''\'\'''\'''\'' --site-name=gryzyngercom --site-mail='\''no-reply@acquia.com'\'' --account-name=admin --account-pass=admin --account-mail='\''no-reply@acquia.com'\'' 2>&1' 2>&1);
Warning: the ECDSA host key for 'gryzyngercom.local' differs from the key for the IP address '192.168.88.88'
Offending key for IP in /Users/robertgryzynger/.ssh/known_hosts:19
Matching host key in /Users/robertgryzynger/.ssh/known_hosts:24
Are you sure you want to continue connecting (yes/no)? yes
Executing: mysql --defaults-extra-file=/tmp/drush_Qy4zFQ --database=drupal --host=localhost --port=3306 --silent < /tmp/drush_qfSR56 > /dev/null
You are about to DROP all tables in your 'drupal' database. Do you want to continue? (y/n): y
Sites directory /var/www/gryzyngercom/docroot/sites/default already exists - proceeding. [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_Si3rSj --database=drupal --host=localhost --port=3306 --silent < /tmp/drush_mZ5YgA > /dev/null
Executing: mysql --defaults-extra-file=/tmp/drush_E7jg7M --database=drupal --host=localhost --port=3306 --silent < /tmp/drush_OebPu3
Executing: mysql --defaults-extra-file=/tmp/drush_iv4rog --database=drupal --host=localhost --port=3306 --silent < /tmp/drush_2OBNKw
Starting Drupal installation. This takes a while. Consider using the --notify global option. [ok]
The following module is missing from the file system: install_configure_formupdate_status_modulearrayFALSEFALSE bootstrap.inc:236 [warning]
strpos(): Empty needle ExtensionDiscovery.php:302 [warning]
The following module is missing from the file system: install_configure_formupdate_status_modulearrayFALSEFALSE bootstrap.inc:236 [warning]
strpos(): Empty needle ExtensionDiscovery.php:302 [warning]
The following module is missing from the file system: install_configure_formupdate_status_modulearrayFALSEFALSE bootstrap.inc:236 [warning]
strpos(): Empty needle ExtensionDiscovery.php:302 [warning]
The following module is missing from the file system: install_configure_formupdate_status_modulearrayFALSEFALSE bootstrap.inc:236 [warning]
strpos(): Empty needle ExtensionDiscovery.php:302 [warning]
The following module is missing from the file system: install_configure_formupdate_status_modulearrayFALSEFALSE bootstrap.inc:236 [warning]
strpos(): Empty needle ExtensionDiscovery.php:302 [warning]
The following module is missing from the file system: install_configure_formupdate_status_modulearrayFALSEFALSE bootstrap.inc:236 [warning]
strpos(): Empty needle ExtensionDiscovery.php:302 [warning]
The following module is missing from the file system: install_configure_formupdate_status_modulearrayFALSEFALSE bootstrap.inc:236 [warning]
strpos(): Empty needle ExtensionDiscovery.php:302 [warning]
The following module is missing from the file system: install_configure_formupdate_status_modulearrayFALSEFALSE bootstrap.inc:236 [warning]
strpos(): Empty needle ExtensionDiscovery.php:302 [warning]
The following module is missing from the file system: install_configure_formupdate_status_modulearrayFALSEFALSE bootstrap.inc:236 [warning]
strpos(): Empty needle ExtensionDiscovery.php:302 [warning]
The following module is missing from the file system: install_configure_formupdate_status_modulearrayFALSEFALSE bootstrap.inc:236 [warning]
Undefined index: install_configure_formupdate_status_modulearrayFALSEFALSE install.core.inc:793 [notice]
PHP Fatal error: Call to a member function getPath() on null in /var/www/gryzyngercom/docroot/core/includes/install.core.inc on line 793
Fatal error: Call to a member function getPath() on null in /var/www/gryzyngercom/docroot/core/includes/install.core.inc on line 793
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to a member function getPath() on null in /var/www/gryzyngercom/docroot/core/includes/install.core.inc, line 793
End redispatch via drush_invoke_process(). [notice]
[drush] Changing working directory back to /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing.
[phingcall] /Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing/tasks/setup.xml:148:34: Drush exited with code 255
BUILD FAILED
/Users/robertgryzynger/Sites/gryzyngercom/vendor/acquia/blt/phing/tasks/local-sync.xml:12:30: Execution of the target buildfile failed. Aborting.
Total time: 12.2871 seconds |
The following command is failing: That command seems well formed, but drush is not interpreting it correctly. Are you using the "normal" terminal or some variation like zsh or fish? Can you try running that command directly and seeing if you get the same result? You may need to debug drush rather than blt. |
oh wait. You may be missing the profile name. What is the value of project.profile.name in project.yml? It should be something like lightning, standard, or minimal. |
I'm getting the following error output while attempting to run
blt local:setup
:The text was updated successfully, but these errors were encountered: