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

Woodlandtrek's avatar

Using an existing forge site with envoyer

I thought I'd make an FYI post for anyone interested in using an existing forge site with envoyer, without wiping out the site and starting over. Here are the things I've run into so far:

  • Site location needs to be updated in nginx.conf. You'll need to add the /current/ directory anywhere there's a full path to your site. So /home/forge/example.com/public becomes /home/forge/example.com/current/public

  • Queue workers started in forge will fail because they are looking for artisan in your original path, not the /current path. You can update these on your server in /etc/supervisor/conf.d/worker-xxxx.conf. Update the path name in the conf file then sudo supervisorctl reload to apply your changes.

If there are other things you've run into, feel free to add them below

0 likes
3 replies
etkimbia's avatar

Does restarting the queue on deployment not fix the issue regarding queue workers?

Woodlandtrek's avatar

No, because it needs to be restarted at the process level, not the application/request level

etkimbia's avatar

I guess what I'm recalling wondering is are you saying you have to run sudo supervisorctl reload every time you deploy w/ Envoyer or just on the initial setup if you're moving a site deployed from Forge to Envoyer?

Please or to participate in this conversation.