Skip to content
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

Mounting NFS shared folders... #68

Open
joeainsworth opened this issue Sep 9, 2016 · 8 comments
Open

Mounting NFS shared folders... #68

joeainsworth opened this issue Sep 9, 2016 · 8 comments

Comments

@joeainsworth
Copy link

joeainsworth commented Sep 9, 2016

Pretty sure this will be a problem with my local machine. I've tried searching but to no avail.

==> local: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

set -e
mkdir -p /var/www
mount -o vers=3,udp 192.168.47.1:/Users/joe/Code/trader /var/www
if command -v /sbin/init && /sbin/init --version | grep upstart; then
  /sbin/initctl emit --no-wait vagrant-mounted MOUNTPOINT=/var/www
fi

Stdout from the command:

Stderr from the command:

mount.nfs: requested NFS version or transport protocol is not supported
Installing Magento 2 with Composer

Any ideas?

@richdynamix
Copy link
Owner

Which host OS are you using? Vagrant and Virtualbox versions?

@joeainsworth
Copy link
Author

Hi @richdynamix

I'm using OS X 10.10.5, Vagrant 1.8.5 and VirtualBox 5.1.4.

I have PHP 7.0 with mcrypt and intl extensions installed and enabled.

Thanks
Joe

@richdynamix
Copy link
Owner

I haven't tested this with PHP 7.0 on the host machine yet however I don't think this would be the issue. It is most likely an issue with vagrant and virtual box.

My vagrant version is one less than yours, I will upgrade and retest. Are you having any issues with other VMs?

@joeainsworth
Copy link
Author

Not having any other issues. I think I'll try downgrading in this case.

@richdynamix
Copy link
Owner

There are some known issues with Vagrant 1.8.5. It maybe related. I am currently using 1.8.1 and have been reluctant to upgrade. I am also using VirtualBox 5.0.26. I just updated my PHP to 7.0.11 today. I will be testing Magestead on this in the next few days.

@mike-source
Copy link

I'm encountering this exact issue.

==> local: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

set -e
mkdir -p /var/www
mount -o vers=3,udp 192.168.56.1:/Projects/04_MAGESTEAD/mysite.com /var/www
if command -v /sbin/init && /sbin/init --version | grep upstart; then
  /sbin/initctl emit --no-wait vagrant-mounted MOUNTPOINT=/var/www
fi


Stdout from the command:



Stderr from the command:

mount.nfs: requested NFS version or transport protocol is not supported

Vagrant:

$ vagrant version
Installed Version: 1.8.6

Virtualbox:

$ vboxmanage --version
5.1.6r110634

Host OS is OSX 10.12.3

Something I spotted is the IP being spat out here is 192.168.56.1, the IP I entered in the install process (and in magestead.yaml) was 192.168.56.104.

Might be completely barking up the wrong tree, but I noticed the IP in the original post was 192.168.47.1, could this be to do with the IP being chopped at the 0 or after a certain number of characters? Just a thought.

Changing magestead.yaml to 192.168.56.1 didn't help though.

@mike-source
Copy link

One other potential issue I came across googling... I am running Docker (was trialling the Magento Devbox) and I found a github issue here where there seemed to be an NFS issue running Vagrant and Docker at the same time: hashicorp/vagrant#5424

Possibly related?

@mike-source
Copy link

tried again with default IP and Docker disabled and got identical error as @joeainsworth

so probably not either of the things I suggested... am going to have to abandon Magestead for now but happy to help debug

p.s. if you came here from google and are just trying to get any dev VM working locally for Magento 2, I feel your pain! Give Magento DevBox a try: http://devdocs.magento.com/guides/v2.1/install-gde/docker/docker-over.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants