I updated Trellis and it works fine in the dev environment. But when I want to deploy the changes, I get this error message:
TASK [deploy : Copy project templates] **********************************************************************
System info:
Ansible 2.3.0.0; Darwin
Trellis at “Add Vagrant config”UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe0’ in position
2: ordinal not in range(128)
failed: [domain.tld] (item={u’dest’: u’.env’, u’src’: u’roles/deploy/templates/env.j2’, u’name’: u’.env config’}) => {“failed”: true, “item”: {“dest”: “.env”, “name”: “.env config”, “src”: “roles/deploy/templates/env.j2”}}
My previous Trellis dated from early February. I updated my copy by overwriting it with yesterday’s version of Trellis, except for the group_var and hosts folder. I then also added the new files: all/known_hosts.yml and helpers.yml. I then destroyed and recreated the vagrant box, provisioned it, then used a copy of the production environment database and files to restore it locally.
I haven’t found much on this error message except an old issue that was patched back in May 2016.
Could you point me in the right direction?