-
-
Notifications
You must be signed in to change notification settings - Fork 606
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
TASK [wordpress-setup : Create database of sites] goes wrong #587
Comments
Done! Forgot to add |
thanks @iduuck exactly my mistake 🐰 |
Same. There are a lot of places to remember to put this before provisioning for 10 minutes. Roots Team: It might be a good idea to test for these values to sync up before running the other provisioners. /shrug |
I think that's a good idea. I've actually done this a couple of times since. 🤦♂️ |
It would be good, but I do not have enough Ansible knowledge yet to know whether it would be hard to check for example that you forget to replace the example domain. Would be great to suggest in the error message that that might be at. But yeah, would be even greater to check whether there are any leftover example.coms. One thing I can see being an issue though is that I do not always use staging and that you would probably need to check all files loaded example.com data and in my case it would then stop as I did not change anything in the staging folder. |
yep, happened to me as well 🥇 |
it happened to me as well and it took too long to fix it too :( |
I experienced this as well. Thank you for creating the thread. I would be willing to submit a patch for this but I'm brand new to Trellis / Bedrock / Sage. So I'll add this to a list of things I want to revisit in coming weeks as I learn my way around a bit more and then try to take a stab at this if no one else has by then. |
Had this happen as well, and after checking (and re-checking) that had the domain right everywhere, variables correct, no spelling mistakes, etc, still couldn't get to work. I'm an emacs user, and finally realized that when I first edited wordpress_sites.yml, emacs was creating a wordpress_sites.yml~ temporary file. The presence of this extra file, which didn't have the right domain name/variables in it, was throwing Ansible off, removing it fixed the problem right away. So if any other emacs users are struggling with this particular issue, hopefully this will save you some time and frustration. Not sure if there's a way to make Ansible be able to tell the difference between the two files and always choose the right one, but someday I'll get around to looking into that. |
I just added a validation to catch when the vault config hasn't been updated to match wordpress sites: #823 So people shouldn't run into this specific error anymore. |
Bug report
Command:
Log:
Please describe your local environment:
Ansible version: ansible 2.0.2.0
OS: 10.10
Vagrant version: Vagrant 1.8.1
Where did the bug happen? Development or remote servers?
Remote server
Please provide a repository or your
wordpress_sites
config (if possible):The text was updated successfully, but these errors were encountered: