-
Notifications
You must be signed in to change notification settings - Fork 88
vvv-init.sh not executable by default #339
Comments
I was having this issue too. I recently ran a clean install of Sierra, and since that (plus a fresh install of vagrant, vv, etc.) it's working again. |
I am also having this issue with clean installs of everything. I did notice the file structure changed in in the the site folders (they now have public_html, provision, etc). Would that affect the path of the install? |
@alexishancock I would recommend you check #340 for a [temporary] solution. |
@vitolob Thanks! I went through that process and I still have the same results. It turns out the vv-init.sh file created by I see these lines:
Then it proceeds to create htdocs folder & installs wordpress into there. |
@alexishancock Could you be more specific as to what problem exactly are you having? Which process did you go through? That part of the script is fine. |
@vitolob The "provision" folder I noticed holds these files: However, when I create a new site and manually run With that said, I also noticed when I ran These may have nothing to do with my issue, but I just wanted to point out this new file structure that I see that doesn't at all reflect the created sites file structure. |
@alexishancock PS: The new site provisioner in VVV 2 will look for two files |
@vitolob No unfortunately I haven't been able to run a new site. The install folder for wordpress from |
@alexishancock |
Okay it turns out I was missing the command |
Closing this, I'm going to start tracking 2.0 support in #348. |
I have a recent installation of Kubuntu 16.04 on which I installed VVV using the guide from the VVV site. I then installed Variable VVV (as I have done before on my previous machine). Since then I created a new site with
vv create
just like normal - it made the site, created the folder with the hosts file, init script, etc. and the output in terminal all seemed fine (with my username and all). The problem was that WordPress was not downloaded and the database was not created, so I manually ranvagrant up --provision
, but it didn't change anything.To fix the issue I had to SSH into the Vagrant box using
vagrant ssh
, and runchmod +x vvv-init.sh
in the site's folder in order to get the script to work so that WordPress could be installed. After doing thatvagrant up --provision
worked as expected (downloaded WP, created the database and set everything up as I had specified).I created another new site after this as a test and the same thing happened again. Is this a known oddity on Linux? Or perhaps some kind of permissions issue that I wasn't aware of?
Happy to provide any additional info that you may need.
The text was updated successfully, but these errors were encountered: