I am doing exactly the same as you right now, updating my trellis.
I also followed the advice found here: Let's Encrypt: Certificate expired - #23 by MWDelaney
My OS: macOS High Sierra
Steps taken:
- Copy the following files from my existing /trellis
.vault_pass ansible.cfg /group_vars /deploy-hooks /hosts
- Destroy existing machine:
vagrant destroy
- Delete /trellis
- Clone new trellis:
git clone --depth=1 git@github.com:roots/trellis.git && rm -rf trellis/.git
- Copy config files as listed above into the new /trellis
- Run vagrant provision
I’ve got this error:
TASK [wordpress-install : Setup composer authentications - mydomain.co.uk]
System info:
Ansible 2.8.0; Vagrant 2.2.5; Darwin
Trellis Head
---------------------------------------------------
fatal: [default]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
RUNNING HANDLER [common : restart memcached] ***********************************
changed: [default]
RUNNING HANDLER [common : reload php-fpm] **************************************
changed: [default]
RUNNING HANDLER [common : reload nginx] ****************************************
changed: [default]
RUNNING HANDLER [common : perform nginx reload] ********************************
changed: [default]
RUNNING HANDLER [fail2ban : restart fail2ban] **********************************
changed: [default]
RUNNING HANDLER [ferm : restart ferm] ******************************************
[DEPRECATION WARNING]: evaluating ferm_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
skipping: [default]
RUNNING HANDLER [ntp : restart ntp] ********************************************
changed: [default]
RUNNING HANDLER [sshd : restart ssh] *******************************************
changed: [default]
RUNNING HANDLER [mariadb : restart mysql server] *******************************
changed: [default]
PLAY RECAP *********************************************************************
default : ok=123 changed=86 unreachable=0 failed=1 skipped=28 rescued=0 ignored=0
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Some further notes:
My version of Bedrock isn’t the latest, I’m updating only Trellis currently, is there often a requirement to update bedrock at the same time?
Update
I have now even deleted my old site (bedrock) directories and replaced with latest copy too.
Did a vagrant destroy, updated the site directory with a fresh bedrock clone, tried a vagrant up and it failed again, same error.