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

josiahmann's avatar

Envoyer requires php artisan storage:link every deploy

Howdy yall,

I'm using Envoyer to deploy my project to an Amazon EC2 instance, not using Forge, but for some reason my storage links break every time I deploy...

SSHing in and running php artisan storage:link does fix the problem - but am I just missing something here?

0 likes
3 replies
Cronix's avatar
Cronix
Best Answer
Level 67

No, not missing anything. Each deployment points to a different directory, so the old symlink no longer is pointing to the current release.

4 likes
josiahmann's avatar

Ok cool - so would it make sense to run php artisan storage:link after the Activate New Release hook?

Please or to participate in this conversation.