zach-adams / hgv-deploy-full

This Ansible Playbook is designed to setup a Mercury-Like environment on a Production server without the configuration hassle.
102 stars 46 forks source link

Failing at provision wp database step #24

Closed Thomas-Jensen closed 9 years ago

Thomas-Jensen commented 9 years ago

Hi,

Very interested in getting this stack setup, but having major problems, I keep getting this problem every time:

failed: [domain.com] => {"failed": true} msg: unable to connect, check login credentials (login_user, and login_password, which can be defined in ~/.my.cnf), check that mysql socket exists and mysql server is running

But I am going to migrate wordpress/woocommerce from existing server so I don't really care about installing wordpress.

On the server I see this in the browser:

Error 503 Service Unavailable

Service Unavailable

Guru Meditation:

XID: 675302223

Varnish cache server

I'm starting to think to destroy the droplet and start manually from scratch is the option :(

Thomas-Jensen commented 9 years ago

So I decided to go it another shot, destroyed droplet and started with a totally blank install of ubuntu (first one I had installed lamp stack on first) this time it all worked, but I'm wondering how to change/setup domain/url before actually using the new server (I'm in the process of setting up our new server while the old still runs, I can't change the dns before this is setup and done and really just wanna use the ip for now.

Thomas-Jensen commented 9 years ago

I changed the urls for wordpress and finally figured out I had to flush the cache ofc... echo "flush_all" | nc -q 2 localhost 11211 did the trick! smh XD what a day! but happy things are getting there, awesome work on this deployment tool (y) <3