# New Install Bootstrap Fail in 'bundle exec rake themes:update assets:precompile'

**URL:** <https://meta.discourse.org/t/new-install-bootstrap-fail-in-bundle-exec-rake-themes-update-assets-precompile/296136>\
**Category:** Self-hosting\
**Created:** [February 21, 2024, 3:34am UTC](https://meta.discourse.org/t/new-install-bootstrap-fail-in-bundle-exec-rake-themes-update-assets-precompile/296136 "2024-02-21T03:34:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![gren](https://avatars.discourse-cdn.com/v4/letter/g/ce7236/32.png) [@gren](https://meta.discourse.org/u/gren)\
**Post date:** [February 21, 2024, 3:34am UTC](https://meta.discourse.org/t/new-install-bootstrap-fail-in-bundle-exec-rake-themes-update-assets-precompile/296136/1 "2024-02-21T03:34:42Z")

</div>

I have been trying to install discourse for 10 hours straight with little luck. I initially had a 1Gb Digital Ocean droplet but setup was taking 30-40 minutes and sometimes disconnecting. I upgraded to a 2Gb droplet and rebuilt it from the base Ubuntu 22.04 (LTS) image. I’m following directions from [discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md) .

Discourse Doctor just tries to rebuild and does the same thing. I have tried apt update and apt upgrade. No matter what I end up with this error.

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 3339 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132: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 1
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.

```

I do also get the Node.js warning right after the “update assets:recompile” line, so I believe it’s related (and I’ve seen other threads mention this).

```plaintext
'bundle exec rake themes:update assets:precompile'
Node.js heap_size_limit (1006.0) is less than 2048MB. Setting --max-old-space-size=2048.

```

I am not a web programmer which is why I went with Digital Ocean so I can follow the most common discourse tutorials. I have no idea why this seems so much harder than it should be. I’d be very grateful if anybody had some insight. Thanks.

EDIT:

I SOLVED this below with a WORKAROUND: I didn’t enter a MaxMind key and the setup completes fine.

---

_[View the full topic](https://meta.discourse.org/t/new-install-bootstrap-fail-in-bundle-exec-rake-themes-update-assets-precompile/296136)._
