I think it is related to this part but I can't seem to make it work. Tried it many times. I have also done a Vagrant Destroy but it says I didn't have a VM anyway.
keith@keith-OptiPlex-7010:~/vagrant-local$ ls
certificates config log Vagrantfile www
CHANGELOG.md database provision version
CODE_OF_CONDUCT.md LICENSE README.md wp-cli.yml
keith@keith-OptiPlex-7010:~/vagrant-local$ vagrant destroy
==> default: Running action triggers before destroy ...
==> default: Running trigger: VVV Pre-Destroy...
==> default: Could not run remote script on default because its state is not_created
==> default: Trigger configured to continue on error...
==> default: VM not created. Moving on...
==> default: [vagrant-hostsupdater] Removing hosts
==> default: [vagrant-hostsupdater] No machine id, nothing removed from /etc/hosts
keith@keith-OptiPlex-7010:~/vagrant-local$ vagrant up
__ __ __ __
\ V\ V\ V / Varying Vagrant Vagrants
\_/\_/\_/ v3.3.0-git::master
Platform: platform-linux-gnu shell:/bin/bash systemd vagrant-hostsupdater CaseSensitiveFS shared_db_folder_disabled , VVV Path: "/home/keith/vagrant-local"
Vagrant: v2.2.7, VirtualBox: v6.1.4r136177
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/bionic64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/bionic64' version '20200218.0.0' is up to date...
==> default: Setting the name of the VM: vagrant-local_1ab741e7ed7
==> 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 username: vagrant
default: SSH auth method: private key
default: Warning: Connection reset. Retrying...
default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 5.2.34
default: VirtualBox Version: 6.1
==> default: [vagrant-hostsupdater] Checking for host entries
==> default: [vagrant-hostsupdater] Writing the following entries to (/etc/hosts)
==> default: [vagrant-hostsupdater] 192.168.50.4 vvv # VAGRANT: d4fcae7a5546d3f970a0268a3e5f07db (default) / 4aec4831-cc3e-40b5-91ab-f5c81db5f4c7
==> default: [vagrant-hostsupdater] 192.168.50.4 vvv.test # VAGRANT: d4fcae7a5546d3f970a0268a3e5f07db (default) / 4aec4831-cc3e-40b5-91ab-f5c81db5f4c7
==> default: [vagrant-hostsupdater] 192.168.50.4 one.wordpress.test # VAGRANT: d4fcae7a5546d3f970a0268a3e5f07db (default) / 4aec4831-cc3e-40b5-91ab-f5c81db5f4c7
==> default: [vagrant-hostsupdater] 192.168.50.4 two.wordpress.test # VAGRANT: d4fcae7a5546d3f970a0268a3e5f07db (default) / 4aec4831-cc3e-40b5-91ab-f5c81db5f4c7
==> default: [vagrant-hostsupdater] This operation requires administrative access. You may skip it by manually adding equivalent entries to the hosts file.
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /srv/www => /home/keith/vagrant-local/www
default: /srv/config => /home/keith/vagrant-local/config
default: /var/log/php => /home/keith/vagrant-local/log/php
default: /srv/database => /home/keith/vagrant-local/database/sql
default: /srv/provision => /home/keith/vagrant-local/provision
default: /var/log/nginx => /home/keith/vagrant-local/log/nginx
default: /srv/certificates => /home/keith/vagrant-local/certificates
default: /var/log/memcached => /home/keith/vagrant-local/log/memcached
default: /var/log/provisioners => /home/keith/vagrant-local/log/provisioners
==> default: Running provisioner: file...
default: /home/keith/vagrant-local/version => /home/vagrant/version
==> default: Running provisioner: default (shell)...
default: Running: /tmp/vagrant-shell20200225-14283-1heiqse.sh
default: * Beginning Main VVV Provisioner, if this is the first provision this may take a few minutes
default: * Testing network connection
default: * Bash profile setup and directories.
default: * Setting ownership of files in /home/vagrant to vagrant
default: * Copying /srv/config/bash_profile to /home/vagrant/.bash_profile
default: * Copying /srv/config/bash_aliases to /home/vagrant/.bash_aliases
default: * Copying /srv/config/bash_aliases to /root/.bash_aliases
default: * Copying /srv/config/vimrc to /home/vagrant/.vimrc
default: * Copying /srv/config/subversion-servers to /home/vagrant/.subversion/servers
default: * Copying /srv/config/subversion-config to /home/vagrant/.subversion/config
default: * Copying /srv/config/ssh_known_hosts to /etc/ssh/ssh_known_hosts
default: * Copying /srv/config/sshd_config to /etc/ssh/sshd_config
default: * Reloading SSH Daemon
default: * Testing network connection
default:
default: * Main packages check and install.
default: grep:
default: /etc/apt/sources.list.d/*.list: No such file or directory
default: * git-core/ppa already present, skipping
default:
default: * Setting up MySQL configuration file links...
default: * creating mysql group
default: * adding the mysql user
default: uid=9001(mysql) gid=9001(mysql) groups=9001(mysql),115(vboxsf)
default: * Copying /srv/config/mysql-config/vvv-core.cnf to /etc/mysql/conf.d/vvv-core.cnf
default: * Copying custom apt sources
default: * Checking Apt Keys
default: * Applying NodeSource NodeJS signing key...
default: OK
default: * Applying Nginx signing key...
default: OK
default: * Applying the Ondřej PHP signing key...
default: OK
default: * Applying the Varying Vagrant Vagrants mirror signing key...
default: OK
default: * Applying the MariaDB signing key...
default: OK
default: * Applying the PackageCloud Git-LFS signing key...
default: OK
default: * Applying the MongoDB 4.0 signing key...
default: OK
default: * Running apt-get update...
default: Could not connect to
ppa.launchpad.net:80 (91.189.95.83), connection timed out [IP: 91.189.95.83 80]
default: Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
default: Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
default: Could not connect to
nginx.org:443 (95.211.80.227), connection timed out Could not connect to
nginx.org:443 (62.210.92.35), connection timed out [IP: 95.211.80.227 443]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.174 80]
default: Fetched 2239 kB in 1min 8s (33.1 kB/s)
default: Reading package lists...
default:
default: W: Some index files failed to download. They have been ignored, or old ones used instead.
default: * Installing apt-get packages...
default: Reading package lists...
default: Building dependency tree...
default: Reading state information...
default: Package graphviz is not available, but is referred to by another package.
default: This may mean that the package is missing, has been obsoleted, or
default: is only available from another source
default: Package subversion is not available, but is referred to by another package.
default: This may mean that the package is missing, has been obsoleted, or
default: is only available from another source
default: E: Package 'subversion' has no installation candidate
default: E: Unable to locate package ngrep
default: E: Unable to locate package colordiff
default: E: Unable to locate package python-pip
default: E: Package 'graphviz' has no installation candidate
default: E: Unable to locate package dos2unix
default: * Installing apt-get packages returned a failure code, cleaning up apt caches then exiting
default: ! Main packages check and install failed, halting provision
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.
keith@keith-OptiPlex-7010:~/vagrant-local$ vagrant up
__ __ __ __
\ V\ V\ V / Varying Vagrant Vagrants
\_/\_/\_/ v3.3.0-git::master
Platform: platform-linux-gnu shell:/bin/bash systemd vagrant-hostsupdater CaseSensitiveFS shared_db_folder_disabled , VVV Path: "/home/keith/vagrant-local"
Vagrant: v2.2.7, VirtualBox: v6.1.4r136177
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/bionic64' version '20200218.0.0' is up to date...
==> 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.test
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 one.wordpress.test
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 two.wordpress.test
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
==> default: Running action triggers after up ...
==> default: Running trigger: VVV Post-Up...
default: Running: inline script
default: Post Vagrant up script
default: Restarting Nginx and MySQL
default: Failed to restart nginx.service: Unit nginx.service not found.
default: Failed to restart mysql.service: Unit mysql.service not found.
default:
default: yay
default: ▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄ __ __ __ __
default: █▒▒░░░░░░░░░▒▒█ Thanks for \ V\ V\ V /
default: █░░█░░░░░█░░█ using \_/\_/\_/
default: ▄▄ █░░░▀█▀░░░█ ▄▄
default: █░░█ ▀▄░░░░░░░▄▀ █░░█ Vagrant Up has finished! Visit
http://vvv.test default:
keith@keith-OptiPlex-7010:~/vagrant-local$ ^C
keith@keith-OptiPlex-7010:~/vagrant-local$ ^C
keith@keith-OptiPlex-7010:~/vagrant-local$ vagrant destroy
==> default: Running action triggers before destroy ...
==> default: Running trigger: VVV Pre-Destroy...
default: Running: inline script
default: Performing Database Backups
default: /srv/config/homebin/db_backup: line 8: mysql: command not found
default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
==> default: [vagrant-hostsupdater] Removing hosts
keith@keith-OptiPlex-7010:~/vagrant-local$