I'm at my wits end, I inherited a Laravel 5.6 app and I had to update the email password today. I've cleared the caches, and re-cached the config; verified that my updated password is now sitting in bootstrap/cache/config.php.
However every time the invite email job kicks off it still tries to use the old password. I've watched the logs on our mail server and it is definitely sending the old password when trying to auth against smtp. I can't find any other references to the old password (ran a find . -type f passing every file through grep looking for it) and came up with nothing. I've gone through the app directory and everything under it looking to see if the developer pre-encoded it somewhere but there's nothing.
I've bounced apache, deleted the entire contents of storage/framework/cache - it's an empty directory now but without fail, when the job kicks off it sends the old password. Is there something I'm missing here that's special about job queues? I can't figure out how it's still finding it at this point.
You need to restart the queues to let it read the new data from the config (or any other file). This is because after reading the first time it is in memory in will not read again.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community