acquia / blt

Acquia's toolset for automating Drupal 8 and 9 development, testing, and deployment.
https://docs.acquia.com/blt/
GNU General Public License v2.0
442 stars 394 forks source link

BLT VM "path contains non-directory or non-existent components" #2856

Closed lovethatnixter closed 6 years ago

lovethatnixter commented 6 years ago

My system information:

Output of blt doctor:

$ blt doctor
[warning] The xDebug extension is loaded. This will significantly decrease performance.
[warning] Drupal VM is locally initialized, but you are not inside the VM.
[warning] You should execute all BLT commands from within Drupal VM.
[warning] Use vagrant ssh to enter the VM.
 Do you want to continue and execute this command on the host machine? (y/n) y
+---------------------------+--------------------------------------------------------------+
| Property                  | Value                                                        |
+---------------------------+--------------------------------------------------------------+
| %paths.%root              | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/docroo |
|                           | t                                                            |
| %paths.%site              | sites/default                                                |
| %paths.%modules           | sites/all/modules                                            |
| %paths.%themes            | sites/all/themes                                             |
| %paths.%config-sync       | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/config |
|                           | /default                                                     |
| alias-searchpaths.0       | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/drush/ |
|                           | sites                                                        |
| blt-version               | 9.1.0-alpha1                                                 |
| composer-version          | Composer version 1.6.5 2018-05-04 11:44:59                   |
| config-sync               | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/config |
|                           | /default                                                     |
| db-driver                 | mysql                                                        |
| db-hostname               | localhost                                                    |
| db-name                   | drupal                                                       |
| db-password               | drupal                                                       |
| db-port                   | 3306                                                         |
| db-username               | drupal                                                       |
| drupal-settings-file      | sites/default/settings.php                                   |
| drupal-version            | 8.5.3                                                        |
| drush-alias-files.0       | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/drush/ |
|                           | sites/cu-blt-acsf.site.yml                                   |
| drush-conf.0              | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/vendor |
|                           | /drush/drush/drush.yml                                       |
| drush-conf.1              | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/drush/ |
|                           | drush.yml                                                    |
| drush-conf.2              | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/docroo |
|                           | t/sites/default/local.drush.yml                              |
| drush-script              | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/vendor |
|                           | /bin/drush                                                   |
| drush-temp                | /tmp                                                         |
| drush-version             | 9.3.0                                                        |
| modules                   | sites/all/modules                                            |
| php-bin                   | /usr/local/php5-7.2.2-20180201-132629/bin/php                |
| php-conf.0                | /usr/local/php5/lib/php.ini                                  |
| php-os                    | Darwin                                                       |
| root                      | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/docroo |
|                           | t                                                            |
| site                      | sites/default                                                |
| stacks.drupal-vm.inited   | true                                                         |
| stacks.dev-desktop.inited | false                                                        |
| themes                    | sites/all/themes                                             |
| uri                       | http://local.blted8.com                                      |
+---------------------------+--------------------------------------------------------------+
+------------------------------------------+--------------------------------------------------------------+
| Check                                    | Problem                                                      |
+------------------------------------------+--------------------------------------------------------------+
| BehatCheck:checkDrupalVm:root            | You have DrupalVM initialized, but drupal_root in            |
|                                          | tests/behat/local.yml does not reference the DrupalVM        |
|                                          | docroot.                                                     |
|                                          |   Behat drupal_root is                                       |
|                                          | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/docroo |
|                                          | t.                                                           |
|                                          |   To resolve, run blt tests:behat:init:config.               |
| BehatCheck:checkBaseUrl:uri              | base_url in tests/behat/local.yml does not match the site    |
|                                          | URI.                                                         |
|                                          |   Behat base_url is set to                                   |
|                                          | http://local.cu-blt-acsf.com.                                |
|                                          |   Drush site URI is set to                                   |
|                                          | http://local.blted8.com.                                     |
| ComposerCheck:checkPrestissimo:plugins   | hirak/prestissimo plugin for composer is not installed.      |
|                                          |   Run composer global require                                |
|                                          | hirak/prestissimo to install it.                             |
|                                          |   This will improve composer install/update performance by   |
|                                          | parallelizing the download of dependency information.        |
| ConfigCheck:checkGitConfig               | Git repositories are not defined in blt.yml.                 |
|                                          |   Add values for git.remotes to blt.yml to enabled automated |
|                                          | deployment.                                                  |
| DbCheck:checkDbConnection                | Could not connect to MySQL database.                         |
|                                          |                                                              |
|                                          | Is your *AMP stack running?                                  |
|                                          | Are your database credentials correct?                       |
|                                          |   db-driver: mysql                                           |
|                                          |   db-hostname: localhost                                     |
|                                          |   db-username: drupal                                        |
|                                          |   db-password: drupal                                        |
|                                          |   db-name: drupal                                            |
|                                          |   db-port: 3306                                              |
|                                          |                                                              |
|                                          | To verify your mysql credentials, run `mysql -u drupal -h    |
|                                          | localhost -pdrupal -P 3306`                                  |
|                                          |                                                              |
|                                          | Are you using the correct PHP binary?                        |
|                                          | Is PHP using the correct MySQL socket?                       |
|                                          |   php-os: Darwin                                             |
|                                          |   php-bin: /usr/local/php5-7.2.2-20180201-132629/bin/php     |
|                                          |   php-conf: /usr/local/php5/lib/php.ini                      |
|                                          |                                                              |
|                                          | Are you using the correct site and settings.php file?        |
|                                          |   site: sites/default                                        |
|                                          |   drupal-settings-file: sites/default/settings.php           |
|                                          |                                                              |
|                                          | To verify, run `drush sqlc`                                  |
|                                          |                                                              |
| DrupalCheck:checkDrupalBootstrapped      | Could not bootstrap Drupal via drush without alias.          |
| DrupalCheck:checkDrupalInstalled         | Drupal is not installed.                                     |
|                                          |                                                              |
|                                          | Run `blt drupal:install` to install Drupal locally.          |
| FileSystemCheck:checkFileSystem:%files   | Public files directory is not set.                           |
| FileSystemCheck:checkFileSystem:%private | Private files directory is not set.                          |
| FileSystemCheck:checkFileSystem:%temp    | Temporary files directory is not set.                        |
| NodeCheck:checkNodeVersionFileExists     | Neither .nvmrc nor .node-version file found in repo root.    |
| WebUriCheck:checkUriResponse             | Did not get a response from http://local.blted8.com          |
|                                          | Is your *AMP stack running?                                  |
|                                          | Is your /etc/hosts file correctly configured?                |
|                                          | Is your web server configured to serve this URI from         |
|                                          | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/docroo |
|                                          | t?                                                           |
|                                          | Is options.uri set correctly in                              |
|                                          | /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf/docroo |
|                                          | t/sites/default/local.drush.yml?                             |
+------------------------------------------+--------------------------------------------------------------+
[error]  BLT Doctor discovered one or more critical issues. 

