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

booni3's avatar

Horizon not starting up after deploy (must run `php artisan horizon`)

Horizon does not start again after a successful deploy. Running php artisan horizon does get it running again, as does restarting the server.

I have not adjusted the config for queues or horizon, or anything on forge (as far as I can see!)

Setup:

  • Forge (single site on server)
  • Horizon on redis default connection
  • Active daemon running on forge (php artisan horizon, with no errors daemon-46187:daemon-46187_00 RUNNING pid 13898, uptime 0:01:04)

I did have 2 versions of the site running on the same server, successfully for a while. I thought they may have started conflicting on the same connection so I deleted one. This did not help.

I have php artisan horizon:terminate in my deploy script, and this same script runs on a few other sites with horizon running correctly.

All this points towards my daemon not working as it should, but I do not know enough about this to debug further. Can anyone suggest anything else to check?

0 likes
1 reply
Braunson's avatar

Hmm if the daemon isn't being terminated on deploy success and thus restarting the 'Horizon' process then I'd look at the supervisord/daemon logs to see what went wrong/why the daemon didn't restart Horizon.

Typically running horizon:terminate will kill the daemon, when the daemon is killed supervisor will realize this and boot up a new daemon.

I would suggest checking the log for the supervisor daemon as well as tailing it when you do a deploy to see what exactly happens when it tries to restart!

Please or to participate in this conversation.