# "An unknown error occured" when running flyctl deploy

**URL:** <https://community.fly.io/t/an-unknown-error-occured-when-running-flyctl-deploy/1008>\
**Category:** Questions / Help\
**Created:** [March 28, 2021, 12:30am UTC](https://community.fly.io/t/an-unknown-error-occured-when-running-flyctl-deploy/1008 "2021-03-28T00:30:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![smallsco](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/smallsco/32/450_2.png) [@smallsco](https://community.fly.io/u/smallsco)\
**Post date:** [March 28, 2021, 12:30am UTC](https://community.fly.io/t/an-unknown-error-occured-when-running-flyctl-deploy/1008/1 "2021-03-28T00:30:31Z")

</div>

When I run the `flyctl deploy` command to try and deploy my app this evening, I receive the message `Error An unknown error occured.` immediately following `==> Creating release`.

My Dockerfile appears to be building and pushing to Fly correctly, is this an issue on my end or on Fly’s?

---

<div class="post-metadata">

**Author:** ![kurt](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/kurt/32/43757_2.png) [@kurt](https://community.fly.io/u/kurt)\
**Post date:** [March 28, 2021, 12:36am UTC](https://community.fly.io/t/an-unknown-error-occured-when-running-flyctl-deploy/1008/2 "2021-03-28T00:36:05Z")

</div>

This is on our end, will you give it another try in about two minutes?

---

<div class="post-metadata">

**Author:** ![smallsco](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/smallsco/32/450_2.png) [@smallsco](https://community.fly.io/u/smallsco)\
**Post date:** [March 28, 2021, 12:42am UTC](https://community.fly.io/t/an-unknown-error-occured-when-running-flyctl-deploy/1008/3 "2021-03-28T00:42:29Z")

</div>

It’s working now - thank you for the quick fix! 🙂

---

<div class="post-metadata">

**Author:** ![vicente](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/vicente/32/15143_2.png) [@vicente](https://community.fly.io/u/vicente)\
**Post date:** [August 19, 2021, 2:12pm UTC](https://community.fly.io/t/an-unknown-error-occured-when-running-flyctl-deploy/1008/4 "2021-08-19T14:12:10Z")

</div>

@kurt Could you help us as well on a similar instance of this error? In our case, every step in the deployment builds up correctly (it’s a rails 6 app), and ends when “Creating release” with a similar “an unknown error occurred”.

happy to give you guys more details.

---

<div class="post-metadata">

**Author:** ![michael](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/michael/32/16_2.png) [@michael](https://community.fly.io/u/michael)\
**Post date:** [August 19, 2021, 3:47pm UTC](https://community.fly.io/t/an-unknown-error-occured-when-running-flyctl-deploy/1008/5 "2021-08-19T15:47:35Z")

</div>

Looks like an error in our api. We’ll get it sorted out shortly.

---

<div class="post-metadata">

**Author:** ![vicente](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/vicente/32/15143_2.png) [@vicente](https://community.fly.io/u/vicente)\
**Post date:** [August 19, 2021, 4:04pm UTC](https://community.fly.io/t/an-unknown-error-occured-when-running-flyctl-deploy/1008/6 "2021-08-19T16:04:02Z")

</div>

Lovely, thank you for the swift response!

---

<div class="post-metadata">

**Author:** ![michael](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/michael/32/16_2.png) [@michael](https://community.fly.io/u/michael)\
**Post date:** [August 19, 2021, 4:05pm UTC](https://community.fly.io/t/an-unknown-error-occured-when-running-flyctl-deploy/1008/7 "2021-08-19T16:05:09Z")

</div>

A fix was just deployed, can you try again?

---

<div class="post-metadata">

**Author:** ![vicente](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/vicente/32/15143_2.png) [@vicente](https://community.fly.io/u/vicente)\
**Post date:** [August 19, 2021, 6:59pm UTC](https://community.fly.io/t/an-unknown-error-occured-when-running-flyctl-deploy/1008/8 "2021-08-19T18:59:22Z")

</div>

Perfect, that was nice and easy! Just to make sure, removed the former app which was left on an error state. Recreated it and redeployed and it went all the way through!

---

<div class="post-metadata">

**Author:** ![michael](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/michael/32/16_2.png) [@michael](https://community.fly.io/u/michael)\
**Post date:** [August 19, 2021, 7:12pm UTC](https://community.fly.io/t/an-unknown-error-occured-when-running-flyctl-deploy/1008/9 "2021-08-19T19:12:55Z")

</div>

Glad it worked!
