Rebuild komt in een lus met betrekking tot templates/import/phpbb3.template.yml

AI-generated summary

GeoffSchultz encountered a loop during ./launcher rebuild app due to local changes in templates/import/phpbb3.template.yml, preventing the update from completing. He had modified SMTP settings and followed standard instructions but hit this git conflict. NateDhaliwal first suggested restarting the app, which didn’t resolve the issue since SMTP credentials weren’t refreshed. He then suggested ./launcher destroy app, which worked for GeoffSchultz, though Geoff expressed concern that the underlying issue might resurface during future rebuilds. JammyDodger pointed to a similar past thread for reference. Finally, pfaffman provided the correct fix: running git stash followed by git pull inside /var/discourse, which resolved the conflict and allowed the rebuild to proceed. Geoff confirmed this solution worked here. The root cause was uncommitted local changes blocking the launcher’s git update during rebuild — a common issue when config files are manually edited outside of version control.

I needed to change the SMTP password, so I followed the instructions at How to modify email settings

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

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, 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.

Wat als je het probeert met

./launcher stop app

en daarna

./launcher start app

? Ik meen me te herinneren dat je geen volledige herbouw nodig hebt als je alleen de SMTP-gegevens aanpast.

Zou dat werken?

Goed idee, maar het werkte niet. Het gebruikte nog steeds de oude SMTP-gegevens.

Mijn fout! Het is ./launcher destroy app, niet ./launcher stop app. Kun je dat eens proberen?

Dat werkte, maar ik heb het gevoel dat ik dit probleem alleen maar vooruitschuif totdat ik het op een later tijdstip opnieuw moet bouwen.

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

Ik denk dat je moet

cd /var/discourse
git stash
git pull

Thank you! This solved it.