# Il ricostruzione entra in un ciclo

**URL:** <https://meta.discourse.org/t/rebuild-goes-into-a-loop/339731>\
**Category:** Self-hosting\
**Created:** [2 Dicembre 2024, 4:47am UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop/339731 "2024-12-02T04:47:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![lilacbull](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilacbull/32/437639_2.png) [@lilacbull](https://meta.discourse.org/u/lilacbull)\
**Post date:** [2 Dicembre 2024, 4:47am UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop/339731/1 "2024-12-02T04:47:26Z")

</div>

Ciao, mi scuso in anticipo perché sono relativamente nuovo a Discourse.

Quando vado nella directory /var/discourse/ per eseguire ./launcher rebuild app, ho il seguente loop postato sotto.

Finora l’interfaccia grafica va bene e posso eseguire aggiornamenti lì.

Ho provato alcune ricerche su Google e ho trovato questo thread che delinea una soluzione. La mia domanda è se posso anche usare i comandi git stash e git pull per risolvere il mio problema con la riga di comando?

> [@Trying to update an old staging instance getting errors about repo changes](https://meta.discourse.org/t/trying-to-update-an-old-staging-instance-getting-errors-about-repo-changes/91717):
>
> So I am in the process of upgrading an old staging instance so that I can do some testing of changes before rolling out to production, and when I run ./launcher rebuild app it goes through the process of downloading latest image, etc. - and then it gives me these errors about doing git pull as part of the rebuild process: $ ./launcher rebuild app Ensuring launcher is up to date Fetching origin Updating Launcher Updating 488fd91..c11d5b0 error: Your local changes to the following files would be …

> [@Falco](#):
>
> ```plaintext
> cd /var/discourse
> git stash
> git pull
> ./launcher rebuild
> 
> ```

> Ensuring launcher is up to date
> 
> Updating Launcher…
> 
> Updating a1d8d0b..69d7558
> 
> error: Your local changes to the following files would be overwritten by merge:
> 
> templates/web.ssl.template.yml
> 
> Please commit your changes or stash them before you merge.
> 
> Aborting
> 
> failed to update
> 
> Launcher updated, restarting…
> 
> x86\_64 arch detected.
> 
> Ensuring launcher is up to date
> 
> Updating Launcher…
> 
> Updating a1d8d0b..69d7558
> 
> error: Your local changes to the following files would be overwritten by merge:
> 
> templates/web.ssl.template.yml
> 
> Please commit your changes or stash them before you merge.
> 
> Aborting
> 
> failed to update
> 
> Launcher updated, restarting…

---

_[View the full topic](https://meta.discourse.org/t/rebuild-goes-into-a-loop/339731)._
