I am struggling to get Trellis working on Windows.
I have a perfectly fine Windows Trellis developer environent working, set-it-and-forget-it, because the last time I did vagrant up --provision was several months ago.
Since then, the instructions have changed. It used to be, when the site was yellow: (paraphrasing):
You do not need to install Ansible manually. […] If UAC is enabled, make sure the initial vagrant up is run from a command prompt with elevated privileges
Now, on the new blue/purple site, the instructions are saying to use Windows Linux Subsystem:
A new Windows developer has started working with us, and it has been disaster trying to get anything working with the new instructions.
Install required software in Windows.
Ignore WSL instructions. cd \my\dir in DOS with with administrator privileges vagrant up
Everything looks fine until it freezes on installing ansible step (waited 30 minutes) ctrl-c vagrant reload --provision
Terminal nag: Complains that something is blocking.
Windows Task Manager, kill zombie ruby process. vagrant reload --provision
Terminal nag: Complains about dpkg interrupted. vagrant ssh; sudo dpkg --configure -a; exit; vagrant reload --provision
Terminal nag: Complains that pip is not installed. vagrant ssh; sudo apt-get install python-pip; exit; vagrant reload --provision
I press [Enter] in the terminal when impatient… Terminal output resumes.
I could not get Trellis working using WSL The 5 linked issues in the first post (4 hosted on roots.io) are threads I landed on while searching for the same problems In Google. They are unanswered, unresolved.
The versions of the software I used in my WSL attempt are mentioned in the second post.
I will not be submitting these upstream because this is not for WSL. I simply could not get that working. This patch fixes Trellis for Windows like it was documented prior to February 21st. There’s a similar patch waiting in the queue: https://github.com/roots/trellis/pull/1096
I’ll keep my eye on GitHub and try WSL again sometime in the future. Not today.