VVV: Error on re-provision: chmod on /srv/www/my_site/.git/config.lock failed
Expected Behavior
I am trying to add a new site to VVV.
Current Behavior
To add my new site, I first added the following entry to vvv-custom.yml:
feedxl:
repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
hosts:
- feedxl.test
I then executed vagrant up --provision. During that process, when it came time to bring up my new site, it failed with the error:
default: Downloading feedxl, see https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
default: error: chmod on /srv/www/feedxl/.git/config.lock failed: Operation not permitted
default: fatal: could not set 'core.filemode' to 'false'
default: Error: The /srv/www/feedxl folder does not exist, and no repo was specified in the config file, there is nothing to provision for this site!
Possible Solution
I tried inspecting my VVV root directory. Inside that directory, the www folder was marked ‘read only.’ So I removed that designation. But the error still remained.
Steps to Reproduce (for bugs)
- Add new site code to vvv-custom.yml.
- Run vagrant up --provision.
Here is a link to more lines of the output. FYI it is not the full output. I can link that if you want.
Your Environment
- VVV version: 2.6.0-4-g678d59b
- VVV Git Branch: develop
- Vagrant version: 2.2.4
- VM Provider name: VirtualBox
- VM Provider version: Version 6.0.6 r130049 (Qt5.6.2)
- Operating System and version: Win 10, x64
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 93 (39 by maintainers)
I’m closing this out, we’ve changed our box, provisioners, and moved from Ubuntu 14 to 18. If anybody gets this again please feel free to reopen