# Urgent: site down after rebuild

**URL:** <https://meta.discourse.org/t/urgent-site-down-after-rebuild/113529>\
**Category:** Product Support\
**Created:** [05.Апрель.2019 10:03:16 UTC](https://meta.discourse.org/t/urgent-site-down-after-rebuild/113529 "2019-04-05T10:03:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)\
**Post date:** [05.Апрель.2019 10:03:16 UTC](https://meta.discourse.org/t/urgent-site-down-after-rebuild/113529/1 "2019-04-05T10:03:16Z")

</div>

Hi,

I urgently need some help - I did an upgrade from /admin/upgrade today, but the process never finished. I then restarted Discourse and tried a ./launcher rebuild app from the command line, but I keep getting the following error:

```2019-04-05
	SET first_unread_at = u.created_at
	FROM users u
	WHERE u.id = us.user_id
	
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Index name 'index_topics_on_updated_at_public' on table 'topics' already exists

```

The problem remains after disabling all plugins. ~~Our site is down right now~~ , I’d appreciate some help to diagnose and fix this. Thanks!

**Update** : I found that I could restart Discourse with `./launcher start app`, but I’m not entirely sure of the current state of my instance.

**Update** : After starting the app, I went into psql and deleted the index that was mentioned in the error. After a rebuild, the exact same error came up again.

---

_[View the full topic](https://meta.discourse.org/t/urgent-site-down-after-rebuild/113529)._
