# האם זה אמור לקרות عندما אני מריץ את הפקודה rebuild?

**URL:** https://meta.discourse.org/t/is-this-meant-to-happen-when-i-run-the-rebuild-command/79863
**Category:** Support
**Created:** [5 בפברואר,‏ 2018,‏ 9:14pm UTC](https://meta.discourse.org/t/is-this-meant-to-happen-when-i-run-the-rebuild-command/79863 "2018-02-05T21:14:43Z")
**Posts on this page:** 9
**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: [5 בפברואר,‏ 2018,‏ 9:14pm UTC](https://meta.discourse.org/t/is-this-meant-to-happen-when-i-run-the-rebuild-command/79863/1 "2018-02-05T21:14:43Z")

</div>

I’m Running Discourse on a DigitalOcean Droplet

I had to change my email settings in app.yml which I figured out how to do just fine but when I try to run the rebuild container command I see this:

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

Is that normal? If I follow these prompts will it destroy my Discourse forum, I spent ages setting it up today and backups seem to be broken:

```
[2018-02-05 21:13:56] Marking backup as running...
[2018-02-05 21:13:56] Making sure '/var/www/discourse/tmp/backups/default/2018-02-05-211355' exists...
[2018-02-05 21:13:56] Making sure '/var/www/discourse/public/backups/default' exists...
[2018-02-05 21:13:56] Pausing sidekiq...
[2018-02-05 21:13:56] Backup process was cancelled!

```

I’m completely lost, thanks in advance

---

<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: [5 בפברואר,‏ 2018,‏ 10:18pm UTC](https://meta.discourse.org/t/is-this-meant-to-happen-when-i-run-the-rebuild-command/79863/2 "2018-02-05T22:18:52Z")

</div>

That doesn’t make any sense at all. I thought that their one-click install did something that resembled a [supported install](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md), and that you’d see a message like that when you first logged in, not when you ran `./launcher`.

If that’s what `./launcher` does, then you may be on your own, as this does not look like a supported install.

When did you install it?

---

<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: [5 בפברואר,‏ 2018,‏ 10:20pm UTC](https://meta.discourse.org/t/is-this-meant-to-happen-when-i-run-the-rebuild-command/79863/3 "2018-02-05T22:20:46Z")

</div>

> [@Vaping\_Community](#):
>
> I’m Running Discourse on a DigitalOcean Droplet

I used their one click install yesterday, even installed the Retort plugin without any issues, it let me rebuild it then but now it just goes to that message straight away. 😕

**EDIT:** I have one error in the discourse admin logs.

```
TypeError: e.jqXHR.responseJSON.join is not a function
Url: http://www.vapingcommunity.co.uk/assets/application-2419cc98b7825aaca132b6a042338b1022877b8d183bb67ecd18f4b14525f307.js
Line: 5
Column: 24589
Window Location: http://www.vapingcommunity.co.uk/

```

---

<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: [5 בפברואר,‏ 2018,‏ 10:32pm UTC](https://meta.discourse.org/t/is-this-meant-to-happen-when-i-run-the-rebuild-command/79863/4 "2018-02-05T22:32:27Z")

</div>

I have the option of taking a snapshot on Digital Ocean, do you think it would be worth a try to do that and go through the above prompts just to see what happens?

---

<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: [5 בפברואר,‏ 2018,‏ 10:34pm UTC](https://meta.discourse.org/t/is-this-meant-to-happen-when-i-run-the-rebuild-command/79863/5 "2018-02-05T22:34:46Z")

</div>

> [@Vaping\_Community](#):
>
> I used their one click install yesterday, even installed the Retort plugin without any issues, it let me rebuild it then but now it just goes to that message straight away

It usually prints that message when you log in and you can just control-c to quite and **then**

```plaintext
cd /var/discourse
./launcher rebuild app

```

I know some ways that I’d fix it, but none are simple enough to explain here.

But sure, take a snap shot and see if you can fix it. If things get really bad you can step back to the snapshot.

---

<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: [5 בפברואר,‏ 2018,‏ 10:35pm UTC](https://meta.discourse.org/t/is-this-meant-to-happen-when-i-run-the-rebuild-command/79863/6 "2018-02-05T22:35:28Z")

</div>

> [@pfaffman](#):
>
> It usually prints that message when you log in and you can just control-c to quite and then

Ill try that right now, thanks so much for your help

---

<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: [5 בפברואר,‏ 2018,‏ 10:45pm UTC](https://meta.discourse.org/t/is-this-meant-to-happen-when-i-run-the-rebuild-command/79863/7 "2018-02-05T22:45:28Z")

</div>

You are a Legend.. So here’s what I did.

Logged on via SSH

```plaintext
cd /var/discourse
./launcher rebuild app

```

The message came up, I used control-c and it just ran the rebuild 😄

Thanks again, I was panicking as this is my second day using Discourse and doing anything command based. 👍

---

<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: [5 בפברואר,‏ 2018,‏ 11:09pm UTC](https://meta.discourse.org/t/is-this-meant-to-happen-when-i-run-the-rebuild-command/79863/8 "2018-02-05T23:09:35Z")

</div>

@pfaffman Sorry if this in the wrong place but can I just add that after the rebuild I tried a backup from the admin section, it failed but I got a solid error log and a notification:

```
[2018-02-05 23:05:17] Marking backup as running...
[2018-02-05 23:05:17] Making sure '/var/www/discourse/tmp/backups/default/2018-02-05-230517' exists...
[2018-02-05 23:05:17] Making sure '/var/www/discourse/public/backups/default' exists...
[2018-02-05 23:05:17] Pausing sidekiq...
[2018-02-05 23:05:17] Waiting for sidekiq to finish running jobs...
[2018-02-05 23:05:17] Backup process was cancelled!
[2018-02-05 23:05:17] Notifying 'vapingcommunity' of the end of the backup...
[2018-02-05 23:05:23] Removing old backups...
[2018-02-05 23:05:23] Cleaning stuff up...
[2018-02-05 23:05:23] Removing '.tar' leftovers...
[2018-02-05 23:05:23] Unpausing sidekiq...
[2018-02-05 23:05:23] Marking backup as finished...
[2018-02-05 23:05:23] Finished!

```

So can we assume that a rebuild somewhat fixed the backup process or changed it in some way?

These don’t exist in my screenshot?

```
Making sure '/var/www/discourse/tmp/backups/default/2018-02-05-230517' exists...
Making sure '/var/www/discourse/public/backups/default' exists...

```

Edit: Backup in the admin section worked!! 😃

---

<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: [8 ביוני,‏ 2024,‏ 12:43pm UTC](https://meta.discourse.org/t/is-this-meant-to-happen-when-i-run-the-rebuild-command/79863/9 "2024-06-08T12:43:28Z")

</div>

This topic was automatically closed after 2314 days. New replies are no longer allowed.
