joomlatools-vagrant
joomlatools-vagrant copied to clipboard
macOS Catalina NFS issues
When trying to run box on macOS Catalina I get this when trying to access the www directory
$ cd /var/www
-bash: cd: /var/www: Stale file handle
How can I fix the NFS mounts on macOS Catalina?
Hi @hrtrulz, thanks for this report. Unfortunately, none of us has had the time to upgrade to Catalina yet, so I can not say for sure it's supposed to work out of the box.
First of all, can you make sure you are running the latest Vagrant version? Check your current version with vagrant --version, it should say 2.2.6
When you run vagrant up, there's a lot of output. Does it mention the path to
your mounted directories at all?
Once the box is running, does the output of showmount -e (on your host machine) contain your mounted directory or not? You should also check if the path is listed in the /etc/exports file on your host.
Do you also get the Stale file handle error if you try to look into the /vagrant/ directory? ie. cd /vagrant/
Does the situation improve if you sudo nfsd restart before vagrant up?
@stevenrombauts I'm the box on Catalina without issues. I'm using:
- Vagrant 2.2.6
- Virtualbox 6.0
- Joomlatools Box: 1.5.1
Been smooth sailing
@hrtrulz There are NFS changes in Catalina that impact Vagrant. See: https://github.com/hashicorp/vagrant/issues/10961
Possible solution for the Stale file handlehttps://github.com/hashicorp/vagrant/issues/10961#issuecomment-552998387 same fix is discussed here: https://stackoverflow.com/questions/56959305/vagrant-failing-on-mounting-nfs-due-to-macos-catalina-beta-update
@hrtrulz I'm on Catalina for 3 weeks now. I clean install (usb stick method) and didn't restore from backup, didn't encounter any issues.