# Update van 2.9.0 beta 3 naar beta 4 mislukt - Site is down

**URL:** https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913
**Category:** Self-hosting
**Created:** [13 mei 2022 om 01:15 UTC](https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913 "2022-05-13T01:15:39Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Caswal\_Parker](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@Caswal\_Parker](https://meta.discourse.org/u/Caswal_Parker)
#### Post date: [13 mei 2022 om 01:15 UTC](https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913/1 "2022-05-13T01:15:39Z")

</div>

Hi,

Went to update from 2.9.0 beta 3 to beta 4. From the web interface Has failed. Followed git pull, /launcher rebuild app doesn’t help.

Finishes with:

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 647 exit 134>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
bootstrap failed with exit code 134
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
f5cd177671cf156b418115fd9956929e98c03223fbab30c91da284cee52510e3
==================== END REBUILD LOG ====================
Failed to rebuild app.

```

Discourse doctor hasn’t helped.

I can’t see anything error like higher in the log, some warnings around the Theme plugin Slick. But it gets truncated in powershell.

A bit unsure of where the log files for upgrading are. I did a ./launcher build app | tee ~\Rebuild.txt

But that has left me in some weird state, with a very short log file ~50 lines. The forums started, but still on beta 3. Very slow and can’t access any posts.

I did make a backup just before I updated.

---

<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: [13 mei 2022 om 05:05 UTC](https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913/2 "2022-05-13T05:05:37Z")

</div>

How much memory and swap do you have?

```
 free -h

```

---

<div class="post-metadata">

### Author: ![Caswal\_Parker](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@Caswal\_Parker](https://meta.discourse.org/u/Caswal_Parker)
#### Post date: [13 mei 2022 om 06:21 UTC](https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913/3 "2022-05-13T06:21:20Z")

</div>

```plaintext
              total used free shared buff/cache available
Mem: 14G 661M 5.3G 684K 8.4G 13G
Swap: 0B 0B 0B

```

---

<div class="post-metadata">

### Author: ![Caswal\_Parker](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@Caswal\_Parker](https://meta.discourse.org/u/Caswal_Parker)
#### Post date: [13 mei 2022 om 08:05 UTC](https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913/4 "2022-05-13T08:05:21Z")

</div>

Add 8g of swap, and watched the rebuild with top. Never touched swap. Tried to rebuild, still failed.

Checking up through the log (how/where is the output log?). There is a memory dump from a process crash. Still not sure where any logs are, but found the buffer limit in powershell and upped it. Log attached.

[ErrorLog.txt](https://meta.discourse.org/uploads/short-url/szw5W5uP1wCwPhJ5sOVWIZHmZh0.txt) (567.0 KB)

---

<div class="post-metadata">

### Author: ![Caswal\_Parker](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@Caswal\_Parker](https://meta.discourse.org/u/Caswal_Parker)
#### Post date: [13 mei 2022 om 08:11 UTC](https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913/5 "2022-05-13T08:11:14Z")

</div>

Looks like awesome-bbcodes is erroring? I’ll turn it off and try again.

Could we get in future versions, that if the rebuild errors, it gives the location of the rebuild log?

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [13 mei 2022 om 08:12 UTC](https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913/6 "2022-05-13T08:12:11Z")

</div>

You can run `./discourse-doctor` which generates a log of the rebuild and stores it in /tmp

An you’re correct, from the looks of it, looks like the awesome bbcode ~~theme component~~ plugin is erroring and causing rebuild to fail.

~~Try doing `./launcher start app` and disable the component then rebuild again.~~

---

<div class="post-metadata">

### Author: ![Caswal\_Parker](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@Caswal\_Parker](https://meta.discourse.org/u/Caswal_Parker)
#### Post date: [13 mei 2022 om 08:24 UTC](https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913/7 "2022-05-13T08:24:40Z")

</div>

Removed it from the app.yml and rebuilt. Appears to be good now. Trying a rebuild with discourse-custom-bbcodes

Thanks.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [13 mei 2022 om 08:29 UTC](https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913/8 "2022-05-13T08:29:01Z")

</div>

I didn’t realize it was a plugin. Good to know you figured it.

---

<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: [13 mei 2022 om 08:55 UTC](https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913/9 "2022-05-13T08:55:17Z")

</div>

Yeah, the cooking process and tests require the back-end.

---

<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: [12 juni 2022 om 08:55 UTC](https://meta.discourse.org/t/update-from-2-9-0-beta-3-to-beta-4-failed-site-is-down/226913/10 "2022-06-12T08:55:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
