# Upgrade from within China fails due to git issues

**URL:** <https://meta.discourse.org/t/upgrade-from-within-china-fails-due-to-git-issues/198799>\
**Category:** Self-hosting\
**Created:** [August 1, 2021, 7:02am UTC](https://meta.discourse.org/t/upgrade-from-within-china-fails-due-to-git-issues/198799 "2021-08-01T07:02:02Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![leoniscsem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leoniscsem/32/116762_2.png) [@leoniscsem](https://meta.discourse.org/u/leoniscsem)\
**Post date:** [August 3, 2021, 7:33am UTC](https://meta.discourse.org/t/upgrade-from-within-china-fails-due-to-git-issues/198799/15 "2021-08-03T07:33:41Z")

</div>

The redis-server was just another issue, that had added complexity to the failure of rebuilding. It was kind of a loop: The external redis configuration had changed, while the pre-rebuild app state needed that specific redis-config to start. It couldn’t rebuild though, as the theme component fetching didn’t work.  
I was lucky though after 20-20 rebuild runs and finally the theme components updates got fetched.

In the overall app design context, it would be nice to have documentation on how to rebuild in a “[safe mode](https://meta.discourse.org/t/53504?silent=true)”, i.e. rebuilding the app independently from plugins or themes. I couldn’t find a hook to process the theme components, or how to deactivate (in contrast do uninstall) plugins either, which was a bummer.

Edit: Whoa, now I see the link to the [safe mode](https://meta.discourse.org/t/53504?silent=true). I couldn’t find that before (no Google for us in China, try to find _anything_ relevant with Bing..). Gosh, that would have helped a lot!

---

_[View the full topic](https://meta.discourse.org/t/upgrade-from-within-china-fails-due-to-git-issues/198799)._
