Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

JillzTom's avatar

Strange behavior of Envoyer

I've tried to push changes to my git repository which was connected to my Envoyer project. I've the auto deploy activated upon git push. But only in some cases I see the changes in my server even though the git push and deploy went well. Even if I manually do the deploy from Envoyer, I still cannot see the changes in my server. If I do multiple deployments, (may be 5-6), then the last one reflects the changes in my server. Any idea?

0 likes
7 replies
jekinney's avatar

On the deploy list is it showing the ne commit random string github creates for you? If it does then you may have a cache issue. If the commit isn't changing then github is being slow publishing your changes.

JillzTom's avatar

Yeah the random string is correct. So there should be some caching issue. Anybody else got the same problem?

JillzTom's avatar

@closerdesign : you can do a deployment hook after "Purge Old Releases"

cd default/current
composer dump-autoload
php artisan view:clear

This helped me solve the problem.

2 likes
coreproc's avatar

This issue is also happening for us even after doing a php artisan view:clear. We have to "deploy" 5 to 6 times for the changes to emerge.

ejdelmonico's avatar

@coreproc Have you tried php artisan cache:clear? Also, if you have made config changes then php artisan config:clear. The same for routes and then optimize.

Please or to participate in this conversation.