scotch-io / scotch-box

Scotch Box is a preconfigured Vagrant Box with a full array of LAMP Stack features to get you up and running with Vagrant in no time.
http://box.scotch.io
2.7k stars 548 forks source link

Scotch Box 3.5 not running on macOS Catalina #419

Open wites opened 4 years ago

wites commented 4 years ago

I don't particularly see any errors in the log but any sites I created before don't show up. I also could not do "vagrant ssh" anymore because it just goes back to my regular terminal.

Here's part of my Vagrantfile

config.vm.box = "scotch/box"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "local.wp"
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"

# Optional NFS. Make sure to remove other synced_folder line too
config.vm.synced_folder ".", "/var/www", :nfs => { :mount_options => ["dmode=777","fmode=666"] }

config.vm.provider "virtualbox" do |v|
    v.memory = 2048
    v.cpus = 2
end

And here's the vagrant.log

This happened after I upgraded my OS from High Sierra to Catalina.

wites commented 4 years ago

I turned off the VM from Virtualbox then run the vagrant up and I get this error

==> default: Checking for guest additions in VM...
==> default: [vagrant-hostsupdater] Checking for host entries
==> default: [vagrant-hostsupdater]   found entry for: 192.168.33.10 local.wp
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
Password:
==> 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.33.1:/System/Volumes/Data/Users/witesimac/Sites/local /var/www
Stdout from the command:
Stderr from the command:
mount.nfs: requested NFS version or transport protocol is not supported
reddingwebpro commented 9 months ago

Hello, I just saw this post, and it's probably too late. I believe that it is because this is an abandoned project with out-of-support products.

Therefore, I'd like to direct you to my variation called Cognac box, which you can find at: https://github.com/reddingwebpro/cognacbox -- it is based on Scotchbox -- and it is running currently supported versions of both Ubuntu and PHP which might provide for a better experience and I actively monitor the issue forum over there. We just released another version with more patches yesterday. Best of luck!