-
-
Notifications
You must be signed in to change notification settings - Fork 647
Setup fails using default composer + NFS: "Could not delete web/core/.nfs" #893
Comments
@mdrmike - Hmm... you have all the right versions, AFAICT. I can't think of anything else to try, besides completely deleting the Drupal VM checkout and cloning again. |
Thanks for feedback. Ya, re-cloning is actually where I started ... in fact, it had been working under 14.04 and I've had a problem since migrating to 16.04 (I did not run an upgrade)... and I just put off looking into. I'll continue to mess with it to see if I can isolate what's going on. |
I actually got this error as well.
I have never seen this error before. Very Strange. |
Actually, I only ran into this issue when I ran |
I've ran into this exact issue on other machines (AWS) outside of DrupalVM, when having the code base on a mounted drive. This seems potentially like not a DrupalVM issue. |
See: #741 Specifically: #741 (comment)
It looks like it's some sort of timeout issue with large number of file operations through Composer. I typically recommend (if at all possible) running any composer operations outside the VM, because performance is usually better and these types of errors don't occur as often. |
If You use drupalvm, On Vagrantfile modifiy this line: config.vm.synced_folder synced_folder['local_path'], synced_folder['destination'], options by: config.vm.synced_folder synced_folder['local_path'], synced_folder['destination'], :nfs => 'nfs', :mount_options => ['rw', 'vers=3', 'tcp', 'fsc' ,'actimeo=2'], :linux__nfs_options => ['rw','no_subtree_check','all_squash','async'] This allow, to make the NFS share asynchronous. |
This appears to have solved the problem in my case. Add a
|
I had to up the |
I have the same problem. Setting process-timeout to 6000 does not solve the problem:
|
When running
vagrant up
-- build fails. I'm not sure how to debug? Is there a verbose flag/mode I could login to watch build?I've tried installing 5-7 times with varied configurations -- including totally vanilla without any custom config.
Failure message
This is the failure message, or some similar variation.
Note: Seems related to #741 and #733 (but both are closed). I also ran into #837 on one variation of the build, but couldn't reproduce. (might have been a flag related to drush/composer)
Build-out does work on Drupal 8 & Drupal 7 if using
drupal.drush.yml
instead of composer:Host Machine Setup
Vagrant Plugins
Suggestions?
The text was updated successfully, but these errors were encountered: