I am running a Laravel application on Forge and have run into an odd issue when auto deploying my code. Most of the optimized compiled PHP classes properly clear out as part of the deployment process however a few classes refuse to "clear out", instead the old code keeps executing when called, even though the new code is physically present on the server.
The classes that seem to be having issues are in my app/Classes/[dir] folder. Anything in my controllers/models/services etc appear to be updating and executing just fine.
This is my deploy script:
I added the final line for the fpm reload at the suggestion of Taylor Otwell via support chat but still no luck.
The only way I have been able to get the deployed code to properly execute is to reboot the server.
Does any have any ideas on why this is happening and how to fix it.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community