# Rebuild goes into a loop regarding templates/import/phpbb3.template.yml

**URL:** https://meta.discourse.org/t/rebuild-goes-into-a-loop-regarding-templates-import-phpbb3-template-yml/371028
**Category:** Support
**Created:** [June 20, 2025, 1:28pm UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop-regarding-templates-import-phpbb3-template-yml/371028 "2025-06-20T13:28:07Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![GeoffSchultz](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@GeoffSchultz](https://meta.discourse.org/u/GeoffSchultz)
#### Post date: [June 20, 2025, 1:28pm UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop-regarding-templates-import-phpbb3-template-yml/371028/1 "2025-06-20T13:28:07Z")

</div>

I needed to change the SMTP password, so I followed the instructions at [How to modify email settings](https://meta.discourse.org/t/how-to-modify-email-settings/60202)

When I do the .launcher/rebuild/app, I get a loop of the following:

```plaintext
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Updating Launcher...
Updating 3715498..072c526
error: Your local changes to the following files would be overwritten by merge:
        templates/import/phpbb3.template.yml
Please commit your changes or stash them before you merge.
Aborting
failed to update
Launcher updated, restarting...

```

I found [Rebuild goes into a loop](https://meta.discourse.org/t/rebuild-goes-into-a-loop/339731), which is very similar, but not the same.

I must admit that other than doing upgrades when informed of them, I haven’t touched this since installing it a year ago. Any help would be appreciated.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [June 20, 2025, 1:57pm UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop-regarding-templates-import-phpbb3-template-yml/371028/2 "2025-06-20T13:57:29Z")

</div>

What if you tried

```plaintext
./launcher stop app

```

then

```plaintext
./launcher start app

```

? IIRC you don’t need to do a full rebuild if you just edit the SMTP details.

Would that work?

---

<div class="post-metadata">

### Author: ![GeoffSchultz](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@GeoffSchultz](https://meta.discourse.org/u/GeoffSchultz)
#### Post date: [June 20, 2025, 2:08pm UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop-regarding-templates-import-phpbb3-template-yml/371028/3 "2025-06-20T14:08:53Z")

</div>

Good idea, but it didn’t work. It still used the old SMTP credentials.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [June 20, 2025, 2:13pm UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop-regarding-templates-import-phpbb3-template-yml/371028/4 "2025-06-20T14:13:40Z")

</div>

My bad! It’s `./launcher destroy app`, not `./launcher stop app`. Could you give that a shot?

---

<div class="post-metadata">

### Author: ![GeoffSchultz](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@GeoffSchultz](https://meta.discourse.org/u/GeoffSchultz)
#### Post date: [June 20, 2025, 2:26pm UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop-regarding-templates-import-phpbb3-template-yml/371028/5 "2025-06-20T14:26:59Z")

</div>

That worked, but I feel like all that I’m doing is pushing off this problem until I have to rebuild it at some future date.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 20, 2025, 9:20pm UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop-regarding-templates-import-phpbb3-template-yml/371028/6 "2025-06-20T21:20:05Z")

</div>

I think someone had a similar problem in this topic, if it’s any help:

> [@Error \`rebuild app\` broken, at the last discourse upgrade](https://meta.discourse.org/t/error-rebuild-app-broken-at-the-last-discourse-upgrade/365089/7):
>
> Upgrade changed it automatically. Or it conflics with new source (nothing changed, just fake notice). /var/discourse# git status On branch main Your branch is behind 'origin/main' by 2 commits, and can be fast-forwarded. (use "git pull" to update your local branch) Changes not staged for commit: (use "git add \<file\>..." to update what will be committed) (use "git restore \<file\>..." to discard changes in working directory) modified: README.md modified: discourse-setup modified: i…

---

<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: [June 23, 2025, 3:57pm UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop-regarding-templates-import-phpbb3-template-yml/371028/7 "2025-06-23T15:57:46Z")

</div>

I think you need to

```plaintext
cd /var/discourse
git stash
git pull

```

---

<div class="post-metadata">

### Author: ![GeoffSchultz](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@GeoffSchultz](https://meta.discourse.org/u/GeoffSchultz)
#### Post date: [June 29, 2025, 8:13am UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop-regarding-templates-import-phpbb3-template-yml/371028/8 "2025-06-29T08:13:00Z")

</div>

> [@pfaffman](#):
>
> ```plaintext
> git stash
> git pull
> 
> ```

Thank you! This solved it.
