Remap command issues

AI-generated summary

In a discussion titled “Remap command issues” under the Installation category, Krusty is attempting to migrate their Discourse site from hardwaremana.community to hardwaremana.net and encounters errors when trying to run discourse remap or rake commands. They receive “command not found” and Gemfile-related errors, indicating the commands are not available in their environment. itsbhanusharma advises running the commands inside the Discourse Docker container using ./launcher enter app, referencing the official guide here. Krusty confirms following the instructions but still faces errors. After Krusty shares a screenshot of the terminal, itsbhanusharma identifies the root cause: insufficient disk space preventing entry into the Docker container. Krusty acknowledges the issue and plans to free up space before retrying. The core issue is environmental — not command syntax or configuration — but system resource limitation preventing proper container access.

Hi, I am moving Hardwaremana.community to 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

Did you follow the guide correctly?

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

./launcher enter app

Yes, I followed the instruction

./launcher enter app

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

discourse: command not found
/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>'
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)

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

sure

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.

ohk will reduce things down and then try again