# Unable to rebuild discourse

**URL:** <https://meta.discourse.org/t/unable-to-rebuild-discourse/344214>\
**Category:** Product Support\
**Created:** [December 24, 2024, 2:33pm UTC](https://meta.discourse.org/t/unable-to-rebuild-discourse/344214 "2024-12-24T14:33:01Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![amsaal](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@amsaal](https://meta.discourse.org/u/amsaal)\
**Post date:** [December 24, 2024, 4:02pm UTC](https://meta.discourse.org/t/unable-to-rebuild-discourse/344214/7 "2024-12-24T16:02:21Z")

</div>

i have same result

root@amsaal:/var/discourse# cat .git/config  
[core]  
repositoryformatversion = 0  
filemode = true  
bare = false  
logallrefupdates = true  
[remote “origin”]  
url = [GitHub - discourse/discourse\_docker: A Docker image for Discourse · GitHub](https://github.com/discourse/discourse_docker.git)  
fetch = +refs/heads/_:refs/remotes/origin/_  
[branch “main”]  
remote = origin  
merge = refs/heads/main

And git status

root@amsaal:/var/discourse# git status  
On branch main  
Your branch is based on ‘origin/main’, but the upstream is gone.  
(use “git branch --unset-upstream” to fixup)

Changes not staged for commit:  
(use “git add …” to update what will be committed)  
(use “git restore …” to discard changes in working directory)  
modified: .github/workflows/build.yml  
modified: LICENSE  
modified: README.md  
modified: templates/postgres.13.template.yml  
modified: templates/postgres.15.template.yml  
modified: templates/postgres.template.yml  
modified: templates/web.ssl.template.yml  
modified: templates/web.template.yml

Untracked files:  
(use “git add …” to include in what will be committed)  
rebuild.log

no changes added to commit (use “git add” and/or “git commit -a”)

---

_[View the full topic](https://meta.discourse.org/t/unable-to-rebuild-discourse/344214)._
