-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: cannot remove xhgui during provisioning #1304
Comments
Is this really your path on the host machine: It should be you osx user, like: In terminal you can use the |
@ndberg I replaced some values before posting, it's my username indeed. |
Can you run ‘ll’ in /Users/tomcoonen/Documents/Projects/app1 and show the full output here?
…--
- Joe Ferguson
JoeFerguson.me
osmihelp.org
On Oct 21, 2019, 10:40 -0400, Tom Coonen , wrote:
@ndberg I replaced some values before posting, it's my username indeed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I have the same issue. It works flawlessly when I remove Vagrant: 2.2.6 Homestead.yamlip: 192.168.22.37
memory: 2048
cpus: 2
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
-
map: ./
to: /home/vagrant/code
type: "nfs"
sites:
-
map: debug.test
to: /home/vagrant/code/public
databases:
- homestead
features:
- mariadb: true
- webdriver: false
name: debug
hostname: debug
debug log excerpt (including
|
@vintagesucks Thanks, i'm betting it's a NFS/Permissions issue. Thanks for pasting your files, could you run |
vagrant@debug:~$ cd /home/vagrant/code/public
-bash: cd: /home/vagrant/code/public: Permission denied vagrant@debug:~$ cd /home/vagrant/code/
vagrant@debug:~/code$ ls -lah
ls: cannot open directory '.': Stale file handle vagrant@debug:~/code$ cd
vagrant@debug:~$ ls -lah
ls: cannot access 'code': Stale file handle
total 76K
drwxr-xr-x 11 vagrant vagrant 4.0K Oct 21 16:52 .
drwxr-xr-x 3 root root 4.0K Sep 29 12:36 ..
-rw-r--r-- 1 root root 8.4K Oct 21 16:52 .bash_aliases
-rw-r--r-- 1 vagrant vagrant 220 Sep 29 12:36 .bash_logout
-rw-r--r-- 1 vagrant vagrant 3.7K Sep 29 12:36 .bashrc
drwx------ 3 vagrant vagrant 4.0K Sep 29 12:55 .cache
d????????? ? ? ? ? ? code
drwxrwxr-x 4 vagrant vagrant 4.0K Sep 29 12:56 .composer
drwxr-xr-x 5 vagrant vagrant 4.0K Sep 29 12:51 .config
drwx------ 3 vagrant vagrant 4.0K Sep 29 12:37 .gnupg
drwxr-xr-x 2 vagrant vagrant 4.0K Oct 21 16:52 .homestead-features
drwxr-xr-x 3 vagrant vagrant 4.0K Sep 29 12:55 .local
-rw-r--r-- 1 vagrant vagrant 67 Sep 29 12:53 .my.cnf
drwxr-xr-x 4 vagrant vagrant 4.0K Sep 29 12:52 .npm
-rw-r--r-- 1 vagrant vagrant 856 Sep 29 12:56 .profile
drwx------ 2 vagrant vagrant 4.0K Oct 21 16:52 .ssh
-rw-r--r-- 1 vagrant vagrant 0 Sep 29 12:37 .sudo_as_admin_successful
-rw-r--r-- 1 vagrant vagrant 5 Sep 29 12:37 .vbox_version
-rw-r--r-- 1 vagrant vagrant 297 Sep 29 12:55 .wget-hsts |
Oh neat
@vintagesucks @tomcoonen, To ensure this isn't Homestead's fault, can one of you edit this line in your Homestead folder: https://github.com/laravel/homestead/blob/master/scripts/homestead.rb#L364 to:
I think I got my string interpolation correct. Essentially we want to run that If this resolves the issue, then I'll make this change, if it doesn't, and we can still confirm after this the folder is broken as above, it may be NFS (and outside of our ability to fix) |
@svpernova09 That change unfortunately did not solve the issue for me. I'd be happy to try or investigate further things. Maybe related to hashicorp/vagrant#8704 or hashicorp/vagrant#11134? Also: One comment over there mentioned something related to the use of external (USB) drives. I currently happen to use one as my boot volume, too. So yeah, probably a permissions issue then. |
I'll try to take a look at this in the next day or two. I'm away at a conference atm. |
@svpernova09 Huh! I got it to work by granting Full Disk Access to
drwxr-xr-x 46 501 dialout 1.5K Oct 21 16:20 code
|
Ah! this makes sense. Good to know! Glad you got it sorted out. |
@vintagesucks THANK YOU!!! Works as a charm! |
@vintagesucks works indeed, thanks! |
@vintagesucks your fix also seemed to resolve my issue over at hashicorp/vagrant#11134 ! Thanks! |
Please note that the Homestead issue tracker is reserved for bug reports and enhancements. We are not always able to debug Vagrant, Provider or Operating System issues, but will do our best to help. Thank you!
Versions
Host operating system
MacOS 10.15
Homestead.yaml
Vagrant destroy & up output
xxxxx: cannot remove '/home/vagrant/app1/public/xhgui'
xxxxx: : Permission denied
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.
Expected behavior
Box should be fully provisioned
Actual behavior
Provisioning failed
Steps to reproduce
The text was updated successfully, but these errors were encountered: