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

Bug: Local development instructions for MacOS are incomplete #338

Open
5 tasks done
yakovsh opened this issue Jan 10, 2022 · 4 comments
Open
5 tasks done

Bug: Local development instructions for MacOS are incomplete #338

yakovsh opened this issue Jan 10, 2022 · 4 comments
Labels

Comments

@yakovsh
Copy link

yakovsh commented Jan 10, 2022

Terms

Description

What's wrong?

Unable to run Trellis on MacOS

What have you tried?

What insights have you gained?

The NFS mount type doesn't work by default on MacOS because of encrypted folders. That is in the docs but the solution is not.

Possible solutions

The solution is to change "vagrant_mount_type" in vagrant.default.yml file from "nfs" to "virtualbox" on MacOS. This should be mentioned in the docs.

Temporary workarounds

Steps To Reproduce

  1. Use a MacOS machine with encrypted drive.
  2. Try to install and run Trellis.

Expected Behavior

Works

Actual Behavior

Doesn't work

Relevant Log Output

No response

Versions

1.12.0

@yakovsh yakovsh added the bug label Jan 10, 2022
@swalkinshaw
Copy link
Member

Yeah this sounds like a useful addition. I'd encourage you to make this change yourself and contribute that improvement

@juslintek
Copy link

juslintek commented Feb 6, 2022

I'd suggest to replace trellis with ddev for local development unless you want to deploy whole trellis infra to staging and production.

@retlehs
Copy link
Member

retlehs commented Feb 6, 2022

@juslintek plenty of folks in this community are using trellis even for just deployment purposes - there's a lot of flexibility with trellis. people should use whatever tool works best for them 😄

...but coming on here and mentioning a different tool is not relevant to this issue or helpful whatsoever. there's no need to chime in with what your preferred tool is when someone is asking for help on something unrelated to what you're talking about.

@juslintek
Copy link

juslintek commented Feb 13, 2022

Why you see evil in this, when single underlying intention is to help. P.S. You mention DDEV in your docs yourself, over here: https://docs.roots.io/bedrock/master/local-development/

Sometimes changing tool is faster, than getting stuck with same one for weeks.

Maybe If you're using M1 then I guess it might be the issue, because I've had issue running trellis image on M1 so switched to docker. bento/ubuntu-20.04 (or maybe you have to buy parallels in order to use it) image compatible with arm64 should be released, but is not yet available in cloud chef/bento#1344

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

No branches or pull requests

4 participants