Will Dove
Will Dove

Reputation: 99

Vagrant 'vv create' gives 404 Not Found nginx error

Problem with Variable VVV....I have Variable VVV installed and running. When I run vv create it creates the directory and the database (and reports success) but does not transfer the Wordpress folders and files to the directory. When I attempt to access the directory I get a 404 Not Found nginx error. The only files which exist in the directory are vvv-hosts, vvv-init.sh, wp-cli.yml. I am on Windows 10 running Git Bash as administrator. Can anyone point me in the right direction?

Upvotes: 0

Views: 820

Answers (1)

Greg Barbosa
Greg Barbosa

Reputation: 41

What appears to be happening is that when the vv create command is run, the 'htdocs' folder with the expected WordPress files are not being installed. To solve this problem, I ran this solution found on Brad Parb's vv Github Issues:

cd dev/vagrant-local # Use location of vagrant-local on your machine

vagrant ssh

cd /srv/www/Your-Site-Name

./vvv-init.sh

Upvotes: 4

Related Questions