Hey there! I provisioned staging and production with sendgrid using one particular email, then was asked to change the email after provisioning. Now the previous email is still getting emails related to cron jobs that the new email isn’t getting (however the new email is getting certain emails).
The previous email is getting messages like this (which I understand how to fix, I just would like this to go the correct email now):
cd /srv/www/thesite.com/current && wp cron event run --due-now > /dev/null 2>&1 /bin/sh: 1: cd: can't cd to /srv/www/thesite.com/current
While the new email is getting messages related to letsencrypt and other messages like this (which should it be getting these messages anyways?):
/etc/cron.daily/logrotate: *Re-opening nginx log files nginx ...done.
The ssmtp.conf file in /etc/ssmtp/ has the correct new email for both instances.
Finally, I’ve checked both servers for instances of the previous email address in any file and it couldn’t be found using (running as root)
grep -rnw '/' -e "firstname.lastname@example.org"
Not sure what version of Trellis this is, I last updated it on Nov 13 2016 with commit hash 4beff38c1185d5031f7dea9c1be7d0a40fa3afd6.
Is there somewhere I’m missing where this is configured? I have a feeling I’ve missed something somewhere. I’d rather not start over on new servers as one of these is a production instance with a few live sites on it already.
If you’d like to take a look at the code I can see if I can make a scrubbed version of the repo available.
Thanks for taking a look!