Let me apologize in advance if there is an easy fix for this that I was unable to discover.
I’ve updated Trellis on one of my on going projects and everything is fine except when deploying to staging. I haven’t attempted to deploy to production yet.
I’ve been able to provision the server just fine without error but every time I attempt to deploy I get: TASK [deploy : Reload php-fpm] and it just hangs there forever.
I’ve rebuilt my droplet and started with a fresh trellis install. I’ve tried every fix I’ve been able to search for online but nothing gets me past this point.
SSH into the server and check sudo service --status-all
You may have two versions of php-fpm installed. For example, Trellis may be trying to restart 7.1 but 7.2 is installed and running on the server. Stop them both sudo service php-fpm7.x-fpm stop and try the deploy again.
Not sure if this helps or not but I made a backup of my local working directory before upgrading Trellis. I just now copied that OG Trellis directory back and ran another deploy. I’m still getting the same problem even with the original Trellis install that was working fine prior to updating…
Just check through your Trellis files to see if the command it’s trying to run is for 7.2 or 7.1 as well. I’ve had this before where one provision on the server has added 7.2 but other installs are still back on 7.1.