# Error after installing plugin, \*\* failed to bootstrap \*\*

**URL:** https://meta.discourse.org/t/failed-to-bootstrap/393174
**Category:** Self-hosting
**Created:** [January 11, 2026, 9:28am UTC](https://meta.discourse.org/t/failed-to-bootstrap/393174 "2026-01-11T09:28:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![xu2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xu2/32/539078_2.png) [@xu2](https://meta.discourse.org/u/xu2)
#### Post date: [January 11, 2026, 9:28am UTC](https://meta.discourse.org/t/failed-to-bootstrap/393174/1 "2026-01-11T09:28:28Z")

</div>

I tried installing a few plugins this afternoon, but I got this error during the rebuild:

```plaintext
2026-01-11 09:16:55.588 UTC [45] LOG: received fast shutdown request
I, [2026-01-11T09:16:55.588399 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 112
112:signal-handler (1768123015) Received SIGTERM scheduling shutdown…
2026-01-11 09:16:55.590 UTC [45] LOG: aborting any active transactions
2026-01-11 09:16:55.599 UTC [45] LOG: background worker “logical replication launcher” (PID 59) exited with exit code 1
2026-01-11 09:16:55.599 UTC [54] LOG: shutting down
2026-01-11 09:16:55.600 UTC [54] LOG: checkpoint starting: shutdown immediate
2026-01-11 09:16:55.610 UTC [54] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.002 s, total=0.011 s; sync files=3, longest=0.001 s, average=0.001 s; distance=4 kB, estimate=4 kB
2026-01-11 09:16:55.616 UTC [45] LOG: database system is shut down
112:M 11 Jan 2026 09:16:55.624 # User requested shutdown…
112:M 11 Jan 2026 09:16:55.624 * Saving the final RDB snapshot before exiting.
112:M 11 Jan 2026 09:16:55.875 * DB saved on disk
112:M 11 Jan 2026 09:16:55.876 # Redis is now ready to exit, bye bye…
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:235:in `block (2 levels) in run_commands': Invalid run command cd (SyntaxError) from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:223:in `each’
from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:223:in `block in run_commands' from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:222:in `each’
from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:222:in `run_commands' from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:203:in `run’
from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/cli.rb:96:in `run' from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/bin/pups:9:in `<top (required)>’
from /usr/local/bin/pups:25:in `load' from /usr/local/bin/pups:25:in `<main>’
bootstrap failed with exit code 1
**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.
fbf8d4dba918973394423da80fc1708e98313c0e4c5f696998355bae3ea72ae5

```

How do I fix this?

---

<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: [January 11, 2026, 9:33am UTC](https://meta.discourse.org/t/failed-to-bootstrap/393174/2 "2026-01-11T09:33:43Z")

</div>

> [@xu2](#):
>
> please scroll up and look for earlier error messages, there may be more than one.

Can you share full log?

---

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [January 11, 2026, 10:46am UTC](https://meta.discourse.org/t/failed-to-bootstrap/393174/3 "2026-01-11T10:46:16Z")

</div>

Check the exact syntax and indentation of your yml file - it’s probably that. yml is very very fragile.

---

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [January 11, 2026, 10:54am UTC](https://meta.discourse.org/t/failed-to-bootstrap/393174/4 "2026-01-11T10:54:00Z")

</div>

Perhaps a good idea to share your yml file here, but remove sensitive information. The last two sections will probably be enough. Use the preformatted text gadget so it appears like this:

```plaintext
## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git

## Any custom commands to run after building
run:
  - exec: echo "Beginning of custom commands"
  ## If you want to set the 'From' email address for your first registration, uncomment and change:
  ## After getting the first signup email, re-comment the line. It only needs to run once.
  #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
  - exec: echo "End of custom commands"

```

---

<div class="post-metadata">

### Author: ![xu2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xu2/32/539078_2.png) [@xu2](https://meta.discourse.org/u/xu2)
#### Post date: [January 11, 2026, 11:08am UTC](https://meta.discourse.org/t/failed-to-bootstrap/393174/5 "2026-01-11T11:08:30Z")

</div>

An error has been found! Thank you! There is an extra character on the last line!

---

<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: [January 11, 2026, 3:29pm UTC](https://meta.discourse.org/t/failed-to-bootstrap/393174/6 "2026-01-11T15:29:16Z")

</div>


