# After upgrade to dfx 0.9.2, can not deploy to existing motoko canister

**URL:** <https://forum.dfinity.org/t/after-upgrade-to-dfx-0-9-2-can-not-deploy-to-existing-motoko-canister/11242>\
**Category:** Developers\
**Created:** [March 2, 2022, 12:02pm UTC](https://forum.dfinity.org/t/after-upgrade-to-dfx-0-9-2-can-not-deploy-to-existing-motoko-canister/11242 "2022-03-02T12:02:04Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [June 2, 2022, 6:20am UTC](https://forum.dfinity.org/t/after-upgrade-to-dfx-0-9-2-can-not-deploy-to-existing-motoko-canister/11242/18 "2022-06-02T06:20:47Z")

</div>

> [@bundubuduri](#):
>
> Delete your dfx.json. This will give your canister a new ID when you re-deploy

Small correction: it’s `canister_ids.json`

---

_[View the full topic](https://forum.dfinity.org/t/after-upgrade-to-dfx-0-9-2-can-not-deploy-to-existing-motoko-canister/11242)._