When I run this command:

$ blt vm

I get the following output:

DOIT-NJS39772M5:cu-blt-acsf nickstankus$ blt vm
[warning] The xDebug extension is loaded. This will significantly decrease performance.
Drupal VM is already configured. In future, please use vagrant commands to interact directly with the VM.

  * We have configured your new Drupal VM to use PHP 7.1 If you would like to change this, edit box/config.yml. 

 Do you want to boot Drupal VM? (y/n) y
In future, run vagrant up to boot the VM.
[Exec] Running vagrant up in /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf
Bringing machine 'cu-blt-acsf' up with 'virtualbox' provider...
==> cu-blt-acsf: Preparing master VM for linked clones...
    cu-blt-acsf: This is a one time operation. Once the master VM is prepared,
    cu-blt-acsf: it will be used as a base for linked clones, making the creation
    cu-blt-acsf: of new VMs take milliseconds on a modern system.
==> cu-blt-acsf: Importing base box 'geerlingguy/ubuntu1604'...
==> cu-blt-acsf: Cloning VM...
==> cu-blt-acsf: Matching MAC address for NAT networking...
==> cu-blt-acsf: Checking if box 'geerlingguy/ubuntu1604' is up to date...
==> cu-blt-acsf: Setting the name of the VM: local.cu-blt-acsf.com
==> cu-blt-acsf: Fixed port collision for 22 => 2222. Now on port 2200.
==> cu-blt-acsf: Clearing any previously set network interfaces...
==> cu-blt-acsf: Preparing network interfaces based on configuration...
    cu-blt-acsf: Adapter 1: nat
    cu-blt-acsf: Adapter 2: hostonly
==> cu-blt-acsf: Forwarding ports...
    cu-blt-acsf: 22 (guest) => 2200 (host) (adapter 1)
==> cu-blt-acsf: Running 'pre-boot' VM customizations...
==> cu-blt-acsf: Booting VM...
==> cu-blt-acsf: Waiting for machine to boot. This may take a few minutes...
    cu-blt-acsf: SSH address: 127.0.0.1:2200
    cu-blt-acsf: SSH username: vagrant
    cu-blt-acsf: SSH auth method: private key
==> cu-blt-acsf: Machine booted and ready!
[cu-blt-acsf] GuestAdditions versions on your host (5.1.6) and guest (5.2.12) do not match.
Reading package lists...
Building dependency tree...
Reading state information...
linux-headers-4.4.0-116-generic is already the newest version (4.4.0-116.140).
The following packages were automatically installed and are no longer required:
  libyaml-0-2 python-cffi-backend python-crypto python-cryptography
  python-ecdsa python-enum34 python-httplib2 python-idna python-ipaddress
  python-jinja2 python-markupsafe python-paramiko python-pkg-resources
  python-pyasn1 python-setuptools python-six python-yaml sshpass
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  cpp cpp-5 fakeroot gcc gcc-5 libasan2 libatomic1 libc-dev-bin libc6-dev
  libcc1-0 libcilkrts5 libfakeroot libgcc-5-dev libgomp1 libisl15 libitm1
  liblsan0 libmpc3 libmpfr4 libmpx0 libquadmath0 libtsan0 libubsan0
  linux-libc-dev manpages-dev
Suggested packages:
  cpp-doc gcc-5-locales gcc-multilib autoconf automake libtool flex bison gdb
  gcc-doc gcc-5-multilib gcc-5-doc libgcc1-dbg libgomp1-dbg libitm1-dbg
  libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg
  libcilkrts5-dbg libmpx0-dbg libquadmath0-dbg glibc-doc
The following NEW packages will be installed:
  cpp cpp-5 dkms fakeroot gcc gcc-5 libasan2 libatomic1 libc-dev-bin libc6-dev
  libcc1-0 libcilkrts5 libfakeroot libgcc-5-dev libgomp1 libisl15 libitm1
  liblsan0 libmpc3 libmpfr4 libmpx0 libquadmath0 libtsan0 libubsan0
  linux-libc-dev manpages-dev
