# \`discourse remap\` failed

**URL:** <https://meta.discourse.org/t/discourse-remap-failed/144763>\
**Category:** Self-hosting\
**Created:** [March 19, 2020, 12:38am UTC](https://meta.discourse.org/t/discourse-remap-failed/144763 "2020-03-19T00:38:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Post date:** [March 19, 2020, 4:23am UTC](https://meta.discourse.org/t/discourse-remap-failed/144763/5 "2020-03-19T04:23:23Z")

</div>

Thanks Joshua.

Any ideas what the numbers signify? Number of changes?

What is the recommended way forward now? Fix the unique constraint error then reverse (go from `forum.name.com` back to `name.com`, then back again) or do something else?

**Edit** : done

I entered the app and Rails console then deleted the `TopicLink` in question then went from `forum.name.com` back to `name.com`, then back again.

```plaintext
backup_metadata=1
categories=6
email_logs=318
email_tokens=2
groups=1
incoming_domains=3
incoming_emails=3
javascript_caches=4
post_custom_fields=277
post_revisions=140
posts=444
post_search_data=51
search_logs=10
site_settings=5
stylesheet_cache=564
theme_fields=9
theme_settings=3
topic_links=281
topics=30
topic_search_data=8
translation_overrides=1
uploads=54
user_auth_token_logs=48
user_emails=2
user_histories=189
Done

```

---

_[View the full topic](https://meta.discourse.org/t/discourse-remap-failed/144763)._
