Laravel App deployment synlink cache issue
Posted: Wed 24. Nov 2021, 14:24
Hello,
We deploy our laravel apps using a symlink to the doc root.
For example: current is the doc root below
When we deploy the symlink gets swapped to a new folder in /releases
For some reason once the deployment has completed the symlnk is is updated to the new folder in releases but the old code is still getting served. I've tried a restart of the php74-fpm pool but still seems to be serving the old version - This works fine on a plesk server
Any help or ideas would be great
Thanks
We deploy our laravel apps using a symlink to the doc root.
For example: current is the doc root below
Code: Select all
current -> /home/users/accountuser/www/domain.co.uk/releases/0.1.0+603
For some reason once the deployment has completed the symlnk is is updated to the new folder in releases but the old code is still getting served. I've tried a restart of the php74-fpm pool but still seems to be serving the old version - This works fine on a plesk server
Any help or ideas would be great
Thanks