# Can custom CSS cause an error when trying to upgrade?

**URL:** <https://meta.discourse.org/t/can-custom-css-cause-an-error-when-trying-to-upgrade/110867>\
**Category:** Self-hosting\
**Tags:** multisite\
**Created:** [March 6, 2019, 2:39pm UTC](https://meta.discourse.org/t/can-custom-css-cause-an-error-when-trying-to-upgrade/110867 "2019-03-06T14:39:22Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [March 7, 2019, 2:21pm UTC](https://meta.discourse.org/t/can-custom-css-cause-an-error-when-trying-to-upgrade/110867/6 "2019-03-07T14:21:11Z")

</div>

Great, thanks for the extra info. I was trying to work out why nobody else has run into this issue. Multisite installations are fairly rare, and different people run them in different ways. The root cause is that you are running the `assets:precompile` step before you migrate all the multisite databases.

I’ve [added a fix](https://github.com/discourse/discourse/commit/bc52437153adbded95e5a61dc63ee8bd2bf3cfda) for the issue - please can you try rebuilding again?

---

_[View the full topic](https://meta.discourse.org/t/can-custom-css-cause-an-error-when-trying-to-upgrade/110867)._
