dantreacy's avatar

Old code running after deploy

Hi folks,

Just curious if anyone has run into what seems to be the issue of old code running after a deploy. Almost like the current symlink hasn't updated..

Doesn't seem to happen all the time. Seems very intermittent... Not sure if it's something I'm not considering or missing??

0 likes
3 replies
lindstrom's avatar

If you're looking in current, you might need to refresh it. I've seen that as recently as a few minutes ago when looking for a new artisan command I just deployed. Just

cd .

Also, if you are seeing config values not changing:

php artisan config:clear

I had this crop up and I hadn't (recalled) initially running config:cache.

dantreacy's avatar

I appears I found what might be causing the problem..

It's a legacy non-laravel app being migrated off php5. The forge server has both 7 and 5 installed but it appears that envoyer was having some issues reloading php-fpm v5 once that was done manually everything worked as expected..

I've sent a message to the Envoyer crew for some clarification waiting to see what they have to say.

Please or to participate in this conversation.