Skip to content

Instantly share code, notes, and snippets.

@sabbir1991
Last active January 26, 2022 19:52
Show Gist options
  • Save sabbir1991/e64bec9bb2649dbffd4180a0fad3860b to your computer and use it in GitHub Desktop.
Save sabbir1991/e64bec9bb2649dbffd4180a0fad3860b to your computer and use it in GitHub Desktop.
Provision issue
➜ vvv-local git:(stable) vagrant reload --provision
__ __ __ __
\ V\ V\ V / v3.8.1 Path:"/Users/sabbir/vvv-local"
\_/\_/\_/ git::stable(8252690)
Platform: darwin19 shell:/bin/zsh vagrant-goodhosts shared_db_folder_disabled
Vagrant: v2.2.19, virtualbox: v6.1.32
Docs: https://varyingvagrantvagrants.org/
Contribute: https://github.com/varying-vagrant-vagrants/vvv
Dashboard: http://vvv.test
==> default: Running action triggers before reload ...
==> default: Running trigger: VVV Pre-Reload...
default: Running: inline script
default: * Performing Database Backups
default: * Fetching Database names
default: - skipped information_schema
default: - skipped mysql
default: - skipped performance_schema
default: - skipped wordpress_unit_tests
default: - 0/8 Backing up 'billboard-com' to 'database/backups/billboard-com.sql'
default: - 1/8 Backing up 'rollingstone-com' to 'database/backups/rollingstone-com.sql'
default: - 2/8 Backing up 'rr1-com' to 'database/backups/rr1-com.sql'
default: - 3/8 Backing up 'sheknows-com' to 'database/backups/sheknows-com.sql'
default: - 4/8 Backing up 'soaps-com' to 'database/backups/soaps-com.sql'
default: - 5/8 Backing up 'sourcingjournal-com' to 'database/backups/sourcingjournal-com.sql'
default: - 6/8 Backing up 'sportico-com' to 'database/backups/sportico-com.sql'
default: - 7/8 Backing up 'stylecaster-com' to 'database/backups/stylecaster-com.sql'
default: * Finished backing up databases to the database/sql/backups folder
default: . ★ ☁ ★ .
default: Z ☽ ★ . ☁
default: Z ▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄ ★ __★__ __ __
default: ☁ z█▒▒░░░░░░░░░▒▒█ Sleep tight \ V\ V\ V /
default: ★ █░░▁░░░░░▁░░█ ★ \_/\_/\_/
default: . █░░░▀█▀░░░█ . ★
default: ★ ▀▄░░░░░░░▄▀ ★ .
default:
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 vvv.test
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 soaps-com.test
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 sportico-com.test
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 sourcingjournal-com.test
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 stylecaster-com.test
==> default: [vagrant-goodhosts] Checking for host entries
==> default: [vagrant-goodhosts] Finished processing
==> default: Attempting graceful shutdown of VM...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /srv/www => /Users/sabbir/vvv-local/www
default: /srv/config => /Users/sabbir/vvv-local/config
default: /var/log/php => /Users/sabbir/vvv-local/log/php
default: /srv/database => /Users/sabbir/vvv-local/database/sql
default: /var/log/nginx => /Users/sabbir/vvv-local/log/nginx
default: /srv/provision => /Users/sabbir/vvv-local/provision
default: /srv/certificates => /Users/sabbir/vvv-local/certificates
default: /var/log/memcached => /Users/sabbir/vvv-local/log/memcached
default: /var/log/provisioners => /Users/sabbir/vvv-local/log/provisioners
==> default: Detected mount owner ID within mount options. (uid: 0 guestpath: /var/log/memcached)
==> default: Detected mount group ID within mount options. (gid: 0 guestpath: /var/log/memcached)
==> default: Detected mount owner ID within mount options. (uid: 0 guestpath: /var/log/nginx)
==> default: Detected mount group ID within mount options. (gid: 0 guestpath: /var/log/nginx)
==> default: Detected mount owner ID within mount options. (uid: 0 guestpath: /var/log/php)
==> default: Detected mount group ID within mount options. (gid: 0 guestpath: /var/log/php)
==> default: Detected mount owner ID within mount options. (uid: 0 guestpath: /var/log/provisioners)
==> default: Detected mount group ID within mount options. (gid: 0 guestpath: /var/log/provisioners)
==> default: Detected mount owner ID within mount options. (uid: 1000 guestpath: /srv/www)
==> default: Detected mount group ID within mount options. (gid: 33 guestpath: /srv/www)
==> default: Running provisioner: file...
default: /Users/sabbir/vvv-local/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: /var/folders/np/z18dlrb9297d97xq5gkg7fq00000gn/T/vagrant-shell20220127-42590-vx3z4.sh
default: * Syncing clocks
default: 26 Jan 18:04:43 ntpdate[3397]: step time server 91.189.94.4 offset 4.480089 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
default: * Successful Network connection to http://ppa.launchpad.net detected
default: * Testing network connection to https://wordpress.org
default: * Successful Network connection to https://wordpress.org detected
default: * Testing network connection to https://github.com
default: * Successful Network connection to https://github.com detected
default: * Testing network connection to https://raw.githubusercontent.com
default: * Successful Network connection to https://raw.githubusercontent.com detected
default: * Testing network connection to https://getcomposer.org
default: * Successful Network connection to https://getcomposer.org detected
default: * Testing network connection to https://deb.nodesource.com
default: * Successful Network connection to https://deb.nodesource.com detected
default: * Testing network connection to http://ftp.yz.yamagata-u.ac.jp
default: ! Network connection issues found. Unable to reach http://ftp.yz.yamagata-u.ac.jp
default: #################################################################
default:
default: ! Network Problem:
default:
default: VVV tried to ping several domains it needs but some failed:
default:
default: [✓] http://ppa.launchpad.net
default: [✓] https://wordpress.org
default: [✓] https://github.com
default: [✓] https://raw.githubusercontent.com
default: [✓] https://getcomposer.org
default: [✓] https://deb.nodesource.com
default: [x] http://ftp.yz.yamagata-u.ac.jp
default:
default: Make sure you have a working internet connection, that you
default: restarted after installing VirtualBox and Vagrant, and that
default: they aren't blocked by a firewall or security software.
default: If you can load the address in your browser, then VVV should
default: be able to connect.
default:
default: Also note that some users have reported issues when combined
default: with VPNs, disable your VPN and reprovision to see if this is
default: the cause.
default:
default: Additionally, if you're at a contributor day event, be kind,
default: provisioning involves downloading things, a full provision may
default: ruin the wifi for everybody else :(
default:
default: Aborting provision.
default: Try provisioning again once network connectivity is restored.
default: If that doesn't work, and you're sure you have a strong
default: internet connection, open an issue on GitHub, and include the
default: output above so that the problem can be debugged
default:
default: vagrant reload --provision
default:
default: https://github.com/Varying-Vagrant-Vagrants/VVV/issues
default:
default: #################################################################
default: /tmp/vagrant-shell: line 75: vvv_warning: command not found
default: ! The 'main' provisioner ran into problems, the full log is available at '/var/log/provisioners/2022.01.26_18-04-43/provisioner-main.log'. It completed in 140 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.
➜ vvv-local git:(stable) vagrant reload --provision
__ __ __ __
\ V\ V\ V / v3.8.1 Path:"/Users/sabbir/vvv-local"
\_/\_/\_/ git::stable(8252690)
Platform: darwin19 shell:/bin/zsh vagrant-goodhosts shared_db_folder_disabled
Vagrant: v2.2.19, virtualbox: v6.1.32
Docs: https://varyingvagrantvagrants.org/
Contribute: https://github.com/varying-vagrant-vagrants/vvv
Dashboard: http://vvv.test
==> default: Running action triggers before reload ...
==> default: Running trigger: VVV Pre-Reload...
default: Running: inline script
default: * Performing Database Backups
default: * Fetching Database names
default: - skipped information_schema
default: - skipped mysql
default: - skipped performance_schema
default: - skipped wordpress_unit_tests
default: - 0/8 Backing up 'billboard-com' to 'database/backups/billboard-com.sql'
default: - 1/8 Backing up 'rollingstone-com' to 'database/backups/rollingstone-com.sql'
default: - 2/8 Backing up 'rr1-com' to 'database/backups/rr1-com.sql'
default: - 3/8 Backing up 'sheknows-com' to 'database/backups/sheknows-com.sql'
default: - 4/8 Backing up 'soaps-com' to 'database/backups/soaps-com.sql'
default: - 5/8 Backing up 'sourcingjournal-com' to 'database/backups/sourcingjournal-com.sql'
default: - 6/8 Backing up 'sportico-com' to 'database/backups/sportico-com.sql'
default: - 7/8 Backing up 'stylecaster-com' to 'database/backups/stylecaster-com.sql'
default: * Finished backing up databases to the database/sql/backups folder
default: . ★ ☁ ★ .
default: Z ☽ ★ . ☁
default: Z ▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄ ★ __★__ __ __
default: ☁ z█▒▒░░░░░░░░░▒▒█ Sleep tight \ V\ V\ V /
default: ★ █░░▁░░░░░▁░░█ ★ \_/\_/\_/
default: . █░░░▀█▀░░░█ . ★
default: ★ ▀▄░░░░░░░▄▀ ★ .
default:
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 vvv.test
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 soaps-com.test
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 sportico-com.test
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 sourcingjournal-com.test
==> default: [vagrant-goodhosts] - found entry for: 192.168.56.4 stylecaster-com.test
==> default: [vagrant-goodhosts] Checking for host entries
==> default: [vagrant-goodhosts] Finished processing
==> default: Attempting graceful shutdown of VM...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /srv/www => /Users/sabbir/vvv-local/www
default: /srv/config => /Users/sabbir/vvv-local/config
default: /var/log/php => /Users/sabbir/vvv-local/log/php
default: /srv/database => /Users/sabbir/vvv-local/database/sql
default: /var/log/nginx => /Users/sabbir/vvv-local/log/nginx
default: /srv/provision => /Users/sabbir/vvv-local/provision
default: /srv/certificates => /Users/sabbir/vvv-local/certificates
default: /var/log/memcached => /Users/sabbir/vvv-local/log/memcached
default: /var/log/provisioners => /Users/sabbir/vvv-local/log/provisioners
==> default: Detected mount owner ID within mount options. (uid: 0 guestpath: /var/log/memcached)
==> default: Detected mount group ID within mount options. (gid: 0 guestpath: /var/log/memcached)
==> default: Detected mount owner ID within mount options. (uid: 0 guestpath: /var/log/nginx)
==> default: Detected mount group ID within mount options. (gid: 0 guestpath: /var/log/nginx)
==> default: Detected mount owner ID within mount options. (uid: 0 guestpath: /var/log/php)
==> default: Detected mount group ID within mount options. (gid: 0 guestpath: /var/log/php)
==> default: Detected mount owner ID within mount options. (uid: 0 guestpath: /var/log/provisioners)
==> default: Detected mount group ID within mount options. (gid: 0 guestpath: /var/log/provisioners)
==> default: Detected mount owner ID within mount options. (uid: 1000 guestpath: /srv/www)
==> default: Detected mount group ID within mount options. (gid: 33 guestpath: /srv/www)
==> default: Running provisioner: file...
default: /Users/sabbir/vvv-local/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: /var/folders/np/z18dlrb9297d97xq5gkg7fq00000gn/T/vagrant-shell20220127-53487-1gm7zvt.sh
default: * Syncing clocks
default: 26 Jan 18:26:26 ntpdate[3389]: step time server 91.189.94.4 offset 3.998295 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 0s
default: * Testing network connection to http://ppa.launchpad.net
default: * Successful Network connection to http://ppa.launchpad.net detected
default: * Testing network connection to https://wordpress.org
default: * Successful Network connection to https://wordpress.org detected
default: * Testing network connection to https://github.com
default: * Successful Network connection to https://github.com detected
default: * Testing network connection to https://raw.githubusercontent.com
default: * Successful Network connection to https://raw.githubusercontent.com detected
default: * Testing network connection to https://getcomposer.org
default: * Successful Network connection to https://getcomposer.org detected
default: * Testing network connection to https://deb.nodesource.com
default: * Successful Network connection to https://deb.nodesource.com detected
default: * Testing network connection to http://ftp.yz.yamagata-u.ac.jp
default: ! Network connection issues found. Unable to reach http://ftp.yz.yamagata-u.ac.jp
default: #################################################################
default:
default: ! Network Problem:
default:
default: VVV tried to ping several domains it needs but some failed:
default:
default: [✓] http://ppa.launchpad.net
default: [✓] https://wordpress.org
default: [✓] https://github.com
default: [✓] https://raw.githubusercontent.com
default: [✓] https://getcomposer.org
default: [✓] https://deb.nodesource.com
default: [x] http://ftp.yz.yamagata-u.ac.jp
default:
default: Make sure you have a working internet connection, that you
default: restarted after installing VirtualBox and Vagrant, and that
default: they aren't blocked by a firewall or security software.
default: If you can load the address in your browser, then VVV should
default: be able to connect.
default:
default: Also note that some users have reported issues when combined
default: with VPNs, disable your VPN and reprovision to see if this is
default: the cause.
default:
default: Additionally, if you're at a contributor day event, be kind,
default: provisioning involves downloading things, a full provision may
default: ruin the wifi for everybody else :(
default:
default: Aborting provision.
default: Try provisioning again once network connectivity is restored.
default: If that doesn't work, and you're sure you have a strong
default: internet connection, open an issue on GitHub, and include the
default: output above so that the problem can be debugged
default:
default: vagrant reload --provision
default:
default: https://github.com/Varying-Vagrant-Vagrants/VVV/issues
default:
default: #################################################################
default: /tmp/vagrant-shell: line 75: vvv_warning: command not found
default: ! The 'main' provisioner ran into problems, the full log is available at '/var/log/provisioners/2022.01.26_18-26-26/provisioner-main.log'. It completed in 134 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