0 upgraded, 26 newly installed, 0 to remove and 3 not upgraded.
Need to get 25.6 MB of archives.
After this operation, 87.8 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libmpfr4 amd64 3.1.4-1 [191 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libmpc3 amd64 1.0.3-1 [39.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libisl15 amd64 0.16.1-1 [524 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cpp-5 amd64 5.4.0-6ubuntu1~16.04.9 [7,685 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 cpp amd64 4:5.3.1-1ubuntu1 [27.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcc1-0 amd64 5.4.0-6ubuntu1~16.04.9 [38.8 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgomp1 amd64 5.4.0-6ubuntu1~16.04.9 [55.0 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libitm1 amd64 5.4.0-6ubuntu1~16.04.9 [27.4 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libatomic1 amd64 5.4.0-6ubuntu1~16.04.9 [8,882 B]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libasan2 amd64 5.4.0-6ubuntu1~16.04.9 [264 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 liblsan0 amd64 5.4.0-6ubuntu1~16.04.9 [105 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtsan0 amd64 5.4.0-6ubuntu1~16.04.9 [244 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libubsan0 amd64 5.4.0-6ubuntu1~16.04.9 [95.2 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcilkrts5 amd64 5.4.0-6ubuntu1~16.04.9 [40.1 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmpx0 amd64 5.4.0-6ubuntu1~16.04.9 [9,774 B]
Get:16 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libquadmath0 amd64 5.4.0-6ubuntu1~16.04.9 [131 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgcc-5-dev amd64 5.4.0-6ubuntu1~16.04.9 [2,242 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gcc-5 amd64 5.4.0-6ubuntu1~16.04.9 [8,650 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 gcc amd64 4:5.3.1-1ubuntu1 [5,244 B]
Get:20 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dkms all 2.2.0.3-2ubuntu11.5 [66.3 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc-dev-bin amd64 2.23-0ubuntu10 [68.7 kB]
Err:24 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-libc-dev amd64 4.4.0-124.148
  404  Not Found [IP: 91.189.91.23 80]
Get:25 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc6-dev amd64 2.23-0ubuntu10 [2,079 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 manpages-dev all 4.04-2 [2,048 kB]
Err:24 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-libc-dev amd64 4.4.0-124.148
  404  Not Found [IP: 91.189.91.23 80]
Fetched 24.7 MB in 5s (4,489 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_4.4.0-124.148_amd64.deb  404  Not Found [IP: 91.189.91.23 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [501 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [785 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [445 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [216 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7,204 B]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [7,224 B]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,152 B]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [352 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [720 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [302 kB]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [131 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3,460 B]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [3,624 B]
Get:18 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [325 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,560 B]
Get:20 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [7,520 B]
Get:21 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,272 B]
Get:22 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [632 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [578 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [254 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.4 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [15.5 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [7,400 B]
Get:28 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [7,080 B]
Fetched 5,650 kB in 2s (2,412 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
linux-headers-4.4.0-116-generic is already the newest version (4.4.0-116.140).
The following packages were automatically installed and are no longer required:
  libyaml-0-2 python-cffi-backend python-crypto python-cryptography
  python-ecdsa python-enum34 python-httplib2 python-idna python-ipaddress
  python-jinja2 python-markupsafe python-paramiko python-pkg-resources
  python-pyasn1 python-setuptools python-six python-yaml sshpass
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  cpp cpp-5 fakeroot gcc gcc-5 libasan2 libatomic1 libc-dev-bin libc6-dev
  libcc1-0 libcilkrts5 libfakeroot libgcc-5-dev libgomp1 libisl15 libitm1
  liblsan0 libmpc3 libmpfr4 libmpx0 libquadmath0 libtsan0 libubsan0
  linux-libc-dev manpages-dev
Suggested packages:
  cpp-doc gcc-5-locales gcc-multilib autoconf automake libtool flex bison gdb
  gcc-doc gcc-5-multilib gcc-5-doc libgcc1-dbg libgomp1-dbg libitm1-dbg
  libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg
  libcilkrts5-dbg libmpx0-dbg libquadmath0-dbg glibc-doc
The following NEW packages will be installed:
  cpp cpp-5 dkms fakeroot gcc gcc-5 libasan2 libatomic1 libc-dev-bin libc6-dev
  libcc1-0 libcilkrts5 libfakeroot libgcc-5-dev libgomp1 libisl15 libitm1
  liblsan0 libmpc3 libmpfr4 libmpx0 libquadmath0 libtsan0 libubsan0
  linux-libc-dev manpages-dev
0 upgraded, 26 newly installed, 0 to remove and 16 not upgraded.
Need to get 870 kB/25.6 MB of archives.
After this operation, 87.8 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-libc-dev amd64 4.4.0-127.153 [870 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 870 kB in 2s (332 kB/s)
Selecting previously unselected package libmpfr4:amd64.
(Reading database ... 62336 files and directories currently installed.)
Preparing to unpack .../libmpfr4_3.1.4-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.4-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.3-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.3-1) ...
Selecting previously unselected package libisl15:amd64.
Preparing to unpack .../libisl15_0.16.1-1_amd64.deb ...
Unpacking libisl15:amd64 (0.16.1-1) ...
Selecting previously unselected package cpp-5.
Preparing to unpack .../cpp-5_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking cpp-5 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking cpp (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../libcc1-0_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking libgomp1:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking libitm1:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking libatomic1:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package libasan2:amd64.
Preparing to unpack .../libasan2_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking libasan2:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../liblsan0_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking liblsan0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking libtsan0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../libubsan0_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking libubsan0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../libcilkrts5_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking libcilkrts5:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package libmpx0:amd64.
Preparing to unpack .../libmpx0_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking libmpx0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package libgcc-5-dev:amd64.
Preparing to unpack .../libgcc-5-dev_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking libgcc-5-dev:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package gcc-5.
Preparing to unpack .../gcc-5_5.4.0-6ubuntu1~16.04.9_amd64.deb ...
Unpacking gcc-5 (5.4.0-6ubuntu1~16.04.9) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking gcc (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package dkms.
Preparing to unpack .../dkms_2.2.0.3-2ubuntu11.5_all.deb ...
Unpacking dkms (2.2.0.3-2ubuntu11.5) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20.2-1ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...
Unpacking fakeroot (1.20.2-1ubuntu1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.23-0ubuntu10_amd64.deb ...
Unpacking libc-dev-bin (2.23-0ubuntu10) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_4.4.0-127.153_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.4.0-127.153) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.23-0ubuntu10_amd64.deb ...
Unpacking libc6-dev:amd64 (2.23-0ubuntu10) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_4.04-2_all.deb ...
Unpacking manpages-dev (4.04-2) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libmpfr4:amd64 (3.1.4-1) ...
Setting up libmpc3:amd64 (1.0.3-1) ...
Setting up libisl15:amd64 (0.16.1-1) ...
Setting up cpp-5 (5.4.0-6ubuntu1~16.04.9) ...
Setting up cpp (4:5.3.1-1ubuntu1) ...
Setting up libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up libgomp1:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up libitm1:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up libatomic1:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up libasan2:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up liblsan0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up libtsan0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up libubsan0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up libcilkrts5:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up libmpx0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up libgcc-5-dev:amd64 (5.4.0-6ubuntu1~16.04.9) ...
Setting up gcc-5 (5.4.0-6ubuntu1~16.04.9) ...
Setting up gcc (4:5.3.1-1ubuntu1) ...
Setting up dkms (2.2.0.3-2ubuntu11.5) ...
Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
Setting up fakeroot (1.20.2-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libc-dev-bin (2.23-0ubuntu10) ...
Setting up linux-libc-dev:amd64 (4.4.0-127.153) ...
Setting up libc6-dev:amd64 (2.23-0ubuntu10) ...
Setting up manpages-dev (4.04-2) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
mount: /dev/loop0 is write-protected, mounting read-only
Installing Virtualbox Guest Additions 5.1.6 - guest version is 5.2.12
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.6 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Removing installed version 5.2.12 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Building Guest Additions kernel modules.
vboxadd.sh: You should restart your guest to make sure the new modules are actually used.
vboxadd.sh: Starting the VirtualBox Guest Additions.

Could not find the X.Org or XFree86 Window System, skipping.
Job for vboxadd-service.service failed because the control process exited with error code. See "systemctl status vboxadd-service.service" and "journalctl -xe" for details.
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   5.2.12
VBoxService inside the vm claims: 5.1.6
Going on, assuming VBoxService is correct...
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   5.2.12
VBoxService inside the vm claims: 5.1.6
Going on, assuming VBoxService is correct...
==> cu-blt-acsf: Checking for guest additions in VM...
    cu-blt-acsf: The guest additions on this VM do not match the installed version of
    cu-blt-acsf: VirtualBox! In most cases this is fine, but in rare cases it can
    cu-blt-acsf: prevent things such as shared folders from working properly. If you see
    cu-blt-acsf: shared folder errors, please make sure the guest additions within the
    cu-blt-acsf: virtual machine match the version of VirtualBox you have installed on
    cu-blt-acsf: your host and reload your VM.
    cu-blt-acsf: 
    cu-blt-acsf: Guest Additions Version: 5.2.12
    cu-blt-acsf: VirtualBox Version: 5.1
==> cu-blt-acsf: [vagrant-hostsupdater] Checking for host entries
==> cu-blt-acsf: [vagrant-hostsupdater] Writing the following entries to (/etc/hosts)
==> cu-blt-acsf: [vagrant-hostsupdater]   192.168.185.52  local.cu-blt-acsf.com  # VAGRANT: 1ebee70f701c72b0e5891cdcd768b97f (cu-blt-acsf) / 51086bbd-d653-4159-91cf-8d6c6b719cc7
==> cu-blt-acsf: [vagrant-hostsupdater]   192.168.185.52  www.local.cu-blt-acsf.com  # VAGRANT: 1ebee70f701c72b0e5891cdcd768b97f (cu-blt-acsf) / 51086bbd-d653-4159-91cf-8d6c6b719cc7
==> cu-blt-acsf: [vagrant-hostsupdater]   192.168.185.52  dashboard.local.cu-blt-acsf.com  # VAGRANT: 1ebee70f701c72b0e5891cdcd768b97f (cu-blt-acsf) / 51086bbd-d653-4159-91cf-8d6c6b719cc7
==> cu-blt-acsf: [vagrant-hostsupdater]   192.168.185.52  www.dashboard.local.cu-blt-acsf.com  # VAGRANT: 1ebee70f701c72b0e5891cdcd768b97f (cu-blt-acsf) / 51086bbd-d653-4159-91cf-8d6c6b719cc7
==> cu-blt-acsf: [vagrant-hostsupdater] This operation requires administrative access. You may skip it by manually adding equivalent entries to the hosts file.
==> cu-blt-acsf: Setting hostname...
==> cu-blt-acsf: Configuring and enabling network interfaces...
==> cu-blt-acsf: Exporting NFS shared folders...
NFS is reporting that your exports file is invalid. Vagrant does
this check before making any changes to the file. Please correct
the issues below and execute "vagrant reload":

exports:2: path contains non-directory or non-existent components: /Users/nickstankus/acquia-blt/drupal8_cu_blt
exports:2: no usable directories in export entry
exports:2: using fallback (marked offline): /

[Exec]  Exit code 1  Time 03:54
[error]  Drupal VM failed to boot. Read Drupal VM's previous output for more information. 
 Do you want to try to re-provision the VM? Sometimes this works. (y/n) y
[Exec] Running vagrant provision in /Users/nickstankus/acquia-blt/drupal8_blt/cu-blt-acsf
==> cu-blt-acsf: [vagrant-hostsupdater] Checking for host entries
==> cu-blt-acsf: [vagrant-hostsupdater]   found entry for: 192.168.185.52 local.cu-blt-acsf.com
==> cu-blt-acsf: [vagrant-hostsupdater]   found entry for: 192.168.185.52 www.local.cu-blt-acsf.com
==> cu-blt-acsf: [vagrant-hostsupdater]   found entry for: 192.168.185.52 dashboard.local.cu-blt-acsf.com
==> cu-blt-acsf: [vagrant-hostsupdater]   found entry for: 192.168.185.52 www.dashboard.local.cu-blt-acsf.com
==> cu-blt-acsf: Running provisioner: ansible_local...
`playbook` does not exist on the guest: /vagrant/vendor/geerlingguy/drupal-vm/provisioning/playbook.yml
[Exec]  Exit code 1  Time 4.372s
[error]  Unable to provision virtual machine. This is likely due to an issue with your Drupal VM configuration and not BLT itself. 

And I expected this to happen:

lcatlett commented 6 years ago

@lovethatnixter after running blt vm and booting the vm with vagrant up, you should be running blt commands from within the guest vm, not your host. Errors like "exports:2: path contains non-directory or non-existent components" are occuring because these paths dont exist as writable directories in the bm.

lovethatnixter commented 6 years ago

Once I get onto the VM the VM doesn't know what BLT is.

Bringing machine 'cu-acsf' up with 'virtualbox' provider...
==> cu-acsf: Checking if box 'geerlingguy/ubuntu1604' is up to date...
==> cu-acsf: [vagrant-hostsupdater] Checking for host entries
==> cu-acsf: [vagrant-hostsupdater]   found entry for: 192.168.30.172 local.cu-acsf.com
==> cu-acsf: [vagrant-hostsupdater]   found entry for: 192.168.30.172 www.local.cu-acsf.com
==> cu-acsf: [vagrant-hostsupdater]   found entry for: 192.168.30.172 dashboard.local.cu-acsf.com
==> cu-acsf: [vagrant-hostsupdater]   found entry for: 192.168.30.172 www.dashboard.local.cu-acsf.com
==> cu-acsf: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> cu-acsf: flag to force provisioning. Provisioners marked to run always will still run.

==> cu-acsf: Machine 'cu-acsf' has a post `vagrant up` message. This is a message
==> cu-acsf: from the creator of the Vagrantfile, and not from Vagrant itself:
==> cu-acsf: 
==> cu-acsf: Your Drupal VM Vagrant box is ready to use!
==> cu-acsf: * Visit the dashboard for an overview of your site: http://dashboard.local.cu-acsf.com (or http://192.168.30.172)
==> cu-acsf: * You can SSH into your machine with `vagrant ssh`.
==> cu-acsf: * Find out more in the Drupal VM documentation at http://docs.drupalvm.com
DOIT-NJS39772M5:cu-acsf nickstankus$ vagrant ssh
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-116-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
vagrant@local:~$ blt setup
No command 'blt' found, did you mean:
 Command 'btt' from package 'blktrace' (universe)
 Command 'llt' from package 'storebackup' (universe)
 Command 'bat' from package 'bacula-console-qt' (universe)
 Command 'bat' from package 'bareos-bat' (universe)
 Command 'bls' from package 'bacula-sd' (universe)
 Command 'bls' from package 'bareos-tools' (universe)
 Command 'lt' from package 'looptools' (universe)
 Command 'bld' from package 'bld' (universe)
 Command 'slt' from package 'slt' (universe)
 Command 'lbt' from package 'lbt' (universe)
blt: command not found
vagrant@local:~$ 
pixlkat commented 6 years ago

@lovethatnixter it looks like vagrant is complaining about invalid entries in your exports file on your mac. You might try checking /etc/exports for improper entries. The lines added by vagrant will be surrounded by VAGRANT-BEGIN and VAGRANT-END. You can manually delete anything that is invalid from there and save the file (you'll need to use sudo to do so).

lovethatnixter commented 6 years ago

That got rid of the strange file path.

# VAGRANT-BEGIN: 502 326aacb3-47b4-4957-af88-b508a2c88d36
"/Users/acquia-blt/drupal8_cu_blt" 192.168.156.111 -alldirs -mapall=502:20
# VAGRANT-END: 502 326aacb3-47b4-4957-af88-b508a2c88d36

but now the issue seems to be archive.apache.org and solr.

TASK [geerlingguy.solr : Download Solr.] ***************************************
fatal: [cu-blt-acsf]: FAILED! => {"changed": false, "msg": "Failed to connect to archive.apache.org at port 443: [Errno 110] Connection timed out"}
    to retry, use: --limit @/vagrant/vendor/geerlingguy/drupal-vm/provisioning/playbook.retry
PLAY RECAP *********************************************************************
cu-blt-acsf                : ok=206  changed=0    unreachable=0    failed=1   

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
[Exec]  Exit code 1  Time 05:06
[error]  Unable to provision virtual machine. This is likely due to an issue with your Drupal VM configuration and not BLT itself. 
ba66e77 commented 6 years ago

@lovethatnixter I've blown away and rebuilt my local VM and have not been able to replicate the issue you're seeing. We occasionally see transient routing issues like this but if it is consistent for you then you might try a traceroute to get a better sense of where the problem lies.

lovethatnixter commented 6 years ago

At this point I think it is fixed. I was able to download at a different location. It seems to be location based.

ba66e77 commented 6 years ago

Glad it's all working for you now!