명령줄에서 백업을 복원하려고 할 때 "discourse: command not found" 오류 발생

이것이 여전히 작동하나요? discourse: command not found라는 오류가 발생합니다.

안녕하세요 john :slight_smile:

discourse 명령을 실행하기 전에 ./launcher enter app을 실행하셨나요?

root@Canapin:~# cd /var/discourse/
root@Canapin:/var/discourse# ./launcher enter app
x86_64 arch detected.
root@Canapin-app:/var/www/discourse# discourse
Commands:
  discourse backup                            # Backup a discourse forum
  discourse disable_readonly                  # Disable the readonly mode
  discourse disable_restore                   # Forbid restore operations
  discourse enable_readonly                   # Enable the readonly mode
  discourse enable_restore                    # Allow restore operations
  discourse export                            # Backup a Discourse forum
  discourse export_categories                 # Export categories, all its to...
  discourse export_category                   # Export a category, all its to...
  discourse export_topics                     # Export topics and all users w...
  discourse help [COMMAND]                    # Describe available commands o...
  discourse import                            # Restore a Discourse backup
  discourse import_category                   # Import a category, its topics...
  discourse import_topics                     # Import topics and their users...
  discourse remap [--global,--regex] FROM TO  # Remap a string sequence acros...
  discourse request_refresh                   # Ask all clients to refresh th...
  discourse restore                           # Restore a Discourse backup
  discourse rollback                          # Rollback to the previous work...

이것이 제 문제를 모두 해결하는 데 정말 큰 도움이 되었습니다.

이제 재구축(rebuild)을 할 수 없는 문제가 생겼습니다. ./launcher rebuild app을 실행할 수 있도록 어떻게 종료할 수 있을까요?

위 게시물에서 해결책을 찾았습니다. exit를 사용하시면 됩니다.