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

mount.nfs: multiple version options not permitted #145

Open
JamesHarley opened this issue Apr 23, 2024 · 1 comment
Open

mount.nfs: multiple version options not permitted #145

JamesHarley opened this issue Apr 23, 2024 · 1 comment

Comments

@JamesHarley
Copy link

Getting the following error

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o vers=3,vers=3,nolock 192.168.49.1:/G/wp_plugin /var/www/html/website/wp-content/plugins/wp_plugin

with config.vm.synced_folder "G:/wp_plugin", "/var/www/html/website/wp-content/plugins/wp_plugin", type: "nfs"

Any ideas what's causing this? I tried updating everything (Vagrant / VirtualBox and plugins). I can mount manually in rocky linux but it won't function correctly with wordpress. IE the files can't be opened.

@bookgh
Copy link

bookgh commented Jul 1, 2024

  machine.vm.synced_folder ".", "/Vagrantfiles", type: "nfs", create:true, nfs_udp: false, mount_options: ['rw,async,fsc,nolock,tcp,hard']

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

2 participants