You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This request isn't a duplicate of an existing issue
I've read the docs and followed them (if applicable)
This is not a personal support request that should be posted on the Roots Discourse community
Description
I am using latest master version (commit 0b0ccce) and when running vagrant up, I get the following error message:
==> default: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o vers=3,udp 192.168.50.1:/Path/to/root/trellis /ansible-nfs
Stdout from the command:
Stderr from the command:
mount.nfs: access denied by server while mounting 192.168.50.1:/Path/to/root/trellis
After lots of googling I found this discussion that states that starting with OSX Catalina, on secondary volumes (= not the system volume group), only one NFS share per volume is permitted.
Currently two shares are added in exports file, one for site and one for trellis, so the second is never shared.
Running showmount -e only shows the first entry from the /etc/exports file.
The workaround is to share the root folder of the project, and then on the client system to mount each separate sub-folder.
Steps to reproduce
On a non-system volume, start a new project with the latest Trellis version,
Run vagrant up from your command line
Expected behavior: The virtual machine is set-up successfully
Actual behavior: The second NFS share is not mounted because OSX doesn't allow it.
Reproduces how often: all the time on my system using
OSX 10.15.3
Vagrant 2.2.9
ansible 2.9.10
VirtualBox 6.1.12
Versions
Today's master version
Additional information
Any additional information, configuration or data that might be necessary to reproduce the issue.
The text was updated successfully, but these errors were encountered:
Hi @alexrotaru, It looks like the issue template is missing from this issue. Please take a look at the Contribution Guidelines, which will tell you exactly what your ticket has to contain in order to be processable. Please do not use the issue tracker for personal support requests. Use Roots Discourse to ask the Roots community for help, or hire someone from the community.
changed this config.vm.synced_folder File.expand_path("..",local_site_path(site)), nfs_path(name), type: 'nfs'
to this config.vm.synced_folder local_site_path(site), nfs_path(name), type: 'nfs', nfs_export: false
but then my colleagues that didn't use a mac had an issue this this change, so I had to revert it.
You can manually modify /etc/exports to contain the path to the project root folder (I mean the folder that contains the folders site, trellis, web). in my case this is:
Description
I am using latest master version (commit 0b0ccce) and when running vagrant up, I get the following error message:
After lots of googling I found this discussion that states that starting with OSX Catalina, on secondary volumes (= not the system volume group), only one NFS share per volume is permitted.
Currently two shares are added in exports file, one for site and one for trellis, so the second is never shared.
Running showmount -e only shows the first entry from the /etc/exports file.
The workaround is to share the root folder of the project, and then on the client system to mount each separate sub-folder.
Steps to reproduce
Expected behavior: The virtual machine is set-up successfully
Actual behavior: The second NFS share is not mounted because OSX doesn't allow it.
Reproduces how often: all the time on my system using
Versions
Today's master version
Additional information
Any additional information, configuration or data that might be necessary to reproduce the issue.
The text was updated successfully, but these errors were encountered: