Skip to content

Instantly share code, notes, and snippets.

@twoelevenjay
Created August 25, 2017 17:29
Show Gist options
  • Save twoelevenjay/7c765682687f28672ad46bcef682b8a9 to your computer and use it in GitHub Desktop.
Save twoelevenjay/7c765682687f28672ad46bcef682b8a9 to your computer and use it in GitHub Desktop.
vvv-provision-08-25-2017 klog with VVV not resolving custom host correctly.
MacBook-Pro:vagrant-local leon.shelhamer$ vagrant provision
Ignoring ffi-1.9.10 because its extensions are not built. Try: gem pristine ffi --version 1.9.10
Ignoring nokogiri-1.6.3.1 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.3.1
Ignoring unf_ext-0.0.7.1 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.1
__ ___ ___ __ ____
\ \ / \ \ / \ \ / / |___ \
\ \ / / \ \ / / \ \ / / __) |
\ V / \ V / \ V / / __/
\_/ \_/ \_/ |_____|
Varying Vagrant Vagrants 2.0.0
Docs: https://varyingvagrantvagrants.org/
Contribute: https://github.com/varying-vagrant-vagrants/vvv
==> default: [vagrant-hostsupdater] Checking for host entries
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 vvv
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 vvv.dev
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 local.wordpress.dev
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 src.wordpress-develop.dev
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 build.wordpress-develop.dev
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 trg.dev
==> default: Running provisioner: fix-no-tty (shell)...
default: Running: inline script
==> default: Running provisioner: default (shell)...
default: Running: /var/folders/wz/__8wn_8n3l777r03pxcf44c40000gn/T/vagrant-shell20170825-71785-nwauwb.sh
==> default: Network connection detected...
==> default: Bash profile setup and directories.
==> default: sending incremental file list
==> default: db_backup
==> default: db_restore
==> default: makepot
==> default: vagrant_destroy
==> default: vagrant_halt
==> default: vagrant_suspend
==> default: vagrant_up
==> default: xdebug_off
==> default: xdebug_on
==> default: sent 2.45K bytes received 187 bytes 5.27K bytes/sec
==> default: total size is 3.29K speedup is 1.25
==> default: * Copied /srv/config/bash_profile to /home/vagrant/.bash_profile
==> default: * Copied /srv/config/bash_aliases to /home/vagrant/.bash_aliases
==> default: * Copied /srv/config/vimrc to /home/vagrant/.vimrc
==> default: * Copied /srv/config/subversion-servers to /home/vagrant/.subversion/servers
==> default: * Copied /srv/config/subversion-config to /home/vagrant/.subversion/config
==> default: * rsync'd /srv/config/homebin to /home/vagrant/bin
==> default: Network connection detected...
==> default:
==> default: Main packages check and install.
==> default: Adding ppa:git-core/ppa repository
==> default: * php7.0-fpm 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-cli 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-common 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-dev 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php-pear 1:1.10.4+submodules+notgz-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php-imagick 3.4.3-2~ubuntu14.04.1+deb.sury.org+1
==> default: * php-memcache 3.0.9~20160311.4991c2f-6+deb.sury.org~trusty+1
==> default: * php-memcached 3.0.3+2.2.0-1+deb.sury.org~trusty+1
==> default: * php-ssh2 1.0+0.13-2+deb.sury.org~trusty+3
==> default: * php-xdebug 2.5.5-3+ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-bcmath 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-curl 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-gd 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-mbstring 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-mcrypt 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-mysql 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-imap 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-json 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-soap 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-xml 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * php7.0-zip 7.0.21-1~ubuntu14.04.1+deb.sury.org+1
==> default: * nginx 1.13.2-1~trusty
==> default: * memcached 1.4.14-0ubuntu9.1
==> default: * mariadb-server 10.1.25+maria-1~trusty
==> default: * imagemagick 8:6.7.7.10-6ubuntu3.7
==> default: * subversion 1.8.8-1ubuntu3.2
==> default: * git 1:2.13.0-0ppa1~ubuntu14.04.1
==> default: * zip 3.0-8
==> default: * unzip 6.0-9ubuntu1.5
==> default: * ngrep 1.45.ds2-12
==> default: * curl 7.35.0-1ubuntu2.10
==> default: * make 3.81-8.2ubuntu3
==> default: * vim 2:7.4.052-1ubuntu3.1
==> default: * colordiff 1.0.13-1
==> default: * postfix 2.11.0-1ubuntu1
==> default: * python-pip 1.5.4-1ubuntu4
==> default: * ntp 1:4.2.6.p5+dfsg-3ubuntu2.14.04.11
==> default: * gettext 0.18.3.1-1ubuntu3
==> default: * graphviz 2.36.0-0ubuntu3.2
==> default: * dos2unix 6.0.4-1
==> default: * g++ 4:4.8.2-1ubuntu6
==> default: * nodejs 6.11.0-1nodesource1~trusty1
==> default: * libsqlite3-dev 3.8.2-1ubuntu2.1
==> default: Linked custom apt sources
==> default: No apt packages to install.
==> default: php7.0-fpm stop/waiting
==> default: php7.0-fpm start/running, process 9915
==> default:
==> default: Updating nvm...
==> default: From https://github.com/creationix/nvm
==> default: * branch master -> FETCH_HEAD
==> default: Updating 0a95e77..cf5272e
==> default: Fast-forward
==> default: .dockerignore | 17 ++
==> default: .gitignore | 1 +
==> default: .travis.yml | 2 +-
==> default: Dockerfile | 105 ++++++++++
==> default: README.md | 122 ++++++++----
==> default: bash_completion | 3 +-
==> default: install.sh | 23 ++-
==> default: nvm.sh | 217 ++++++++++++++++++---
==> default: .../Using a nonstandard IFS should not break | 18 ++
==> default: ...oad\" should unset all function and variables." | 2 +
==> default: test/fast/Unit tests/nvm_curl_use_compression | 38 ++++
==> default: test/fast/Unit tests/nvm_curl_version | 32 +++
==> default: test/fast/Unit tests/nvm_default_packages | 115 +++++++++++
==> default: test/fast/Unit tests/nvm_get_checksum_alg | 2 +
==> default: test/fast/Unit tests/nvm_get_mirror | 3 +-
==> default: test/fast/Unit tests/nvm_install_latest_npm | 58 ++++++
==> default: test/installation_node/install latest npm | 34 ++++
==> default: test/installation_node/install with --latest-npm | 12 ++
==> default: 18 files changed, 733 insertions(+), 71 deletions(-)
==> default: create mode 100644 .dockerignore
==> default: create mode 100644 Dockerfile
==> default: create mode 100755 test/fast/Listing versions/Using a nonstandard IFS should not break
==> default: create mode 100755 test/fast/Unit tests/nvm_curl_use_compression
==> default: create mode 100755 test/fast/Unit tests/nvm_curl_version
==> default: create mode 100755 test/fast/Unit tests/nvm_default_packages
==> default: create mode 100755 test/fast/Unit tests/nvm_install_latest_npm
==> default: create mode 100755 test/installation_node/install latest npm
==> default: create mode 100755 test/installation_node/install with --latest-npm
==> default: Previous HEAD position was cf5272e... [Fix] `set -u`: `nvm install`: fix unbound vars
==> default: HEAD is now at 0a95e77... v0.33.2
==> default: /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
==> default: /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
==> default: + npm@5.3.0
==> default: updated 1 package in 6.9s
==> default: /usr/bin/npm-check-updates -> /usr/lib/node_modules/npm-check-updates/bin/npm-check-updates
==> default: /usr/bin/ncu -> /usr/lib/node_modules/npm-check-updates/bin/ncu
==> default: + npm-check-updates@2.12.1
==> default: updated 1 package in 13.92s
==> default: ack-grep already installed
==> default: Do not run Composer as root/super user! See https://getcomposer.org/root for details
==> default: Do not run Composer as root/super user! See https://getcomposer.org/root for details
==> default: Updating Composer...
==> default: You are already using composer version 1.5.1 (stable channel).
==> default: Changed current directory to /usr/local/src/composer
==> default: Do not run Composer as root/super user! See https://getcomposer.org/root for details
==> default: Loading composer repositories with package information
==> default: Updating dependencies (including require-dev)
==> default: Nothing to install or update
==> default: Generating autoload files
==> default: Updating Grunt CLI
==> default: Adding graphviz symlink for Webgrind...
==> default: Installing Shyaml for bash provisioning..
==> default: Requirement already satisfied (use --upgrade to upgrade): shyaml in /usr/local/lib/python2.7/dist-packages
==> default: Cleaning up...
==> default: Setup configuration files...
==> default: * Copied /srv/config/init/vvv-start.conf to /etc/init/vvv-start.conf
==> default: sending incremental file list
==> default: default.conf
==> default: local-nginx-example.conf-sample
==> default: sent 1.82K bytes received 54 bytes 3.74K bytes/sec
==> default: total size is 3.86K speedup is 2.06
==> default: * Copied /srv/config/nginx-config/nginx.conf to /etc/nginx/nginx.conf
==> default: * Copied /srv/config/nginx-config/nginx-wp-common.conf to /etc/nginx/nginx-wp-common.conf
==> default: * Rsync'd /srv/config/nginx-config/sites/ to /etc/nginx/custom-sites
==> default: * RVM 1.29.2
==> default: * Mailcatcher [not installed]
==> default: Building native extensions. This could take a while...
==> default: ERROR: Error installing mailcatcher:
==> default: ERROR: Failed to build gem native extension.
==> default:
==> default: /usr/bin/ruby1.9.1 extconf.rb
==> default: /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
==> default: from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
==> default: from extconf.rb:2:in `<main>'
==> default:
==> default:
==> default: Gem files will remain installed in /var/lib/gems/1.9.1/gems/eventmachine-1.0.9.1 for inspection.
==> default: Results logged to /var/lib/gems/1.9.1/gems/eventmachine-1.0.9.1/ext/gem_make.out
==> default: Regenerating system wrappers
==> default: .............
==> default: Could not find file 'mailcatcher' nor '/usr/local/rvm/wrappers/system/mailcatcher'.
==> default: Could not find file 'catchmail' nor '/usr/local/rvm/wrappers/system/catchmail'.
==> default: * Mailcatcher upstart already configured.
==> default: * Mailcatcher php7 fpm already configured.
==> default: * Copied /srv/config/php-config/php7.0-fpm.conf to /etc/php/7.0/fpm/php-fpm.conf
==> default: * Copied /srv/config/php-config/php7.0-www.conf to /etc/php/7.0/fpm/pool.d/www.conf
==> default: * Copied /srv/config/php-config/php7.0-custom.ini to /etc/php/7.0/fpm/conf.d/php-custom.ini
==> default: * Copied /srv/config/php-config/opcache.ini to /etc/php/7.0/fpm/conf.d/opcache.ini
==> default: * Copied /srv/config/php-config/xdebug.ini to /etc/php/7.0/mods-available/xdebug.ini
==> default: * Copied /srv/config/memcached-config/memcached.conf to /etc/memcached.conf
==> default: Restart services...
==> default: * Restarting nginx nginx
==> default: ...done.
==> default: Restarting memcached:
==> default: memcached.
==> default: stop: Unknown instance:
==> default: mailcatcher start/running, process 10887
==> default: php7.0-fpm stop/waiting
==> default: php7.0-fpm start/running, process 11052
==> default: Setup MySQL configuration file links...
==> default: * Copied /srv/config/mysql-config/my.cnf to /etc/mysql/my.cnf
==> default: * Copied /srv/config/mysql-config/root-my.cnf to /home/vagrant/.my.cnf
==> default: service mysql restart
==> default: * Stopping MariaDB database server mysqld
==> default: ...done.
==> default: * Starting MariaDB database server mysqld
==> default: ...done.
==> default: * Checking for corrupt, not cleanly closed and upgrade needing tables.
==> default: No custom MySQL scripting found in database/init-custom.sql, skipping...
==> default: Initial MySQL prep...
==> default: Start MariaDB Database Import
==> default: No custom databases to import
==> default: Network connection detected...
==> default:
==> default: Installing/updating wp-cli and debugging tools
==> default: Updating wp-cli...
==> default: Downloading from https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli-nightly.phar...
==> default: md5 hash verified: b94b361e43390bf0f879b2a07891bb33
==> default: New version works. Proceeding to replace.
==> default: Success: Updated WP-CLI to the latest nightly release.
==> default: Updating PHP_CodeSniffer (phpcs)...
==> default: From https://github.com/squizlabs/PHP_CodeSniffer
==> default: * branch master -> FETCH_HEAD
==> default: Already up-to-date.
==> default: Updating PHP_CodeSniffer WordPress Coding Standards...
==> default: From https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
==> default: * branch master -> FETCH_HEAD
==> default: Already up-to-date.
==> default: /tmp/vagrant-shell: line 631: phpcs: command not found
==> default: /tmp/vagrant-shell: line 632: phpcs: command not found
==> default: /tmp/vagrant-shell: line 633: phpcs: command not found
==> default: Network connection detected...
==> default:
==> default:
==> default: Cleaning the virtual machine's /etc/hosts file...
==> default: -----------------------------
==> default: Provisioning complete in 72 seconds
==> default: For further setup instructions, visit http://vvv.dev
==> default: Running provisioner: utility-source-core (shell)...
default: Running: /var/folders/wz/__8wn_8n3l777r03pxcf44c40000gn/T/vagrant-shell20170825-71785-1v59ktb.sh
==> default: Updating core resources...
==> default: From https://github.com/Varying-Vagrant-Vagrants/vvv-utilities
==> default: * branch master -> FETCH_HEAD
==> default: Already up-to-date.
==> default: Already on 'master'
==> default: Your branch is up-to-date with 'origin/master'.
==> default: Running provisioner: site-trg (shell)...
default: Running: /var/folders/wz/__8wn_8n3l777r03pxcf44c40000gn/T/vagrant-shell20170825-71785-1kquhec.sh
==> default: Updating trg...
==> default: From https://github.com/JPry/vvv-base
==> default: * branch master -> FETCH_HEAD
==> default: Already up-to-date.
==> default: Already on 'master'
==> default: Your branch is up-to-date with 'origin/master'.
==> default: Running composer with --no-dev
==> default: Loading composer repositories with package information
==> default: Installing dependencies from lock file
==> default: Nothing to install or update
==> default: Generating autoload files
==> default: Error: Cannot find site in config: trg
==> default: /srv/www/trg/provision
==> default: Adding domains to the virtual machine's /etc/hosts file...
==> default: * Added trg.dev from /vagrant/vvv-custom.yml
==> default: * Restarting nginx nginx
==> default: ...done.
==> default: Running provisioner: shell...
default: Running: inline script
==> default: * Stopping MariaDB database server mysqld
==> default: ...done.
==> default: * Starting MariaDB database server mysqld
==> default: ...done.
==> default: * Checking for corrupt, not cleanly closed and upgrade needing tables.
==> default: Running provisioner: shell...
default: Running: inline script
==> default: * Restarting nginx nginx
==> default: ...done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment