# Rebuild fails with theme/version warnings after adding chat plugin (still fails after removing)

**URL:** <https://meta.discourse.org/t/rebuild-fails-with-theme-version-warnings-after-adding-chat-plugin-still-fails-after-removing/215287>\
**Category:** Product Support\
**Created:** [January 19, 2022, 2:12am UTC](https://meta.discourse.org/t/rebuild-fails-with-theme-version-warnings-after-adding-chat-plugin-still-fails-after-removing/215287 "2022-01-19T02:12:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![oshyan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oshyan/32/212644_2.png) [@oshyan](https://meta.discourse.org/u/oshyan)\
**Post date:** [January 19, 2022, 6:14pm UTC](https://meta.discourse.org/t/rebuild-fails-with-theme-version-warnings-after-adding-chat-plugin-still-fails-after-removing/215287/2 "2022-01-19T18:14:22Z")

</div>

OK, this is now resolved. I rebuilt one more time, got similar errors, but the app did come up and I was able to access the standard admin area, remove problematic Theme Components (the alt logo one already mentioned in other threads was also implicated in my case), and then finally a rebuild completed without errors. I even got the Chat plugin installed after that, so indeed the issue seems unrelated to it.

Here’s my best guess as to what occurred:

- I setup Discourse in Digital Ocean using their standard Discourse image
- I am migrating from another host, so I did a backup of the existing Discourse site
- That backup had old/non-updated themes and theme components in it
- When I restored the backup to the new server, the restore worked
- When I attempted to install the chat plugin, this is when the issue started to occur, upon manual rebuild
- I removed the plugin (commented out in app.yml) and tried to rebuild, but continued getting errors
- I gained access, whether by chance, or simply from greater patience (see below) to the web admin
- After removing non-updated themes and theme components, and updating the rest, it works

So what I appear to have learned from this is that Theme Components with bugs, even (it seems) incorrect max version values, can break Discourse, at least a bit. I wish that such an issue would not cause so seemingly significant of a failure. But I suspect that I may also have made some assumptions in this process so that it seemed like the app just wouldn’t come back up without a rebuild, when it may actually have just been taking a while to start or something. That’s the only explanation I have for why it seemed to come back up upon revisiting it today, after a rebuild that showed similar/same errors. I may just not have been patient enough and Discourse may not have been so truly broken as it seemed…

Still trying to get the hang of how Discourse is hosted and managed. Apologies for my occasional flailing and confusion. 😋

---

_[View the full topic](https://meta.discourse.org/t/rebuild-fails-with-theme-version-warnings-after-adding-chat-plugin-still-fails-after-removing/215287)._
