# ./launcher rebuild app command not found

**URL:** https://meta.discourse.org/t/launcher-rebuild-app-command-not-found/128066
**Category:** Self-hosting
**Created:** [September 9, 2019, 5:34pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-command-not-found/128066 "2019-09-09T17:34:14Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![bobdude](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bobdude](https://meta.discourse.org/u/bobdude)
#### Post date: [September 9, 2019, 5:34pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-command-not-found/128066/1 "2019-09-09T17:34:14Z")

</div>

> Upgrades via the web UI are disabled until you run the latest image.
> 
> To do so log in to your server using SSH and run:
> 
> ```
> cd /var/discourse
> git pull
> ./launcher rebuild app
> 
> ```

I get the above screen when looking to do an update from the dashboard.

My installation seems to be in `var/www/discourse`

I ran a git pull in the discourse folder but I don’t know how to rebuild the app properly. Tis is a docker install; any directions would be much appreciated thank you.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 9, 2019, 5:43pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-command-not-found/128066/2 "2019-09-09T17:43:42Z")

</div>

Can you share the exact commands you’re running, and the output you’re seeing (feel free to redact IP addresses/hostnames if you prefer)? `/var/www/discourse` sounds like you’re inside the docker container, rather that on your server.

You should be doing something like:

```plaintext
ssh user@forum.example.com
cd /var/discourse
git pull
sudo ./launcher rebuild app

```

---

<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: [September 9, 2019, 5:44pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-command-not-found/128066/3 "2019-09-09T17:44:46Z")

</div>

You’re somehow connecting inside the container. You should probably connect to port 22 and maybe you’re connecting to port 2222; older installations had an ssh port exposed for the container.

---

<div class="post-metadata">

### Author: ![bobdude](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bobdude](https://meta.discourse.org/u/bobdude)
#### Post date: [September 9, 2019, 5:49pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-command-not-found/128066/4 "2019-09-09T17:49:22Z")

</div>

I’m using Vultr and I just log into my account and open the console window. My command line shows root@vultr-app. is their a way to log out of the app?

---

<div class="post-metadata">

### Author: ![bobdude](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bobdude](https://meta.discourse.org/u/bobdude)
#### Post date: [September 9, 2019, 5:56pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-command-not-found/128066/5 "2019-09-09T17:56:26Z")

</div>

I think i’m there I used an exit command now my folder structure looks right. Update is now rebuilding thanks for the help.

---

<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: [September 9, 2019, 11:43pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-command-not-found/128066/6 "2019-09-09T23:43:15Z")

</div>

Aha! So apparently it leaves the console running and you forgot that you’d entered the container (with `./launcher enter app`).

---

<div class="post-metadata">

### Author: ![bobdude](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bobdude](https://meta.discourse.org/u/bobdude)
#### Post date: [September 10, 2019, 12:17am UTC](https://meta.discourse.org/t/launcher-rebuild-app-command-not-found/128066/7 "2019-09-10T00:17:45Z")

</div>

Yes that’s exactly what happened

C Robert Christensen (Bob)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 13, 2023, 11:53pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-command-not-found/128066/8 "2023-04-13T23:53:30Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [April 14, 2023, 6:37am UTC](https://meta.discourse.org/t/launcher-rebuild-app-command-not-found/128066/9 "2023-04-14T06:37:55Z")

</div>


