# הפריסה נכשלת - exec\_command.rb:117:in \`spawn

**URL:** <https://meta.discourse.org/t/deployment-fails-exec-command-rbin-spawn/269039>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [20 ביוני,‏ 2023,‏ 2:35pm UTC](https://meta.discourse.org/t/deployment-fails-exec-command-rbin-spawn/269039 "2023-06-20T14:35:47Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [24 ביוני,‏ 2023,‏ 10:02am UTC](https://meta.discourse.org/t/deployment-fails-exec-command-rbin-spawn/269039/7 "2023-06-24T10:02:27Z")

</div>

You’ll need to have discourse use the primary. When it fails you’d use dns or haproxy to switch to the secondary.

This isn’t a Discourse issue. If you want to learn how to manage redis and postgres I’m a high availability setup, you’ll need to search elsewhere.

---

_[View the full topic](https://meta.discourse.org/t/deployment-fails-exec-command-rbin-spawn/269039)._
