# Forge install upgrade throws an unexpected error

**URL:** <https://community.developer.atlassian.com/t/forge-install-upgrade-throws-an-unexpected-error/70071>\
**Category:** General Discussion\
**Tags:** forge-install, marketplace, forge\
**Created:** [June 5, 2023, 3:00pm UTC](https://community.developer.atlassian.com/t/forge-install-upgrade-throws-an-unexpected-error/70071 "2023-06-05T15:00:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GirishReddy](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@GirishReddy](https://community.developer.atlassian.com/u/GirishReddy)\
**Post date:** [June 5, 2023, 3:00pm UTC](https://community.developer.atlassian.com/t/forge-install-upgrade-throws-an-unexpected-error/70071/1 "2023-06-05T15:00:06Z")

</div>

Hello:

I get an error when upgrading a Forge app on my production instance. Deploy worked fine but when I run “forge install -e production --upgrade” command, I get the below error.  
**Upgrading your app in production…**  
**Error: An unexpected error occurred**

This app is currently submitted to marketplace and is under review. And I want to be able to submit a new version to them. Any insights will be much appreciated.

---

<div class="post-metadata">

**Author:** ![CaterinaCurti](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/caterinacurti/32/42270_2.png) [@CaterinaCurti](https://community.developer.atlassian.com/u/CaterinaCurti)\
**Post date:** [June 7, 2023, 1:10am UTC](https://community.developer.atlassian.com/t/forge-install-upgrade-throws-an-unexpected-error/70071/2 "2023-06-07T01:10:57Z")

</div>

Hi @GirishReddy,

It should be possible to upgrade the app even if it’s submitted for a Marketplace review.

If this is still happening, can you run the `forge install --verbose -e production --upgrade` and share the output here so that we can check that?

As an alternative, you could try to uninstall the app (running `forge uninstall`) and then install it again on the same site.

Cheers,  
Caterina

---

<div class="post-metadata">

**Author:** ![GirishReddy](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@GirishReddy](https://community.developer.atlassian.com/u/GirishReddy)\
**Post date:** [June 7, 2023, 4:10am UTC](https://community.developer.atlassian.com/t/forge-install-upgrade-throws-an-unexpected-error/70071/3 "2023-06-07T04:10:18Z")

</div>

Thank you Caterina. For now, I used the “Update available” button that gets activated in the “Manage apps” screen, after “forge deploy”.
