# Upgrade stuck on bundle exec rake multisite:migrate

**URL:** https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464
**Category:** Support
**Created:** [18 september 2018 om 16:17 UTC](https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464 "2018-09-18T16:17:56Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [18 september 2018 om 16:17 UTC](https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464/1 "2018-09-18T16:17:56Z")

</div>

I tried to implement the latest upgrade

 ![UpgradeVersion](https://global.discourse-cdn.com/meta/original/3X/0/5/052c9d246f47ce597470e77f336131699cfe392e.png)

Upgrade is hanging on `bundle exec rake multisite:migrate`

 ![Upgrade](https://global.discourse-cdn.com/meta/original/3X/9/3/9357126ba77a4afd12c20268c9255f2e67cbed58.png)

Not sure what to do to fix this, clicking reset upgrade gives me this warning.

 ![warning](https://global.discourse-cdn.com/meta/original/3X/f/4/f49bb2757991b99c19c1af87622acf45a9c45827.png)

Thanks in advance

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [18 september 2018 om 16:46 UTC](https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464/2 "2018-09-18T16:46:37Z")

</div>

~~I ran `./launcher rebuild app` and that seems to have solved the problem~~

Refer to this quote for the correct fix.

> [@tgxworld](#):
>
> Can you click on `currently upgrading...` and click on the cancel upgrade button? It should reset the state of the upgrade process.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [18 september 2018 om 20:22 UTC](https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464/4 "2018-09-18T20:22:24Z")

</div>

Had the same issue on both my sites (yes I know, should do them one by one to reduce risk … )

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [18 september 2018 om 20:25 UTC](https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464/5 "2018-09-18T20:25:15Z")

</div>

OK I did `./launcher rebuild app` and the site returned fine

I then performed:

`./launcher cleanup`

But then when I checked the upgrade page I found:

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/a/da16f35b0fb99a65735f5fa69a29ed9f9a5fb47f.png)

I have the same issue on my other site:

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/1/1185d70e3b5606b1e6b6e550ddfb108621e0b888.png)

Hmmm … can’t leave it like that?

It’s now impossible to Upgrade from the website as it will lead you to this blank console which appears to be doing nothing:

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/2/d28df5c330f3dbc6d13d402d7dd1718381c661be.png)

How to recover/reset this so future upgrades can be performed from /admin/upgrade?

This does not apparently resolve with an additional rebuild.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [19 september 2018 om 02:32 UTC](https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464/8 "2018-09-19T02:32:13Z")

</div>

I’ve reverted the commit for now but do note that the upgrade was completed but “upgrade is completed” message from the server failed to reach the client in this case. I’ll probably need to run the upgrader in another process for us to support post deploy migration in `docker_manager`

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [19 september 2018 om 06:23 UTC](https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464/9 "2018-09-19T06:23:43Z")

</div>

Still getting this after a `./launcher rebuild app`

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/9/b9f18fdc141e78347f362315c22d78bdf360c11f.png)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [19 september 2018 om 06:43 UTC](https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464/10 "2018-09-19T06:43:08Z")

</div>

Can you click on `currently upgrading...` and click on the cancel upgrade button? It should reset the state of the upgrade process.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [19 september 2018 om 06:54 UTC](https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464/11 "2018-09-19T06:54:07Z")

</div>

Ha, this didn’t appear to work last time, but now does, apologies! All reset and normal now, thank you!

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [26 september 2018 om 13:15 UTC](https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464/12 "2018-09-26T13:15:57Z")

</div>

This fixed it for me also, thanks 😄

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [26 september 2018 om 15:01 UTC](https://meta.discourse.org/t/upgrade-stuck-on-bundle-exec-rake-multisite-migrate/97464/13 "2018-09-26T15:01:35Z")

</div>


