Skip to content

Instantly share code, notes, and snippets.

@markbain
Created December 27, 2022 17:13
Show Gist options
  • Save markbain/4b54674266a4c2c35c4347c796c75cfc to your computer and use it in GitHub Desktop.
Save markbain/4b54674266a4c2c35c4347c796c75cfc to your computer and use it in GitHub Desktop.
__ __ __ __
\ V\ V\ V / v3.9.1 Path:"/home/mark/code/vvv"
\_/\_/\_/ git::master(8b46bc24)
Platform: linux shell:/usr/bin/zsh systemd vagrant-goodhosts CaseSensitiveFS shared_db_folder_disabled
Vagrant: v2.3.4, virtualbox: v5.2.42
Docs: https://varyingvagrantvagrants.org/
Contribute: https://github.com/varying-vagrant-vagrants/vvv
Dashboard: http://vvv.test
Bringing machine 'default' up with 'virtualbox' provider...
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 vvv.test
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 one.wordpress.test
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 two.wordpress.test
==> default: [vagrant-goodhosts] Checking for host entries
==> default: [vagrant-goodhosts] Finished processing
==> default: Running provisioner: file...
default: /home/mark/code/vvv/version => /home/vagrant/version
==> default: Running provisioner: pre-provision-script (shell)...
default: Running: inline script
default:
default: ▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄ ▄ ▄ A full provision will take a bit.
default: █▒▒░░░░░░░░░▒▒█ █ █ Sit back, relax, and have some tea.
default: █░░█░░░░░█░░█ ▀ ▀
default: ▄▄ █░░░▀█▀░░░█ █▀▀▀▀▀▀█ If you didn't want to provision you can
default: █░░█ ▀▄░░░░░░░▄▀▄▀▀█ █ turn VVV on with 'vagrant up'.
default: ───────────────────────────────────────────────────────────────────────
default:
==> default: Running provisioner: default (shell)...
default: Running: /tmp/vagrant-shell20221227-30289-ht9u0n.sh
default: * Syncing clocks
default: 27 Dec 16:43:40 ntpdate[46370]: adjust time server 185.125.190.57 offset -0.000082 sec
default: * clocks synced
default: ▷ Running the 'main' provisioner...
default: ▷ Running init hook
default: * Bash profile setup and directories.
default: * Setting ownership of files in /home/vagrant to vagrant
default: * Copying /srv/provision/core/env/homedir/.bash_profile to /home/vagrant/.bash_profile
default: * Copying /srv/provision/core/env/homedir/.bash_aliases to /home/vagrant/.bash_aliases
default: * Copying /srv/provision/core/env/homedir/.bash_aliases to /root/.bash_aliases
default: * Copying /srv/provision/core/env/homedir/.vimrc to /home/vagrant/.vimrc
default: * Copying /srv/provision/core/env/homedir/.subversion/subversion-servers to /home/vagrant/.subversion/servers
default: * Copying /srv/provision/core/env/homedir/.subversion/subversion-config to /home/vagrant/.subversion/config
default: * Copying /srv/provision/core/env/ssh/ssh_known_hosts to /etc/ssh/ssh_known_hosts
default: * Copying /srv/provision/core/env/ssh/sshd_config to /etc/ssh/sshd_config
default: * Reloading SSH Daemon
default: * checking Ubuntu version
default: ✔ Finished init hook in 1s
default: * Testing network connection to http://ppa.launchpad.net with wget -q --spider --timeout=5 --tries=3 http://ppa.launchpad.net
default: * Successful Network connection to http://ppa.launchpad.net detected
default: * Testing network connection to https://wordpress.org with wget -q --spider --timeout=5 --tries=3 https://wordpress.org
default: * Successful Network connection to https://wordpress.org detected
default: * Testing network connection to https://github.com with wget -q --spider --timeout=5 --tries=3 https://github.com
default: * Successful Network connection to https://github.com detected
default: * Testing network connection to https://raw.githubusercontent.com with wget -q --spider --timeout=5 --tries=3 https://raw.githubusercontent.com
default: * Successful Network connection to https://raw.githubusercontent.com detected
default: * Testing network connection to https://getcomposer.org with wget -q --spider --timeout=5 --tries=3 https://getcomposer.org
default: * Successful Network connection to https://getcomposer.org detected
default: * Testing network connection to https://deb.nodesource.com with wget -q --spider --timeout=5 --tries=3 https://deb.nodesource.com
default: * Successful Network connection to https://deb.nodesource.com detected
default: * Testing network connection to https://mirror.rackspace.com with wget -q --spider --timeout=5 --tries=3 https://mirror.rackspace.com
default: * Successful Network connection to https://mirror.rackspace.com detected
default: * Network checks succeeded
default: * Apt package install pre-checks
default: ▷ Running before_packages hook
default: * Setting up MySQL configuration file links...
default: * mysql group exists
default: * mysql user present and has uid 9001
default: * Copying /srv/provision/core/mariadb/config/vvv-core.cnf to /etc/mysql/conf.d/vvv-core.cnf
default: * Copying PHP configs
default: * Checking supplementary PHP configs
default: ✔ Finished before_packages hook in 1s
default: * Registering apt keys
default: ▷ Running register_apt_keys hook
default: ✔ Finished register_apt_keys hook in 1s
default: * Registering apt sources
default: ▷ Running register_apt_sources hook
default: * git-core/ppa already present, skipping
default: * installing MariaDB apt sources
default: ✔ Finished register_apt_sources hook in 0s
default: * Upgrading apt packages
default: * Updating apt keys
default: gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
default: gpg: key 3B4FE6ACC0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" not changed
default: gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
default: gpg: key D94AA3F0EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" not changed
default: gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
default: gpg: key 871920D1991BC93C: "Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>" not changed
default: gpg: Total number processed: 3
default: gpg: unchanged: 3
default: * Running apt-get update...
default: Get:1 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease [23.8 kB]
default: Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease [23.9 kB]
default: Get:3 https://nginx.org/packages/mainline/ubuntu focal InRelease [3,599 B]
default: Get:4 http://us.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
default: Get:5 http://ppa.launchpad.net/git-core/ppa/ubuntu focal/main amd64 Packages [3,020 B]
default: Get:6 http://ppa.launchpad.net/git-core/ppa/ubuntu focal/main Translation-en [2,252 B]
default: Get:7 https://mirror.rackspace.com/mariadb/repo/10.5/ubuntu focal InRelease [7,767 B]
default: Get:8 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main Sources [35.8 kB]
default: Get:9 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main amd64 Packages [114 kB]
default: Get:10 https://nginx.org/packages/mainline/ubuntu focal/nginx Sources [43.6 kB]
default: Get:11 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main Translation-en [36.6 kB]
default: Get:12 https://nginx.org/packages/mainline/ubuntu focal/nginx amd64 Packages [48.0 kB]
default: Get:13 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
default: Get:15 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
default: Get:16 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
default: Get:17 https://mirror.rackspace.com/mariadb/repo/10.5/ubuntu focal/main Sources [1,849 B]
default: Get:18 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
default: Get:19 https://mirror.rackspace.com/mariadb/repo/10.5/ubuntu focal/main ppc64el Packages [16.7 kB]
default: Get:14 https://packagecloud.io/github/git-lfs/ubuntu focal InRelease [24.4 kB]
default: Get:20 http://us.archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
default: Get:21 http://us.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22.0 kB]
default: Get:22 http://us.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6,212 B]
default: Get:23 https://mirror.rackspace.com/mariadb/repo/10.5/ubuntu focal/main s390x Packages [15.1 kB]
default: Get:24 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,628 kB]
default: Get:25 https://mirror.rackspace.com/mariadb/repo/10.5/ubuntu focal/main arm64 Packages [16.7 kB]
default: Get:26 https://packagecloud.io/github/git-lfs/ubuntu focal/main amd64 Packages [3,052 B]
default: Get:27 https://mirror.rackspace.com/mariadb/repo/10.5/ubuntu focal/main amd64 Packages [17.4 kB]
default: Get:28 http://us.archive.ubuntu.com/ubuntu focal/universe Translation-en [5,124 kB]
default: Get:29 http://us.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB]
default: Get:30 http://us.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB]
default: Get:31 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2,269 kB]
default: Get:32 http://us.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [395 kB]
default: Get:33 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1,476 kB]
default: Get:34 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [208 kB]
default: Get:35 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,009 kB]
default: Get:36 http://us.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [234 kB]
default: Get:37 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [24.5 kB]
default: Get:38 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [7,380 B]
default: Get:39 http://us.archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [45.7 kB]
default: Get:40 http://us.archive.ubuntu.com/ubuntu focal-backports/main Translation-en [16.3 kB]
default: Get:41 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [24.9 kB]
default: Get:42 http://us.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [16.3 kB]
default: Get:43 http://us.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [1,895 kB]
default: Get:44 http://us.archive.ubuntu.com/ubuntu focal-security/main Translation-en [311 kB]
default: Get:45 http://us.archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1,385 kB]
default: Get:46 http://us.archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [195 kB]
default: Get:47 http://us.archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [778 kB]
default: Get:48 http://us.archive.ubuntu.com/ubuntu focal-security/universe Translation-en [150 kB]
default: Get:49 http://us.archive.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [22.2 kB]
default: Get:50 http://us.archive.ubuntu.com/ubuntu focal-security/multiverse Translation-en [5,464 B]
default: Fetched 27.0 MB in 14s (1,881 kB/s)
default: Reading package lists...
default: Reading package lists...
default: Building dependency tree...
default: Reading state information...
default: Calculating upgrade...
default: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
default: * Registering apt packages to install
default: ▷ Running register_apt_packages hook
default: ✔ Finished register_apt_packages hook in 0s
default: * Main packages check and install.
default: * Checking for apt packages to remove.
default: * No apt packages to remove
default: * Checking for apt packages to install.
default: * No apt packages to install
default: * Running after_packages
default: ▷ Running after_packages hook
default: false
default: * Adding Mailhog service file
default: * Enabling MailHog Service
default: * Starting MailHog Service
default: * Checking for NVM
default: ✓ NVM is already installed, checking for updates
default: HEAD is now at 552db40 v0.39.3
default: /home/vagrant
default: - Loading nvm
default: - nvm loaded
default: - Installing Node 14 via nvm
default: v14.21.2 is already installed.
default: Now using node v14.21.2 (npm v6.14.17)
default: Now using node v14.21.2 (npm v6.14.17)
default: - Ensuring vagrant user owns its own nvm folder
default: - NVM setup completed
default: * Setting up database configuration file links...
default: * Copied /srv/provision/core/mariadb/config/my.cnf to /etc/mysql/my.cnf
default: * Copied /srv/provision/core/mariadb/config/root-my.cnf to /home/vagrant/.my.cnf
default: * Checking the root user password is root
default: * The database root password is the expected value
default: * Starting the mariadb service
default: * No custom MySQL scripting found in database/init-custom.sql, skipping...
default: * Initial SQL prep...
default: * Skipping DB import script, disabled via the VVV config file
default: * Setup configuration files...
default: * Copying /srv/provision/core/nginx/config/nginx.conf to /etc/nginx/nginx.conf
default: * Copying /srv/provision/core/nginx/config/nginx-wp-common.conf to /etc/nginx/nginx-wp-common.conf
default: * Copying /srv/provision/core/nginx/default-pages to /usr/share/nginx/html
default: ▷ Running nginx_upstreams hook
default: * Copying /srv/config/php-config/upstream.conf to /etc/nginx/upstreams/php74.conf
default: ✔ Finished nginx_upstreams hook in 0s
default: * Rsync'ing /srv/provision/core/nginx/config/sites/ to /etc/nginx/custom-sites
default: sending incremental file list
default: default.conf
default:
default: sent 1.05K bytes received 35 bytes 2.18K bytes/sec
default: total size is 2.39K speedup is 2.20
default: * Making sure the Nginx log files and folder exist
default: * Copying PHP configs
default: * Checking supplementary PHP configs
default: * Copying /srv/provision/core/memcached/config/memcached.conf to /etc/memcached.conf and /etc/memcached_default.conf
default: ✔ Finished after_packages hook in 20s
default: * Finalizing
default: ▷ Running finalize hook
default: * Cleaning up Nginx configs
default: * Disabling XDebug PHP extension
default: ▷ Running php_finalize hook
default: * Enabling MailHog for PHP
default: * MailHog enabled
default: ✔ Finished php_finalize hook in 0s
default: * Cleaning the virtual machine's /etc/hosts file...
default: * Restarting services...
default: ▷ Running services_restart hook
default: ✔ Finished services_restart hook in 6s
default: * Services restarted...
default: ✔ Finished finalize hook in 7s
default: ✔ The 'main' provisioner completed in 60 seconds.
==> default: Running provisioner: tools (shell)...
default: Running: /tmp/vagrant-shell20221227-30289-18zbm0c.sh
default: ▷ Running the 'tools' provisioner...
default: ▷ Running tools_pre_setup hook
default: * [Composer]: Turning off PHP debug mods to avoid Composer performance issues
default: * Restarting PHP FPM services so that the change takes effect
default: ✔ All PHP Debug mods are now turned off.
default: ✔ Finished tools_pre_setup hook in 1s
default: ▷ Running tools_setup hook
default: * [Composer]: Checking if Composer is installed
default: * [Composer]: Already installed
default: * [Composer]: Making sure the Composer cache is not owned by root
default: * [Composer]: Checking for GitHub tokens
default: * [Composer]: Checking for Composer updates
default: * [Composer]: Main tasks completed, running after_composer hook
default: ▷ Running after_composer hook
default: * [PHPCS]: Provisioning PHP_CodeSniffer (phpcs), see https://github.com/squizlabs/PHP_CodeSniffer
default: Loading composer repositories with package information
default: Info from https://repo.packagist.org: #StandWithUkraine
default: Updating dependencies
default: Lock file operations: 8 installs, 0 updates, 0 removals
default: - Locking automattic/vipwpcs (2.3.3)
default: - Locking dealerdirect/phpcodesniffer-composer-installer (v0.7.2)
default: - Locking phpcompatibility/php-compatibility (9.3.5)
default: - Locking phpcompatibility/phpcompatibility-paragonie (1.3.2)
default: - Locking phpcompatibility/phpcompatibility-wp (2.1.4)
default: - Locking sirbrillig/phpcs-variable-analysis (v2.11.9)
default: - Locking squizlabs/php_codesniffer (3.7.1)
default: - Locking wp-coding-standards/wpcs (2.3.0)
default: Writing lock file
default: Installing dependencies from lock file (including require-dev)
default: Package operations: 8 installs, 0 updates, 0 removals
default: - Installing squizlabs/php_codesniffer (3.7.1): Extracting archive
default: Skipped installation of bin bin/phpcs for package squizlabs/php_codesniffer: file not found in package
default: Skipped installation of bin bin/phpcbf for package squizlabs/php_codesniffer: file not found in package
default: Install of squizlabs/php_codesniffer failed
default:
default: In Filesystem.php line 314:
default:
default: Could not delete /srv/www/phpcs/vendor/squizlabs/php_codesniffer:
default:
default:
default: update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]
default:
default: ! The 'tools' provisioner ran into problems, the full log is available at '/var/log/provisioners/2022.12.27_16-43-40/provisioner-tools.log'. It completed in 6 seconds.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment