# Remap command issues

**URL:** https://meta.discourse.org/t/remap-command-issues/281731
**Category:** Self-hosting
**Created:** [October 10, 2023, 7:55am UTC](https://meta.discourse.org/t/remap-command-issues/281731 "2023-10-10T07:55:04Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Krusty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/krusty/32/300720_2.png) [@Krusty](https://meta.discourse.org/u/Krusty)
#### Post date: [October 10, 2023, 7:55am UTC](https://meta.discourse.org/t/remap-command-issues/281731/1 "2023-10-10T07:55:04Z")

</div>

Hi, I am moving Hardwaremana.community to [hardwaremana.net](http://hardwaremana.net)  
I have updated the DNS, email and app.yml to new domain  
how can I run the discourse remap command  
it shows,

> discourse:command not found

rake is also not working for me to remap the site

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [October 10, 2023, 8:05am UTC](https://meta.discourse.org/t/remap-command-issues/281731/2 "2023-10-10T08:05:38Z")

</div>

Did you follow the guide correctly?

You have to be running the command inside the discourse docker container

```plaintext
./launcher enter app

```

> [@Change the domain name or rename your Discourse](https://meta.discourse.org/t/change-the-domain-name-or-rename-your-discourse/16098):
>
> bookmark This guide explains how-to change the domain name of your Discourse site, and includes information about setting up DNS changes, editing configuration files, updating site settings, and correcting social logins and post content to reflect your new domain name. warning This guide is for self-hosted Discourse instances that were installed using our [installation guide on GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md). If you are [hosted by Discourse](https://www.discourse.org/pricing), please see [Configure your domain name for hosted Discourse](https://meta.discourse.org/t/configure-your-domain-name-for-hosted-discourse/21827) for specific …

---

<div class="post-metadata">

### Author: ![Krusty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/krusty/32/300720_2.png) [@Krusty](https://meta.discourse.org/u/Krusty)
#### Post date: [October 10, 2023, 8:52am UTC](https://meta.discourse.org/t/remap-command-issues/281731/3 "2023-10-10T08:52:15Z")

</div>

Yes, I followed the instruction

```plaintext
./launcher enter app

```

download the files of discourse, and then I type discourse remap, bundle exec rake & rake rebake command it shows

```plaintext
discourse: command not found

```

```plaintext
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_integration.rb:331:in `block in replace_bin_path': can't find executable rake for gem rake. rake is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
        from /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_integration.rb:359:in `block in replace_bin_path'
        from /usr/bin/rake:25:in `<main>'

```

```plaintext
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)

```

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [October 10, 2023, 9:02am UTC](https://meta.discourse.org/t/remap-command-issues/281731/4 "2023-10-10T09:02:26Z")

</div>

I believe You’re not entering the app somehow. Could you please share a screenshot of what it shows after the downloading etc is complete once do

`./launcher enter app`

---

<div class="post-metadata">

### Author: ![Krusty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/krusty/32/300720_2.png) [@Krusty](https://meta.discourse.org/u/Krusty)
#### Post date: [October 10, 2023, 9:24am UTC](https://meta.discourse.org/t/remap-command-issues/281731/5 "2023-10-10T09:24:04Z")

</div>

sure

 ![WindowsTerminal_ycrs23Fvb8](https://global.discourse-cdn.com/meta/original/4X/a/a/f/aaf28e6c16fd78124ad77bcdd62609d42e507c7a.png)

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [October 10, 2023, 10:38am UTC](https://meta.discourse.org/t/remap-command-issues/281731/6 "2023-10-10T10:38:34Z")

</div>

You’re out of disk space and hence it didn’t really let you in the docker container.

You’ll need probably have to increase the disk size on your server.

---

<div class="post-metadata">

### Author: ![Krusty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/krusty/32/300720_2.png) [@Krusty](https://meta.discourse.org/u/Krusty)
#### Post date: [October 10, 2023, 11:05am UTC](https://meta.discourse.org/t/remap-command-issues/281731/7 "2023-10-10T11:05:57Z")

</div>

ohk will reduce things down and then try again

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 9, 2023, 11:06am UTC](https://meta.discourse.org/t/remap-command-issues/281731/8 "2023-11-09T11:06:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
