# Upgrade con errore FAILED TO BOOTSTRAP

**URL:** <https://meta.discourse.org/t/upgrade-failing-with-failed-to-bootstrap/218723>\
**Category:** Self-hosting\
**Created:** [18 Febbraio 2022, 7:49pm UTC](https://meta.discourse.org/t/upgrade-failing-with-failed-to-bootstrap/218723 "2022-02-18T19:49:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![burke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burke/32/4211_2.png) [@burke](https://meta.discourse.org/u/burke)\
**Post date:** [18 Febbraio 2022, 7:49pm UTC](https://meta.discourse.org/t/upgrade-failing-with-failed-to-bootstrap/218723/1 "2022-02-18T19:49:10Z")

</div>

Quando si tenta di aggiornare la nostra istanza Discourse, oggi ha richiesto un `git pull`, ma il comando `./launcher rebuild` sta fallendo con FAILED TO BOOTSTRAP e non vedo ancora da dove provenga il fallimento.

Stiamo eseguendo Discourse su Ubuntu 18.04. Tutto è andato bene fino all’aggiornamento di oggi.

Il nostro `app.yml` si chiama `web.yml`, quindi ho eseguito:

```bash
# git pull
# ./launcher rebuild web

```

La coda dell’output è simile a questa:

```plaintext
I, [2022-02-18T19:25:46.155360 #1] INFO -- : 
> cd /var/www/discourse &amp;&amp; su discourse -c 'bundle exec rake db:migrate'
Discourse requires Redis 6.2.0 or up
I, [2022-02-18T19:25:55.644442 #1] INFO -- : gem install sawyer -v 0.8.2 -i /var/www/discourse/plugins/discourse-github/gems/2.7.5 --no-document --ignore-dependencies --no-user-install
Successfully installed sawyer-0.8.2
1 gem installed
gem install octokit -v 4.21.0 -i /var/www/discourse/plugins/discourse-github/gems/2.7.5 --no-document --ignore-dependencies --no-user-install
Successfully installed octokit-4.21.0
1 gem installed
 
 
 
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse &amp;&amp; su discourse -c 'bundle exec rake db:migrate' failed with return #&lt;Process::Status: pid 1121 exit 1&gt;
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"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
85459e34ac2c6275dd1700de2c469124a9fded84800b8c6b4686c1c6b66824e2
**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.

```

[Output completo qui](https://pastebin.com/jBz6b0Mv)

Questi sono i nostri plugin attuali:

```plaintext
discourse/docker_manager.git
discourse/discourse-github.git
discourse/discourse-solved.git
discourse/discourse-data-explorer.git
discourse/discourse-akismet.git
discourse/discourse-spoiler-alert.git
cpradio/discourse-plugin-replygif.git
discourse/discourse-push-notifications.git
discourse/discourse-chat-integration

```

Quando analizzo l’output del launcher, non vedo l’errore che causa il fallimento. Avete suggerimenti su cosa potrebbe causare il fallimento?

Ho provato a ripristinare il [commit precedente](https://github.com/discourse/discourse_docker/commit/dc5b37c01131bfc42eb666ec2bc779433df309cb) per vedere se riuscivo a ricostruire con successo il nostro container web senza l’ultima modifica, ma continua a fallire con un fallimento di bootstrap. 😕

**Aggiornamento:**

Stavamo utilizzando una [configurazione di container separata](https://meta.discourse.org/t/linking-containers-for-a-multiple-container-setup/20867), che apparentemente [non è una buona idea](https://meta.discourse.org/t/upgrade-failing-with-failed-to-bootstrap/218723/5?u=burke), e il nostro container dati era obsoleto, eseguendo Redis v5.0.5 (Discourse attualmente richiede 6.2.0+). Quindi, abbiamo ricostruito il nostro container dati e poi i container web con successo. Dopo questa esperienza, probabilmente abbandoneremo l’approccio multi-container in futuro.

Grazie a @pfaffman per i link incredibilmente utili!

---

_[View the full topic](https://meta.discourse.org/t/upgrade-failing-with-failed-to-bootstrap/218723)._
