Using Envoyer With Forge Servers
Taylor Otwell

Hi Taylor,

Thank you for the post. I’m doing this exact same thing and it works really well.

I keep on having the following issue when using Envoyer conbined with deployer.

Every time I deploy using Envoyer on a server that was provisioned by Forge, the website will not update unless I go back to Forge and click on the “Update web directory” on the Meta menu.

I tried 
php artisan cache:clear
php artisan view:clear 
and that doesn't seem to be the problem.

When I run ls -l
forge@web1:~/default$ ls -l
lrwxrwxrwx 1 forge forge 43 May 25 23:39 current -> /home/forge/default/releases/20170525233857

so the link is correct pointing to my latest deployment but it’s not updating, as if the old cache is running.

The only way to make it update is by clicking on the “Update web directory”.

Could you tell us what does the Update web directory does? so that I can maybe add it as a command to run on Envoyer on each deployment.

My setup:

2 servers running the app (deployed at the same time with Envoyer)
1 Server running Redis (For sessions and cache)
1 Server running Mariadb

Thank you!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.