Getting started with trellis

Hey, I’m a Mamp user trying to get started with Trellis because I was never happy with Mamp- but I’m having some trouble getting up and running.

I followed the Trellis install instructions and then got this error after running vagrant up

TASK [wordpress-setup : Create/assign database user to db and grant permissions] ***
fatal: [default]: FAILED! => {"failed": true, "msg": "ERROR! 'dict object' has no attribute'"}

Found this thread and then renamed to in vault.yml

Then I ran vagrant halt and vagrant up again but :neutral_face:

If I go to localhost:2222 I see

SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.6
Protocol mismatch.

And if I go to I get “No Data Received, Empty Response”

Not sure what to try next. Does anyone have any suggestions?

Just trying destroying it starting again.

vagrant destroy
vagrant up

And FYI you would have needed to run vagrant provision again to apply any new configuration changes in Trellis. Vagrant won’t re-run the provisioner once you created the machine unless you tell it to.

1 Like

Cool, that did it. Thanks for the help!