Use trellis on Mac OS Catalina

Just chiming in with more detail on this, I’m also receiving NFS errors:

==> default: Exporting NFS shared folders...

NFS is reporting that your exports file is invalid. Vagrant does

this check before making any changes to the file. Please correct

the issues below and execute "vagrant reload":

exports:2: exported dir/fs mismatch: /Users/bj/Sites/sitename.com/site /System/Volumes/Data

exports:3: exported dir/fs mismatch: /Users/bj/Sites/sitename.com/trellis /System/Volumes/Data

I’ve tried the following as workarounds, with no luck:

  • Upgrade to the latest version of Vagrant
  • Upgrade to the latest version of VirtualBox
  • Upgrade plugins
  • Vagrant reloads / re-provisioning
  • Clean out /etc/hosts
  • Clean out /etc/exports
  • Restart my Mac

Performing

vagrant ssh

and checking the server logs, I see

2019/07/09 14:24:42 [error] 2132#2132: *2 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: 192.168.50.1, server: sitename.test, request: "GET / HTTP/1.1", host: "sitename.test"

It feels as though Kevin Oh’s hunch about filesystem issues is pointing in the right direction. I’d be curious if anyone else has encountered this or been able to make any progress. I can obviously roll back my system if needed, but I’d imagine it’s in the interests of the dev team to have workarounds in place as September approaches.

Thanks in advance for any advice.

EDIT
Another user on StackOverflow posts:
“The root is sadly no longer just “/…” it is “System/Volumes/Data/…” in this new MacOS but there is a copy of everything on “/” so vagrant is confused on which to use as the root.”