And the final error is?
Did you manage to give forge sudo passwordless access to reload PHP-FPM? What was the result of that?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi everyone,
I spent hours last night trying to connect to a server on my VPS (Wired Tree, Ubuntu) with Envoyer.
I was able to connect as root by adding the Envoyer SSH key in WHM to Root's keys, then realized that because I was connecting as Root all of the files were under Root's ownership and could not be loaded by the individual site's cPanel user.
So, then I tried to add the SSH key to the cPanel settings for that user and Envoyer started throwing "Failed" trying to connect with the following message above:
PHP FPM appears to be running on your server, but we were unable to reload it. This is typically because your SSH user is not allowed to reload the service without hitting a password prompt.
If you are not using PHP FPM to serve your applications, you may dismiss this alert.
To allow your user to reload the service without a password, you should run the following command on your server:
echo "forge ALL=NOPASSWD: /usr/sbin/service php5-fpm reload" | sudo tee -a /etc/sudoers.d/php-fpm > /dev/null
I tried switching back to Root, Envoyer kept failing. This was after numerous successful deployments before, zero problems connecting to the server initially. Also, PHP FPM does not appear to be installed on the server. I attempted running the command suggested by Envoyer but it did not do anything, presumably because FPM isn't there.
After dealing with this for nearly four hours, I eventually gave Dploy.io a try and was able to basically replicate Envoyer with no problems - catch the commit, run git pull origin master, run composer update, and finally php artisan migrate --force. I am already paying for Envoyer and it''s working fine on another site, powered by Digital Ocean, so I'd like to get it to work for my primary server.
Thoughts???
Okay, so this was tracked down to Envoyer's IP addresses being blacklisted. I'm not a server geek (really need to become one), my hosting provider figured this out in a matter of minutes and whitelisted the IPs (thanks to Taylor for providing them).
I'm super annoyed that Envoyer did not display any sort of error suggesting an SSH connection issue, just the same PHP-FPM warning message over and over. I complained to Taylor, hopefully we can have some more transparency in the future with issues like this. Took what could have been a few minute fix and stretched it out over hours last night as I chased my tail trying to figure out what was going on (since it was working and then abruptly wasn't).
I think what lead to it being blacklisted was trying to connect as the cPanel user. I do not think that the SSH key was installed properly from within the cPanel interface, I installed it manually via SSH and now everything works.
Please or to participate in this conversation.